r622: Fixes misplacement of the mask when resizing track and misplacement of the
[cinelerra_cv/mob.git] / plugins / defaulttheme / defaulttheme.h
blob192f0d4f67a816d895a4750806a1d14927202c00
1 #ifndef BLONDTHEME_H
2 #define BLONDTHEME_H
4 #include "new.inc"
5 #include "plugintclient.h"
6 #include "preferencesthread.inc"
7 #include "statusbar.inc"
8 #include "theme.h"
9 #include "timebar.inc"
11 class BlondTheme : public Theme
13 public:
14 BlondTheme();
15 ~BlondTheme();
17 void initialize();
18 void draw_mwindow_bg(MWindowGUI *gui);
20 void draw_rwindow_bg(RecordGUI *gui);
21 void draw_rmonitor_bg(RecordMonitorGUI *gui);
22 void draw_cwindow_bg(CWindowGUI *gui);
23 void draw_vwindow_bg(VWindowGUI *gui);
24 void draw_preferences_bg(PreferencesWindow *gui);
26 void get_mwindow_sizes(MWindowGUI *gui, int w, int h);
27 void get_cwindow_sizes(CWindowGUI *gui, int cwindow_controls);
28 void get_vwindow_sizes(VWindowGUI *gui);
29 void get_preferences_sizes();
30 void get_recordgui_sizes(RecordGUI *gui, int w, int h);
32 void get_new_sizes(NewWindow *gui);
33 void draw_new_bg(NewWindow *gui);
34 void draw_setformat_bg(SetFormatWindow *gui);
36 private:
37 void build_icons();
38 void build_bg_data();
39 void build_patches();
40 void build_overlays();
43 // MWindow
44 VFrame *mbutton_left;
45 VFrame *mbutton_right;
46 VFrame *clock_bg;
47 VFrame *patchbay_bg;
48 VFrame *tracks_bg;
49 VFrame *zoombar_left;
50 VFrame *zoombar_right;
51 VFrame *statusbar_left;
52 VFrame *statusbar_right;
54 // CWindow
55 VFrame *cpanel_bg;
56 VFrame *cbuttons_left;
57 VFrame *cbuttons_right;
58 VFrame *cmeter_bg;
60 // VWindow
61 VFrame *vbuttons_left;
62 VFrame *vbuttons_right;
63 VFrame *vmeter_bg;
65 VFrame *preferences_bg;
66 VFrame *new_bg;
67 VFrame *setformat_bg;
69 // Record windows
70 VFrame *rgui_batch;
71 VFrame *rgui_controls;
72 VFrame *rgui_list;
73 VFrame *rmonitor_panel;
74 VFrame *rmonitor_meters;
79 class BlondThemeMain : public PluginTClient
81 public:
82 BlondThemeMain(PluginServer *server);
83 ~BlondThemeMain();
85 char* plugin_title();
86 Theme* new_theme();
88 BlondTheme *theme;
92 #endif