update igors icons, x/y contraint for xlate
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / theme_unflat / unflattheme.h
1
2 /*
3  * CINELERRA unflat theme
4  * Based on S.U.V. theme
5  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6  * by Paolo Rampino <info at tuttoainternet dot it>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  *
22  */
23
24 #ifndef DEFAULTunflattheme_H
25 #define DEFAULTunflattheme_H
26
27 #include "new.inc"
28 #include "plugintclient.h"
29 #include "preferencesthread.inc"
30 #include "statusbar.inc"
31 #include "theme.h"
32 #include "timebar.inc"
33
34 class UNFLATTHEME : public Theme
35 {
36 public:
37         UNFLATTHEME();
38         ~UNFLATTHEME();
39
40         void initialize();
41         void draw_mwindow_bg(MWindowGUI *gui);
42
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);
48
49
50         void draw_new_bg(NewWindow *gui);
51         void draw_setformat_bg(SetFormatWindow *gui);
52
53 private:
54         void build_bg_data();
55         void build_patches();
56         void build_overlays();
57
58
59
60
61
62 };
63
64
65
66 class UNFLATTHEMEMain : public PluginTClient
67 {
68 public:
69         UNFLATTHEMEMain(PluginServer *server);
70         ~UNFLATTHEMEMain();
71
72         const char* plugin_title();
73         Theme* new_theme();
74
75         UNFLATTHEME *theme;
76 };
77
78
79 #endif