annotate src/fullscreen.h @ 757:eb2e2dac712d

Tidy up: indentation fixes, typo fixes, ...
author zas_
date Sun, 25 May 2008 20:17:07 +0000
parents 48c8e49b571c
children 1646720364cf
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
475
48c8e49b571c updated copyright in source files
nadvornik
parents: 469
diff changeset
4 * Copyright (C) 2008 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * 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
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef FULLSCREEN_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define FULLSCREEN_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17 #define FULL_SCREEN_HIDE_MOUSE_DELAY 3000
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #define FULL_SCREEN_BUSY_MOUSE_DELAY 200
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21 FullScreenData *fullscreen_start(GtkWidget *window, ImageWindow *imd,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22 void (*stop_func)(FullScreenData *, gpointer), gpointer stop_data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 void fullscreen_stop(FullScreenData *fs);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
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 /* screen numbers for fullscreen_prefs are as follows:
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 * 0 use default display size
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 * 101 screen 0, monitor 0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 * 102 screen 0, monitor 1
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 * 201 screen 1, monitor 0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 */
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 typedef struct _ScreenData ScreenData;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 struct _ScreenData {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 gint number;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 gchar *description;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 gint x;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 gint y;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 gint width;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 gint height;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 };
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 GList *fullscreen_prefs_list(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 void fullscreen_prefs_list_free(GList *list);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48 ScreenData *fullscreen_prefs_list_find(GList *list, gint screen);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50 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
51 GdkScreen **dest_screen, gint *same_region);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
53 gint fullscreen_prefs_find_screen_for_widget(GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
54
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
55 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
56
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 #endif