diff -r d2d226b5a4bd -r 987fafbda04d maemo-ui-old/src/mmyth_uicommon.h --- a/maemo-ui-old/src/mmyth_uicommon.h Fri Feb 01 14:30:21 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ -#ifndef MMYTH_UICOMMON_H_ -#define MMYTH_UICOMMON_H_ - -#include "config.h" - -#include -#include - -#ifndef MAEMO_PLATFORM -#define BUTTON_HEIGHT 50 -#define BUTTON_WIDTH 100 -#else -#define BUTTON_HEIGHT 80 -#define BUTTON_WIDTH 150 -#endif - -#define MAIN_WINDOW_WIDTH 550 -#define MAIN_WINDOW_HEIGHT 250 - -#define CHANNELS_DIALOG_WIDTH 300 -#define CHANNELS_DIALOG_HEIGHT 200 - -#define SETTINGS_DIALOG_WIDTH 300 -#define SETTINGS_DIALOG_HEIGHT 120 - -extern GdkColor main_bg_color; - -typedef struct _MMythUiCommon { - GtkWidget *main_widget; - - /* - * event box to set the background color - */ - GtkWidget *event_box; - - GtkWidget *vbox; - GtkWidget *button_vbox; - GtkWidget *label; - - GtkWidget *button1; - GtkWidget *button2; - GtkWidget *button3; - - gint source_id; -} MMythUiCommon; - -MMythUiCommon *mmyth_uicommon_new(GtkWidget * main_widget, - const gchar * label1, - const gchar * label2, - const gchar * label3); -void mmyth_uicommon_free(MMythUiCommon * ui_common); - -#endif /* MMYTH_UICOMMON_H_ */