r864: Merge 2.1:
[cinelerra_cv.git] / plugins / bluedottheme / bluedottheme.h
blob82a70593f61d9a7af2bb7265d55c9c680653b9f3
2 // Blue Dot theme by Koen Muylkens <koen.muylkens@esat.kuleuven.ac.be>
4 #ifndef BLUEDOTTHEME_H
5 #define BLUEDOTTHEME_H
7 #include "new.inc"
8 #include "plugintclient.h"
9 #include "preferencesthread.inc"
10 #include "statusbar.inc"
11 #include "theme.h"
12 #include "timebar.inc"
14 class BlueDotTheme : public Theme
16 public:
17 BlueDotTheme();
18 ~BlueDotTheme();
20 void initialize();
21 void draw_mwindow_bg(MWindowGUI *gui);
23 void draw_rwindow_bg(RecordGUI *gui);
24 void draw_rmonitor_bg(RecordMonitorGUI *gui);
25 void draw_cwindow_bg(CWindowGUI *gui);
26 void draw_vwindow_bg(VWindowGUI *gui);
27 void draw_preferences_bg(PreferencesWindow *gui);
29 void get_mwindow_sizes(MWindowGUI *gui, int w, int h);
30 void get_cwindow_sizes(CWindowGUI *gui, int cwindow_controls);
31 void get_vwindow_sizes(VWindowGUI *gui);
32 void get_preferences_sizes();
33 void get_recordgui_sizes(RecordGUI *gui, int w, int h);
35 void get_new_sizes(NewWindow *gui);
36 void draw_new_bg(NewWindow *gui);
37 void draw_setformat_bg(SetFormatWindow *gui);
39 private:
40 void build_icons();
41 void build_bg_data();
42 void build_patches();
43 void build_overlays();
46 // MWindow
47 VFrame *mbutton_left;
48 VFrame *mbutton_right;
49 VFrame *clock_bg;
50 VFrame *patchbay_bg;
51 VFrame *tracks_bg;
52 VFrame *zoombar_left;
53 VFrame *zoombar_right;
54 VFrame *statusbar_left;
55 VFrame *statusbar_right;
57 // CWindow
58 VFrame *cpanel_bg;
59 VFrame *cbuttons_left;
60 VFrame *cbuttons_right;
61 VFrame *cmeter_bg;
63 // VWindow
64 VFrame *vbuttons_left;
65 VFrame *vbuttons_right;
66 VFrame *vmeter_bg;
68 VFrame *preferences_bg;
69 VFrame *new_bg;
70 VFrame *setformat_bg;
72 // Record windows
73 VFrame *rgui_batch;
74 VFrame *rgui_controls;
75 VFrame *rgui_list;
76 VFrame *rmonitor_panel;
77 VFrame *rmonitor_meters;
82 class BlueDotThemeMain : public PluginTClient
84 public:
85 BlueDotThemeMain(PluginServer *server);
86 ~BlueDotThemeMain();
88 char* plugin_title();
89 Theme* new_theme();
91 BlueDotTheme *theme;
95 #endif