![]() |
Ardour
9.0-pre0-822-g12e3bc5c20
|
#include <luawindow.h>
Classes | |
class | ScriptBuffer |
Public Types | |
enum | BufferFlags { Buffer_NOFLAG = 0x00 , Buffer_Valid = 0x01 , Buffer_HasFile = 0x02 , Buffer_ReadOnly = 0x04 , Buffer_Dirty = 0x08 , Buffer_Scratch = 0x10 } |
Public Member Functions | |
~LuaWindow () | |
void | show_window () |
bool | hide_window (GdkEventAny *ev) |
void | edit_script (const std::string &, const std::string &) |
void | set_session (ARDOUR::Session *s) |
![]() | |
ArdourWindow (std::string title) | |
ArdourWindow (Gtk::Window &parent, std::string title) | |
virtual | ~ArdourWindow () |
![]() | |
SessionHandlePtr (ARDOUR::Session *s) | |
SessionHandlePtr () | |
virtual | ~SessionHandlePtr () |
virtual ARDOUR::Session * | session () const |
![]() | |
VisibilityTracker (Gtk::Window &) | |
virtual | ~VisibilityTracker () |
void | cycle_visibility () |
bool | fully_visible () const |
bool | not_visible () const |
bool | partially_visible () const |
Gtk::Window & | window () const |
![]() | |
ScopedConnectionList () | |
ScopedConnectionList (const ScopedConnectionList &)=delete | |
ScopedConnectionList & | operator= (const ScopedConnectionList &)=delete |
virtual | ~ScopedConnectionList () |
void | add_connection (const UnscopedConnection &c) |
void | drop_connections () |
Static Public Member Functions | |
static LuaWindow * | instance () |
![]() | |
static void | set_use_window_manager_visibility (bool) |
static bool | use_window_manager_visibility () |
Private Types | |
typedef std::shared_ptr< ScriptBuffer > | ScriptBufferPtr |
typedef std::vector< ScriptBufferPtr > | ScriptBufferList |
Private Member Functions | |
LuaWindow () | |
void | session_going_away () |
void | update_title () |
void | reinit_lua () |
void | setup_buffers () |
void | refresh_scriptlist () |
void | rebuild_menu () |
uint32_t | count_scratch_buffers () const |
void | script_changed () |
void | script_selection_changed (ScriptBufferPtr n, bool force=false) |
void | update_gui_state () |
void | append_text (std::string s) |
void | scroll_to_bottom () |
void | clear_output () |
void | run_script () |
void | new_script () |
void | delete_script () |
void | revert_script () |
void | import_script () |
void | save_script () |
Private Attributes | |
LuaState * | lua |
bool | _visible |
Gtk::Menu * | _menu_scratch |
Gtk::Menu * | _menu_snippet |
Gtk::Menu * | _menu_actions |
sigc::connection | _script_changed_connection |
Gtk::TextView | entry |
Gtk::TextView | outtext |
Gtk::ScrolledWindow | scrollout |
ArdourWidgets::ArdourButton | _btn_run |
ArdourWidgets::ArdourButton | _btn_clear |
ArdourWidgets::ArdourButton | _btn_open |
ArdourWidgets::ArdourButton | _btn_save |
ArdourWidgets::ArdourButton | _btn_delete |
ArdourWidgets::ArdourButton | _btn_revert |
ArdourWidgets::ArdourDropdown | script_select |
ScriptBufferList | script_buffers |
ScriptBufferPtr | _current_buffer |
Static Private Attributes | |
static LuaWindow * | _instance |
Additional Inherited Members | |
![]() | |
bool | on_focus_in_event (GdkEventFocus *) |
bool | on_focus_out_event (GdkEventFocus *) |
bool | on_delete_event (GdkEventAny *) |
bool | on_key_press_event (GdkEventKey *) |
bool | on_key_release_event (GdkEventKey *) |
void | on_unmap () |
![]() | |
ARDOUR::Session * | _session |
PBD::ScopedConnectionList | _session_connections |
Definition at line 45 of file luawindow.h.
|
private |
Definition at line 112 of file luawindow.h.
|
private |
Definition at line 111 of file luawindow.h.
Enumerator | |
---|---|
Buffer_NOFLAG | |
Buffer_Valid | script is loaded |
Buffer_HasFile | |
Buffer_ReadOnly | |
Buffer_Dirty | |
Buffer_Scratch |
Definition at line 59 of file luawindow.h.
LuaWindow::~LuaWindow | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
void LuaWindow::edit_script | ( | const std::string & | , |
const std::string & | |||
) |
bool LuaWindow::hide_window | ( | GdkEventAny * | ev | ) |
|
private |
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
privatevirtual |
Reimplemented from ARDOUR::SessionHandlePtr.
|
virtual |
Reimplemented from ARDOUR::SessionHandlePtr.
|
private |
void LuaWindow::show_window | ( | ) |
|
private |
|
private |
|
private |
Definition at line 103 of file luawindow.h.
|
private |
Definition at line 106 of file luawindow.h.
|
private |
Definition at line 104 of file luawindow.h.
|
private |
Definition at line 107 of file luawindow.h.
|
private |
Definition at line 102 of file luawindow.h.
|
private |
Definition at line 105 of file luawindow.h.
|
private |
Definition at line 115 of file luawindow.h.
|
staticprivate |
Definition at line 87 of file luawindow.h.
|
private |
Definition at line 94 of file luawindow.h.
|
private |
Definition at line 92 of file luawindow.h.
|
private |
Definition at line 93 of file luawindow.h.
|
private |
Definition at line 96 of file luawindow.h.
|
private |
Definition at line 90 of file luawindow.h.
|
private |
Definition at line 98 of file luawindow.h.
|
private |
Definition at line 89 of file luawindow.h.
|
private |
Definition at line 99 of file luawindow.h.
|
private |
Definition at line 114 of file luawindow.h.
|
private |
Definition at line 109 of file luawindow.h.
|
private |
Definition at line 100 of file luawindow.h.