mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
incomplete changes based on karsten's megapatch
git-svn-id: svn://localhost/trunk/ardour2@81 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bc8174cd08
commit
1a3a776077
37 changed files with 477 additions and 493 deletions
|
|
@ -9,7 +9,6 @@ using namespace std;
|
|||
using namespace Gtk;
|
||||
using namespace Glib;
|
||||
using namespace sigc;
|
||||
using namespace ActionManager;
|
||||
|
||||
vector<Glib::RefPtr<Gtk::Action> > ActionManager::session_sensitive_actions;
|
||||
vector<Glib::RefPtr<Gtk::Action> > ActionManager::region_list_selection_sensitive_actions;
|
||||
|
|
@ -19,6 +18,8 @@ vector<Glib::RefPtr<Gtk::Action> > ActionManager::plugin_selection_sensitive_act
|
|||
vector<Glib::RefPtr<Gtk::Action> > ActionManager::range_sensitive_actions;
|
||||
vector<Glib::RefPtr<Gtk::Action> > ActionManager::jack_sensitive_actions;
|
||||
|
||||
namespace ActionManager {
|
||||
|
||||
static vector<Glib::RefPtr<UIManager> > ui_managers;
|
||||
|
||||
void
|
||||
|
|
@ -45,6 +46,17 @@ register_action (RefPtr<ActionGroup> group, string name, string label, slot<void
|
|||
return act;
|
||||
}
|
||||
|
||||
RefPtr<Action>
|
||||
register_action (RefPtr<ActionGroup> group, string name, string label)
|
||||
{
|
||||
RefPtr<Action> act;
|
||||
|
||||
act = Action::create (name, label);
|
||||
group->add (act);
|
||||
|
||||
return act;
|
||||
}
|
||||
|
||||
|
||||
RefPtr<Action>
|
||||
register_radio_action (RefPtr<ActionGroup> group, RadioAction::Group rgroup, string name, string label, slot<void> sl, guint key, Gdk::ModifierType mods)
|
||||
|
|
@ -87,17 +99,6 @@ register_toggle_action (RefPtr<ActionGroup> group, string name, string label, sl
|
|||
return act;
|
||||
}
|
||||
|
||||
RefPtr<Action>
|
||||
register_action (RefPtr<ActionGroup> group, string name, string label)
|
||||
{
|
||||
RefPtr<Action> act;
|
||||
|
||||
act = Action::create (name, label);
|
||||
group->add (act);
|
||||
|
||||
return act;
|
||||
}
|
||||
|
||||
bool lookup_entry (const Glib::ustring accel_path, Gtk::AccelKey& key)
|
||||
{
|
||||
GtkAccelKey gkey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue