summaryrefslogtreecommitdiff
path: root/gtk2_ardour/theme_manager.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-16 21:23:50 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-16 21:23:50 -0400
commit381d4debf4c84816d08ff4de27bc9ae8d5d15f28 (patch)
tree2cb77585cecff9f4ca3d8be6b5d3e75eb39ef650 /gtk2_ardour/theme_manager.h
parent6b78532dd5a75e2d13dba2b1fd07f099dde706a8 (diff)
make waveform gradient depth continuously variable. color probably needs adjusting as do color stops to get a pleasing effect at most settings
Diffstat (limited to 'gtk2_ardour/theme_manager.h')
-rw-r--r--gtk2_ardour/theme_manager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/theme_manager.h b/gtk2_ardour/theme_manager.h
index d08713dc3e..225f26ee79 100644
--- a/gtk2_ardour/theme_manager.h
+++ b/gtk2_ardour/theme_manager.h
@@ -26,6 +26,7 @@
#include <gtkmm/colorselection.h>
#include <gtkmm/radiobutton.h>
#include <gtkmm/button.h>
+#include <gtkmm/scale.h>
#include <gtkmm/rc.h>
#include "ardour_window.h"
#include "ui_config.h"
@@ -43,7 +44,7 @@ class ThemeManager : public ArdourWindow
void on_dark_theme_button_toggled ();
void on_light_theme_button_toggled ();
void on_flat_buttons_toggled ();
- void on_gradient_waveforms_toggled ();
+ void on_waveform_gradient_depth_change ();
private:
struct ColorDisplayModelColumns : public Gtk::TreeModel::ColumnRecord {
@@ -70,7 +71,8 @@ class ThemeManager : public ArdourWindow
Gtk::RadioButton light_button;
Gtk::Button reset_button;
Gtk::CheckButton flat_buttons;
- Gtk::CheckButton gradient_waveforms;
+ Gtk::HScale waveform_gradient_depth;
+ Gtk::Label waveform_gradient_depth_label;
bool button_press_event (GdkEventButton*);
};