00001
00002
00003
00004 #ifndef BLUEDOTTHEME_H
00005 #define BLUEDOTTHEME_H
00006
00007 #include "new.inc"
00008 #include "plugintclient.h"
00009 #include "preferencesthread.inc"
00010 #include "statusbar.inc"
00011 #include "theme.h"
00012 #include "timebar.inc"
00013
00014 class BlueDotTheme : public Theme
00015 {
00016 public:
00017 BlueDotTheme();
00018 ~BlueDotTheme();
00019
00020 void initialize();
00021 void draw_mwindow_bg(MWindowGUI *gui);
00022
00023 void draw_rwindow_bg(RecordGUI *gui);
00024 void draw_rmonitor_bg(RecordMonitorGUI *gui);
00025 void draw_cwindow_bg(CWindowGUI *gui);
00026 void draw_vwindow_bg(VWindowGUI *gui);
00027 void draw_preferences_bg(PreferencesWindow *gui);
00028
00029 void get_mwindow_sizes(MWindowGUI *gui, int w, int h);
00030 void get_cwindow_sizes(CWindowGUI *gui, int cwindow_controls);
00031 void get_vwindow_sizes(VWindowGUI *gui);
00032 void get_preferences_sizes();
00033 void get_recordgui_sizes(RecordGUI *gui, int w, int h);
00034 void get_rmonitor_sizes(int do_audio,
00035 int do_video,
00036 int do_channel,
00037 int do_interlace,
00038 int do_avc,
00039 int audio_channels);
00040
00041 void get_new_sizes(NewWindow *gui);
00042 void draw_new_bg(NewWindow *gui);
00043 void draw_setformat_bg(SetFormatWindow *gui);
00044
00045
00046
00047
00048 private:
00049 void build_icons();
00050 void build_bg_data();
00051 void build_patches();
00052 void build_overlays();
00053
00054
00055
00056
00057
00058
00059 VFrame *rgui_batch;
00060 VFrame *rgui_controls;
00061 VFrame *rgui_list;
00062 VFrame *rmonitor_panel;
00063 VFrame *rmonitor_meters;
00064 };
00065
00066
00067
00068 class BlueDotThemeMain : public PluginTClient
00069 {
00070 public:
00071 BlueDotThemeMain(PluginServer *server);
00072 ~BlueDotThemeMain();
00073
00074 char* plugin_title();
00075 Theme* new_theme();
00076
00077 BlueDotTheme *theme;
00078 };
00079
00080
00081 #endif