#include "canvas/types.h"
#include "canvas/canvas.h"
-#include "ardour_window.h"
-
#include "ui_config.h"
namespace ArdourCanvas {
class ArdourDialog;
-class ThemeManager : public ArdourWindow
+class ThemeManager : public Gtk::VBox
{
public:
ThemeManager();
void on_waveform_gradient_depth_change ();
void on_timeline_item_gradient_depth_change ();
void on_all_dialogs_toggled ();
+ void on_transients_follow_front_toggled ();
void on_icon_set_changed ();
private:
Gtk::HScale timeline_item_gradient_depth;
Gtk::Label timeline_item_gradient_depth_label;
Gtk::CheckButton all_dialogs;
+ Gtk::CheckButton transients_follow_front;
Gtk::CheckButton gradient_waveforms;
Gtk::Label icon_set_label;
Gtk::ComboBoxText icon_set_dropdown;
add (name);
add (alias);
add (color);
+ add (key);
}
Gtk::TreeModelColumn<std::string> name;
Gtk::TreeModelColumn<std::string> alias;
Gtk::TreeModelColumn<Gdk::Color> color;
+ Gtk::TreeModelColumn<std::string> key;
};
ColorAliasModelColumns alias_columns;
void setup_aliases ();
void setup_palette ();
+ Gtk::ScrolledWindow modifier_scroller;
+ Gtk::VBox modifier_vbox;
+
+ void setup_modifiers ();
+ void modifier_edited (Gtk::Range*, std::string);
+
void colors_changed ();
+ void set_ui_to_state ();
};
#endif /* __ardour_gtk_color_manager_h__ */