1 /* -*- Mode: C; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 3 -*- */ 2 3 /* 4 * GImageView 5 * Copyright (C) 2001 Takuro Ashie 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 * 21 * $Id: gimv_slideshow.h,v 1.1 2003/06/26 15:46:06 makeinu Exp $ 22 */ 23 24 #ifndef __GIMV_SLIDESHOW_H__ 25 #define __GIMV_SLIDESHOW_H__ 26 27 #include "gimageview.h" 28 29 30 typedef enum { 31 GimvSlideShowWinModeFullScreen, 32 GimvSlideShowWinModeMaximize, 33 GimvSlideShowWinModeNormal 34 } GimvSlideShowWinMode; 35 36 37 struct GimvSlideShow_Tag 38 { 39 GimvImageWin *iw; 40 GList *filelist; 41 GList *current; 42 gboolean repeat; 43 }; 44 45 46 GimvSlideShow *gimv_slideshow_new (void); 47 GimvSlideShow *gimv_slideshow_new_with_filelist (GList *filelist, 48 GList *start); 49 void gimv_slideshow_delete (GimvSlideShow *slideshow); 50 GimvImageWin *gimv_slideshow_open_window (GimvSlideShow *slideshow); 51 void gimv_slideshow_play (GimvSlideShow *slideshow); 52 void gimv_slideshow_stop (GimvSlideShow *slideshow); 53 void gimv_slideshow_set_interval (GimvSlideShow *slideshow, 54 guint interval); /* [msec] */ 55 56 #endif /* __GIMV_SLIDESHOW_H__ */ 57