add --first-screen option to gtk-app
[sparrow.git] / gtk-app.h
blob3914af57d343a54ea3146019dc6717f99324d900
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 guint option_first_screen = 0;
9 static char **option_reload = NULL;
10 static char **option_save = NULL;
12 //static gboolean option_overlay = FALSE;
14 #define MAX_SCREENS 2
16 typedef struct windows_s {
17 int realised;
18 int requested;
19 GstElement *sinks[MAX_SCREENS];
20 XID xwindows[MAX_SCREENS];
21 GtkWidget *gtk_windows[MAX_SCREENS];
22 } windows_t;
25 #define COMMON_CAPS \
26 "framerate", GST_TYPE_FRACTION, FPS, 1, \
27 "width", G_TYPE_INT, WIDTH, \
28 "height", G_TYPE_INT, HEIGHT, \
29 NULL