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