[svn r551] GMyth API changes (GObject fixes and added inheritance).
1 #ifndef MMYTH_UICOMMON_H_
2 #define MMYTH_UICOMMON_H_
10 #define BUTTON_HEIGHT 50
11 #define BUTTON_WIDTH 100
13 #define BUTTON_HEIGHT 80
14 #define BUTTON_WIDTH 150
17 #define MAIN_WINDOW_WIDTH 550
18 #define MAIN_WINDOW_HEIGHT 250
20 #define CHANNELS_DIALOG_WIDTH 300
21 #define CHANNELS_DIALOG_HEIGHT 200
23 #define SETTINGS_DIALOG_WIDTH 300
24 #define SETTINGS_DIALOG_HEIGHT 120
26 extern GdkColor main_bg_color;
28 typedef struct _MMythUiCommon
30 GtkWidget *main_widget;
32 /* event box to set the background color*/
36 GtkWidget *button_vbox;
46 MMythUiCommon *mmyth_uicommon_new (GtkWidget * main_widget,
47 const gchar * label1, const gchar * label2,
48 const gchar * label3);
49 void mmyth_uicommon_free (MMythUiCommon *ui_common);
51 #endif /* MMYTH_UICOMMON_H_ */