maemo-ui/src/mmyth_uicommon.h
branchtrunk
changeset 790 7a914b3fafc1
parent 789 f9cd59844f78
child 791 cdafc5e948b8
     1.1 --- a/maemo-ui/src/mmyth_uicommon.h	Wed Aug 01 14:22:14 2007 +0100
     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_ */