summaryrefslogtreecommitdiff
path: root/gtk2_ardour/stereo_panner.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-11 21:21:10 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-11 21:21:10 +0000
commitf4ed14a83b3dfc0af9b92db5f73f3389c7773a04 (patch)
tree567975a635ed74a761df1452054cf4d41caad286 /gtk2_ardour/stereo_panner.h
parent366b7ac36baecba48e59e9d96f8b2fd27633957b (diff)
Factor out 'persistent' tooltip code from the panner
interface and use it for processor box sliders (#4461). git-svn-id: svn://localhost/ardour2/branches/3.0@12661 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/stereo_panner.h')
-rw-r--r--gtk2_ardour/stereo_panner.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/stereo_panner.h b/gtk2_ardour/stereo_panner.h
index 19fa0c056e..8b62b7d82a 100644
--- a/gtk2_ardour/stereo_panner.h
+++ b/gtk2_ardour/stereo_panner.h
@@ -72,7 +72,7 @@ class StereoPanner : public PannerInterface
BindingProxy position_binder;
BindingProxy width_binder;
- void set_drag_data ();
+ void set_tooltip ();
struct ColorScheme {
uint32_t outline;
@@ -88,6 +88,8 @@ class StereoPanner : public PannerInterface
Inverted
};
+ bool _dragging;
+
static ColorScheme colors[3];
static void set_colors ();
static bool have_colors;