1.1 --- a/maemo-ui-old/src/mmyth_uicommon.h Fri Feb 01 14:30:21 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,53 +0,0 @@
1.4 -#ifndef MMYTH_UICOMMON_H_
1.5 -#define MMYTH_UICOMMON_H_
1.6 -
1.7 -#include "config.h"
1.8 -
1.9 -#include <gtk/gtk.h>
1.10 -#include <glib.h>
1.11 -
1.12 -#ifndef MAEMO_PLATFORM
1.13 -#define BUTTON_HEIGHT 50
1.14 -#define BUTTON_WIDTH 100
1.15 -#else
1.16 -#define BUTTON_HEIGHT 80
1.17 -#define BUTTON_WIDTH 150
1.18 -#endif
1.19 -
1.20 -#define MAIN_WINDOW_WIDTH 550
1.21 -#define MAIN_WINDOW_HEIGHT 250
1.22 -
1.23 -#define CHANNELS_DIALOG_WIDTH 300
1.24 -#define CHANNELS_DIALOG_HEIGHT 200
1.25 -
1.26 -#define SETTINGS_DIALOG_WIDTH 300
1.27 -#define SETTINGS_DIALOG_HEIGHT 120
1.28 -
1.29 -extern GdkColor main_bg_color;
1.30 -
1.31 -typedef struct _MMythUiCommon {
1.32 - GtkWidget *main_widget;
1.33 -
1.34 - /*
1.35 - * event box to set the background color
1.36 - */
1.37 - GtkWidget *event_box;
1.38 -
1.39 - GtkWidget *vbox;
1.40 - GtkWidget *button_vbox;
1.41 - GtkWidget *label;
1.42 -
1.43 - GtkWidget *button1;
1.44 - GtkWidget *button2;
1.45 - GtkWidget *button3;
1.46 -
1.47 - gint source_id;
1.48 -} MMythUiCommon;
1.49 -
1.50 -MMythUiCommon *mmyth_uicommon_new(GtkWidget * main_widget,
1.51 - const gchar * label1,
1.52 - const gchar * label2,
1.53 - const gchar * label3);
1.54 -void mmyth_uicommon_free(MMythUiCommon * ui_common);
1.55 -
1.56 -#endif /* MMYTH_UICOMMON_H_ */