diff options
Diffstat (limited to 'gtk2_ardour/shuttle_control.h')
-rw-r--r-- | gtk2_ardour/shuttle_control.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/shuttle_control.h b/gtk2_ardour/shuttle_control.h index 20fe46096f..31be53c976 100644 --- a/gtk2_ardour/shuttle_control.h +++ b/gtk2_ardour/shuttle_control.h @@ -56,6 +56,7 @@ class ShuttleControl : public CairoWidget, public ARDOUR::SessionHandlePtr }; boost::shared_ptr<ShuttleControllable> controllable() const { return _controllable; } + void set_colors (); protected: bool _hovering; @@ -73,7 +74,11 @@ class ShuttleControl : public CairoWidget, public ARDOUR::SessionHandlePtr Gtk::Menu* shuttle_style_menu; Gtk::Menu* shuttle_context_menu; BindingProxy binding_proxy; - + Glib::RefPtr<Pango::Layout> left_text; + Glib::RefPtr<Pango::Layout> right_text; + Pango::AttrList text_attributes; + Pango::AttrColor* text_color; + float bg_r, bg_g, bg_b; void build_shuttle_context_menu (); void show_shuttle_context_menu (); void shuttle_style_changed(); |