allow markup to be used in BoolOption items in an option editor
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 23 Jan 2013 18:34:55 +0000 (18:34 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 23 Jan 2013 18:34:55 +0000 (18:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13976 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/option_editor.h

index d09be0a9044df058ffa9c9dea31c2f0b1bb29445..d39abfa810f2f6a902bbb37e36a026008c1e94a8 100644 (file)
@@ -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 */