summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-14 11:47:25 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-14 11:47:25 -0400
commit0fe194c90b11e3b22ed2d166d5ceae5099a3981d (patch)
tree75e1581cef513aad89af04d14ed117c4fb13a89f /gtk2_ardour/ardour_button.h
parent0eb509ac2e023b556a43017c0d018be972b10673 (diff)
extend ArdourButton API to provide a new tweak for buttons with occasional text
Buttons with this tweak do not change their size request based on their text (or lack of it)
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r--gtk2_ardour/ardour_button.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h
index 928f4a8355..78c2f5e369 100644
--- a/gtk2_ardour/ardour_button.h
+++ b/gtk2_ardour/ardour_button.h
@@ -55,7 +55,8 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable
enum Tweaks {
Square = 0x1,
TrackHeader = 0x2,
- unused3 = 0x4,
+ OccasionalText = 0x4,
+ unused4 = 0x8,
};
Tweaks tweaks() const { return _tweaks; }