diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-02 15:51:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-02 15:51:42 +0000 |
commit | bb797943ddaae0a904b140fec58f6367fdf87d07 (patch) | |
tree | 956acd5d3d443123bcf1c289ac9e3788440d7f70 /gtk2_ardour/stereo_panner.h | |
parent | 56896ada1ea80e85be3306d29ebf26a87afe30d7 (diff) |
add configurable colors to stereo panner, plus keybindings for zero width (0), 1 (alt-up) or -1 (alt-down), plus M when its mono
git-svn-id: svn://localhost/ardour2/branches/3.0@8153 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/stereo_panner.h')
-rw-r--r-- | gtk2_ardour/stereo_panner.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk2_ardour/stereo_panner.h b/gtk2_ardour/stereo_panner.h index f469e35eea..991ccc88fc 100644 --- a/gtk2_ardour/stereo_panner.h +++ b/gtk2_ardour/stereo_panner.h @@ -57,6 +57,24 @@ class StereoPanner : public Gtk::DrawingArea void value_change (); void set_tooltip (); + + struct ColorScheme { + uint32_t outline; + uint32_t fill; + uint32_t text; + uint32_t background; + }; + + enum State { + Normal, + Mono, + Inverted + }; + + static ColorScheme colors[3]; + static void set_colors (); + static bool have_colors; + static PBD::Signal0<void> color_change; }; #endif /* __gtk_ardour_stereo_panner_h__ */ |