move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration

This commit is contained in:
Paul Davis 2014-12-22 13:39:41 -05:00
parent 795c5c16f1
commit 64fa63212f
52 changed files with 317 additions and 270 deletions

View file

@ -25,6 +25,8 @@
#include "gtkmm2ext/actions.h"
#include "ardour/rc_configuration.h"
#include "ui_config.h"
namespace ActionManager {
/* Ardour specific */
@ -51,7 +53,9 @@ namespace ActionManager {
extern std::vector<Glib::RefPtr<Gtk::Action> > edit_point_in_region_sensitive_actions;
extern void map_some_state (const char* group, const char* action, bool (ARDOUR::RCConfiguration::*get)() const);
extern void map_some_state (const char* group, const char* action, bool (UIConfiguration::*get)() const);
extern void map_some_state (const char* group, const char* action, sigc::slot<bool>);
extern void toggle_config_state (const char* group, const char* action, bool (UIConfiguration::*set)(bool), bool (UIConfiguration::*get)(void) const);
extern void toggle_config_state (const char* group, const char* action, bool (ARDOUR::RCConfiguration::*set)(bool), bool (ARDOUR::RCConfiguration::*get)(void) const);
extern void toggle_config_state_foo (const char* group, const char* action, sigc::slot<bool, bool>, sigc::slot<bool>);
}