summaryrefslogtreecommitdiff
path: root/gtk2_ardour/option_editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-01-23 18:34:55 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2013-01-23 18:34:55 +0000
commitaf21d80650b002c359ee478ab6e2b611b035062c (patch)
treee743f5ed2c0e80a282161c9265434d37e6808c58 /gtk2_ardour/option_editor.h
parenta8bf2e9402967b912bf92923761db8cd08fb33d5 (diff)
allow markup to be used in BoolOption items in an option editor
git-svn-id: svn://localhost/ardour2/branches/3.0@13976 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/option_editor.h')
-rw-r--r--gtk2_ardour/option_editor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/option_editor.h b/gtk2_ardour/option_editor.h
index d09be0a904..d39abfa810 100644
--- a/gtk2_ardour/option_editor.h
+++ b/gtk2_ardour/option_editor.h
@@ -175,9 +175,10 @@ private:
void toggled ();
- sigc::slot<bool> _get; ///< slot to get the configuration variable's value
+ sigc::slot<bool> _get; ///< slot to get the configuration variable's value
sigc::slot<bool, bool> _set; ///< slot to set the configuration variable's value
- Gtk::CheckButton* _button; ///< UI button
+ Gtk::CheckButton* _button; ///< UI button
+ Gtk::Label* _label; ///< label for button, so we can use markup
};
/** Component which provides the UI to handle a string option using a GTK Entry */