mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
First stage of options rework.
- Split Configuration into RCConfiguration and SessionConfiguration; the first for options which are saved to .rc files and the second for options which are saved in a session file. - Move some options from the old `master' Configuration object into SessionConfiguration; this needs more refinement. - Reflect many RCConfiguration options in an expanded Edit->Preferences dialog; my intention is to remove the corresponding menu items eventually. git-svn-id: svn://localhost/ardour2/branches/3.0@5075 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0569107ddc
commit
015fc7b39f
65 changed files with 848 additions and 2414 deletions
|
|
@ -27,7 +27,7 @@
|
|||
#include <gtkmm/actiongroup.h>
|
||||
#include <gtkmm/accelkey.h>
|
||||
|
||||
#include "ardour/configuration.h"
|
||||
#include "ardour/rc_configuration.h"
|
||||
|
||||
namespace Gtk {
|
||||
class UIManager;
|
||||
|
|
@ -59,9 +59,10 @@ class ActionManager
|
|||
static std::vector<Glib::RefPtr<Gtk::Action> > jack_opposite_sensitive_actions;
|
||||
static std::vector<Glib::RefPtr<Gtk::Action> > edit_point_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 map_some_state (const char* group, const char* action, bool (ARDOUR::RCConfiguration::*get)() const);
|
||||
static void map_some_state (const char* group, const char* action, sigc::slot<bool>);
|
||||
static void toggle_config_state (const char* group, const char* action, bool (ARDOUR::RCConfiguration::*set)(bool), bool (ARDOUR::RCConfiguration::*get)(void) const);
|
||||
static void toggle_config_state_foo (const char* group, const char* action, sigc::slot<bool, bool>, sigc::slot<bool>);
|
||||
|
||||
static void set_sensitive (std::vector<Glib::RefPtr<Gtk::Action> >& actions, bool);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue