diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-09-29 21:39:39 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-09-29 21:39:39 +0000 |
commit | 09ee5d9967328c1fabd4aca7766f9613acd8ee5e (patch) | |
tree | a64a893aa4184475d9799d76daaefd60b8e88eb1 /gtk2_ardour/actions.h | |
parent | 7adf76bbe61435dcd6859895f4cadd4feb797f18 (diff) |
many important changes to configuration system and specific parameters
git-svn-id: svn://localhost/ardour2/trunk@935 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/actions.h')
-rw-r--r-- | gtk2_ardour/actions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/actions.h b/gtk2_ardour/actions.h index 330caff1c2..e3ec57dbae 100644 --- a/gtk2_ardour/actions.h +++ b/gtk2_ardour/actions.h @@ -37,6 +37,10 @@ class ActionManager static std::vector<Glib::RefPtr<Gtk::Action> > jack_opposite_sensitive_actions; static std::vector<Glib::RefPtr<Gtk::Action> > edit_cursor_in_region_sensitive_actions; + static void map_some_state (const char* group, const char* action, bool (ARDOUR::Configuration::*get)() const); + static void toggle_config_state (const char* group, const char* action, bool (ARDOUR::Configuration::*set)(bool), bool (ARDOUR::Configuration::*get)(void) const); + static void toggle_config_state (const char* group, const char* action, sigc::slot<void> theSlot); + static void set_sensitive (std::vector<Glib::RefPtr<Gtk::Action> >& actions, bool); static std::string unbound_string; /* the key string returned if an action is not bound */ |