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 int save (std::string path);
42 void on_flat_buttons_toggled ();
43 void on_blink_rec_arm_toggled ();
44 void on_region_color_toggled ();
45 void on_show_clip_toggled ();
46 void on_waveform_gradient_depth_change ();
47 void on_timeline_item_gradient_depth_change ();
48 void on_all_dialogs_toggled ();
49 void on_transients_follow_front_toggled ();
50 void on_floating_monitor_section_toggled ();
51 void on_icon_set_changed ();
54 Gtk::CheckButton flat_buttons;
55 Gtk::CheckButton blink_rec_button;
56 Gtk::CheckButton region_color_button;
57 Gtk::CheckButton show_clipping_button;
58 Gtk::HScale waveform_gradient_depth;
59 Gtk::Label waveform_gradient_depth_label;
60 Gtk::HScale timeline_item_gradient_depth;
61 Gtk::Label timeline_item_gradient_depth_label;
62 Gtk::CheckButton all_dialogs;
63 Gtk::CheckButton transients_follow_front;
64 Gtk::CheckButton floating_monitor_section;
65 Gtk::CheckButton gradient_waveforms;
66 Gtk::Label icon_set_label;
67 Gtk::ComboBoxText icon_set_dropdown;
69 void colors_changed ();
70 void set_ui_to_state ();
73 #endif /* __ardour_gtk_theme_manager_h__ */