annotate src/fullscreen.h @ 459:b88948eff0fa

Add compat.c to POTFILES
author zas_
date Mon, 21 Apr 2008 10:10:23 +0000
parents ddabc4873a3f
children a05c72927e23
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
196
f6e307c7bad6 rename GQview -> Geeqie over the code
nadvornik
parents: 9
diff changeset
2 * Geeqie
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13 #ifndef FULLSCREEN_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define FULLSCREEN_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16 #define FULL_SCREEN_HIDE_MOUSE_DELAY 3000
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17 #define FULL_SCREEN_BUSY_MOUSE_DELAY 200
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18
354
5c82855feba7 Add a button to reset fullscreen info string to default value.
zas_
parents: 208
diff changeset
19 void set_default_fullscreen_info(ConfOptions *options);
5c82855feba7 Add a button to reset fullscreen info string to default value.
zas_
parents: 208
diff changeset
20
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 FullScreenData *fullscreen_start(GtkWidget *window, ImageWindow *imd,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 void (*stop_func)(FullScreenData *, gpointer), gpointer stop_data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24 void fullscreen_stop(FullScreenData *fs);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 /* screen numbers for fullscreen_prefs are as follows:
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 * 0 use default display size
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 * 101 screen 0, monitor 0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 * 102 screen 0, monitor 1
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 * 201 screen 1, monitor 0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 typedef struct _ScreenData ScreenData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 struct _ScreenData {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 gint number;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 gchar *description;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 gint x;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 gint y;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 gint width;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 gint height;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43 };
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 GList *fullscreen_prefs_list(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 void fullscreen_prefs_list_free(GList *list);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49 ScreenData *fullscreen_prefs_list_find(GList *list, gint screen);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
51 void fullscreen_prefs_get_geometry(gint screen, GtkWidget *widget, gint *x, gint *y, gint *width, gint *height,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52 GdkScreen **dest_screen, gint *same_region);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
53
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
54 gint fullscreen_prefs_find_screen_for_widget(GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
55
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 GtkWidget *fullscreen_prefs_selection_new(const gchar *text, gint *screen_value, gint *above_value);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
57
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
59 #endif