mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Change LuaWindow into an ArdourWindow
* remember window visibility, size and position * Show as toggle in the window-menu (rather than show action) * reduce specialization, use WM and ArdourWindow infrastructure (transient parent, window-type, etc)
This commit is contained in:
parent
23c5793173
commit
747b24f063
7 changed files with 24 additions and 69 deletions
|
|
@ -108,20 +108,6 @@ ARDOUR_UI::create_editor ()
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
ARDOUR_UI::create_luawindow ()
|
||||
|
||||
{
|
||||
try {
|
||||
luawindow = LuaWindow::instance ();
|
||||
}
|
||||
catch (failed_constructor& err) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
ARDOUR_UI::create_recorder ()
|
||||
{
|
||||
|
|
@ -278,7 +264,6 @@ ARDOUR_UI::install_actions ()
|
|||
ActionManager::register_action (common_actions, X_("show-ui-prefs"), _("Show more UI preferences"), sigc::mem_fun (*this, &ARDOUR_UI::show_ui_prefs));
|
||||
}
|
||||
|
||||
ActionManager::register_action (common_actions, X_("toggle-luawindow"), S_("Window|Scripting"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_luawindow));
|
||||
ActionManager::register_action (common_actions, X_("toggle-meterbridge"), S_("Window|Meterbridge"), sigc::mem_fun(*this, &ARDOUR_UI::toggle_meterbridge));
|
||||
|
||||
act = ActionManager::register_action (common_actions, X_("NewMIDITracer"), _("MIDI Tracer"), sigc::mem_fun(*this, &ARDOUR_UI::new_midi_tracer_window));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue