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
22 // Blue Dot theme by Koen Muylkens <koen.muylkens@esat.kuleuven.ac.be>
24 #ifndef BLUEDOTTHEME_H
25 #define BLUEDOTTHEME_H
28 #include "plugintclient.h"
29 #include "preferencesthread.inc"
30 #include "statusbar.inc"
32 #include "timebar.inc"
34 class BlueDotTheme : public Theme
41 void draw_mwindow_bg(MWindowGUI *gui);
43 void draw_rwindow_bg(RecordGUI *gui);
44 void draw_rmonitor_bg(RecordMonitorGUI *gui);
45 void draw_cwindow_bg(CWindowGUI *gui);
46 void draw_vwindow_bg(VWindowGUI *gui);
47 void draw_preferences_bg(PreferencesWindow *gui);
49 void get_mwindow_sizes(MWindowGUI *gui, int w, int h);
50 void get_cwindow_sizes(CWindowGUI *gui, int cwindow_controls);
51 void get_vwindow_sizes(VWindowGUI *gui);
52 void get_preferences_sizes();
53 void get_recordgui_sizes(RecordGUI *gui, int w, int h);
54 void get_rmonitor_sizes(int do_audio,
61 void get_new_sizes(NewWindow *gui);
62 void draw_new_bg(NewWindow *gui);
63 void draw_setformat_bg(SetFormatWindow *gui);
64 // MIHA: COPIED FROM DEFAULT THEME M1>>
65 // void get_plugindialog_sizes();
66 // MIHA: COPIED FROM DEFAULT THEME M1<<
72 void build_overlays();
80 VFrame *rgui_controls;
82 VFrame *rmonitor_panel;
83 VFrame *rmonitor_meters;
88 class BlueDotThemeMain : public PluginTClient
91 BlueDotThemeMain(PluginServer *server);
94 const char* plugin_title();