Mercurial > geeqie
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 |
rev | line source |
---|---|
9 | 1 /* |
196 | 2 * Geeqie |
9 | 3 * (C) 2004 John Ellis |
4 * | |
5 * Author: John Ellis | |
6 * | |
7 * This software is released under the GNU General Public License (GNU GPL). | |
8 * Please read the included file COPYING for more information. | |
9 * This software comes with no warranty of any kind, use at your own risk! | |
10 */ | |
11 | |
12 | |
13 #ifndef FULLSCREEN_H | |
14 #define FULLSCREEN_H | |
15 | |
16 #define FULL_SCREEN_HIDE_MOUSE_DELAY 3000 | |
17 #define FULL_SCREEN_BUSY_MOUSE_DELAY 200 | |
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 | 21 |
22 FullScreenData *fullscreen_start(GtkWidget *window, ImageWindow *imd, | |
23 void (*stop_func)(FullScreenData *, gpointer), gpointer stop_data); | |
24 void fullscreen_stop(FullScreenData *fs); | |
25 | |
26 | |
27 /* screen numbers for fullscreen_prefs are as follows: | |
28 * 0 use default display size | |
29 * 101 screen 0, monitor 0 | |
30 * 102 screen 0, monitor 1 | |
31 * 201 screen 1, monitor 0 | |
32 */ | |
33 | |
34 | |
35 typedef struct _ScreenData ScreenData; | |
36 struct _ScreenData { | |
37 gint number; | |
38 gchar *description; | |
39 gint x; | |
40 gint y; | |
41 gint width; | |
42 gint height; | |
43 }; | |
44 | |
45 | |
46 GList *fullscreen_prefs_list(void); | |
47 void fullscreen_prefs_list_free(GList *list); | |
48 | |
49 ScreenData *fullscreen_prefs_list_find(GList *list, gint screen); | |
50 | |
51 void fullscreen_prefs_get_geometry(gint screen, GtkWidget *widget, gint *x, gint *y, gint *width, gint *height, | |
52 GdkScreen **dest_screen, gint *same_region); | |
53 | |
54 gint fullscreen_prefs_find_screen_for_widget(GtkWidget *widget); | |
55 | |
56 GtkWidget *fullscreen_prefs_selection_new(const gchar *text, gint *screen_value, gint *above_value); | |
57 | |
58 | |
59 #endif |