gtk-app: clean up comments around window creation
[sparrow.git] / gtk-app.h
blob6955c929083f474a88bd00743f0e9a76e9f46212
1 #define WIDTH 800
2 #define HEIGHT 600
3 #define FPS 20
5 static gboolean option_fullscreen = FALSE;
6 static gint option_debug = -1;
7 static gint option_screens = 1;
8 static char **option_reload = NULL;
9 static char **option_save = NULL;
11 //static gboolean option_overlay = FALSE;
13 #define MAX_SCREENS 2
15 typedef struct windows_s {
16 int realised;
17 int requested;
18 GstElement *sinks[MAX_SCREENS];
19 XID xwindows[MAX_SCREENS];
20 GtkWidget *gtk_windows[MAX_SCREENS];
21 } windows_t;
24 #define COMMON_CAPS \
25 "framerate", GST_TYPE_FRACTION, FPS, 1, \
26 "width", G_TYPE_INT, WIDTH, \
27 "height", G_TYPE_INT, HEIGHT, \
28 NULL