4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5 * Copyright (C) 2003-2016 Cinelerra CV contributors
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #include "plugintclient.h"
28 #include "preferencesthread.inc"
29 #include "statusbar.inc"
31 #include "timebar.inc"
33 class BlondCVTheme : public Theme
40 void draw_mwindow_bg(MWindowGUI *gui);
42 void draw_rwindow_bg(RecordGUI *gui);
43 void draw_rmonitor_bg(RecordMonitorGUI *gui);
44 void draw_cwindow_bg(CWindowGUI *gui);
45 void draw_vwindow_bg(VWindowGUI *gui);
46 void draw_preferences_bg(PreferencesWindow *gui);
48 void get_mwindow_sizes(MWindowGUI *gui, int w, int h);
49 void get_cwindow_sizes(CWindowGUI *gui, int cwindow_controls);
50 void get_vwindow_sizes(VWindowGUI *gui);
51 void get_preferences_sizes();
52 void get_recordgui_sizes(RecordGUI *gui, int w, int h);
53 // void get_rmonitor_sizes(int do_audio,
58 // int audio_channels);
60 void get_new_sizes(NewWindow *gui);
61 void draw_new_bg(NewWindow *gui);
62 void draw_setformat_bg(SetFormatWindow *gui);
63 void get_plugindialog_sizes();
69 void build_overlays();
74 VFrame *mbutton_right;
77 VFrame *zoombar_right;
78 VFrame *statusbar_left;
79 VFrame *statusbar_right;
83 VFrame *cbuttons_left;
84 VFrame *cbuttons_right;
88 VFrame *vbuttons_left;
89 VFrame *vbuttons_right;
92 VFrame *preferences_bg;
98 VFrame *rgui_controls;
100 VFrame *rmonitor_panel;
101 VFrame *rmonitor_meters;
106 class BlondCVThemeMain : public PluginTClient
109 BlondCVThemeMain(PluginServer *server);
112 const char* plugin_title();