mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
add "revert" button to lua script window
This commit is contained in:
parent
3f71e669ae
commit
56a41b9347
2 changed files with 22 additions and 5 deletions
|
|
@ -103,6 +103,7 @@ class LuaWindow :
|
|||
ArdourButton _btn_open;
|
||||
ArdourButton _btn_save;
|
||||
ArdourButton _btn_delete;
|
||||
ArdourButton _btn_revert;
|
||||
|
||||
ArdourDropdown script_select;
|
||||
|
||||
|
|
@ -122,7 +123,7 @@ class LuaWindow :
|
|||
uint32_t count_scratch_buffers () const;
|
||||
|
||||
void script_changed ();
|
||||
void script_selection_changed (ScriptBufferPtr n);
|
||||
void script_selection_changed (ScriptBufferPtr n, bool force = false);
|
||||
void update_gui_state ();
|
||||
|
||||
void append_text (std::string s);
|
||||
|
|
@ -133,6 +134,7 @@ class LuaWindow :
|
|||
|
||||
void new_script ();
|
||||
void delete_script ();
|
||||
void revert_script ();
|
||||
void import_script ();
|
||||
void save_script ();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue