diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-10 15:25:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-10 15:25:01 +0000 |
commit | 6449c2e5c8b027245fe5fb9942984243e4a653d7 (patch) | |
tree | 0441b7521bc04dec2f858c3ca836d1ce43b1dcb9 /gtk2_ardour/ardour_button.h | |
parent | dbafe45a280cc6c33bb7dca72202c109012cd8eb (diff) |
more ardour-button-ization; fix transparency of selection rects; use "correct" cursors when entering and leaving selection rect handles; color tweaks for a few buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@10527 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index 0cee4092ae..9157cc81fd 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -59,6 +59,12 @@ class ArdourButton : public CairoWidget void set_active_state (Gtkmm2ext::ActiveState); void set_visual_state (Gtkmm2ext::VisualState); + /* this is an API simplification for buttons + that only use the Active and Normal active states. + */ + void set_active (bool); + bool get_active () { return active_state() != Gtkmm2ext::ActiveState (0); } + void set_elements (Element); Element elements() const { return _elements; } |