2 Copyright (C) 2000-2007 Paul Davis
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef __ardour_gtk_theme_manager_h__
21 #define __ardour_gtk_theme_manager_h__
23 #include <gtkmm/treeview.h>
24 #include <gtkmm/treestore.h>
25 #include <gtkmm/scrolledwindow.h>
26 #include <gtkmm/radiobutton.h>
27 #include <gtkmm/button.h>
28 #include <gtkmm/scale.h>
31 #include "ui_config.h"
35 class ThemeManager : public Gtk::VBox
40 void on_flat_buttons_toggled ();
41 void on_blink_rec_arm_toggled ();
42 void on_region_color_toggled ();
43 void on_show_clip_toggled ();
44 void on_waveform_gradient_depth_change ();
45 void on_timeline_item_gradient_depth_change ();
46 void on_all_dialogs_toggled ();
47 void on_transients_follow_front_toggled ();
48 void on_floating_monitor_section_toggled ();
49 void on_icon_set_changed ();
52 Gtk::CheckButton flat_buttons;
53 Gtk::CheckButton blink_rec_button;
54 Gtk::CheckButton region_color_button;
55 Gtk::CheckButton show_clipping_button;
56 Gtk::HScale waveform_gradient_depth;
57 Gtk::Label waveform_gradient_depth_label;
58 Gtk::HScale timeline_item_gradient_depth;
59 Gtk::Label timeline_item_gradient_depth_label;
60 Gtk::CheckButton all_dialogs;
61 Gtk::CheckButton transients_follow_front;
62 Gtk::CheckButton floating_monitor_section;
63 Gtk::CheckButton gradient_waveforms;
64 Gtk::Label icon_set_label;
65 Gtk::ComboBoxText icon_set_dropdown;
67 void colors_changed ();
68 void set_ui_to_state ();
71 #endif /* __ardour_gtk_theme_manager_h__ */