Code::Blocks
SVN r11506
|
#include <scriptconsole.h>
Public Member Functions | |
ScriptConsole (wxWindow *parent, wxWindowID id=-1) | |
virtual | ~ScriptConsole () |
void | Log (const wxString &msg) |
Static Public Attributes | |
static const long | ID_TEXTCTRL1 = wxNewId() |
static const long | ID_STATICTEXT1 = wxNewId() |
static const long | ID_COMBOBOX1 = wxNewId() |
static const long | ID_BITMAPBUTTON1 = wxNewId() |
static const long | ID_BITMAPBUTTON2 = wxNewId() |
static const long | ID_BITMAPBUTTON3 = wxNewId() |
static const long | ID_PANEL1 = wxNewId() |
Protected Member Functions | |
void | OnbtnExecuteClick (wxCommandEvent &event) |
void | OnbtnLoadClick (wxCommandEvent &event) |
void | OnbtnClearClick (wxCommandEvent &event) |
Protected Attributes | |
wxPanel * | Panel1 |
wxBitmapButton * | btnLoad |
wxComboBox * | txtCommand |
wxBitmapButton * | btnExecute |
wxBitmapButton * | btnClear |
wxTextCtrl * | txtConsole |
wxStaticText * | lblCommand |
Definition at line 24 of file scriptconsole.h.
ScriptConsole::ScriptConsole | ( | wxWindow * | parent, |
wxWindowID | id = -1 |
||
) |
Definition at line 66 of file scriptconsole.cpp.
References _(), _T, wxBoxSizer::Add(), wxBoxSizer::Fit(), wxArtProvider::GetBitmap(), wxSystemSettings::GetColour(), ID_TEXTCTRL1, OnbtnClearClick(), OnbtnExecuteClick(), OnbtnLoadClick(), s_OldPrintFunc, ScriptConsolePrintFunc(), wxBoxSizer::SetSizeHints(), sq_getprintfunc(), sq_setprintfunc(), wxALIGN_CENTER_VERTICAL, wxALL, wxART_BUTTON, wxBU_AUTODRAW, wxCB_DROPDOWN, wxDefaultPosition, wxDefaultSize, wxDefaultValidator, wxEmptyString, wxEXPAND, wxFONTENCODING_DEFAULT, wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, wxHORIZONTAL, wxHSCROLL, wxSYS_COLOUR_BTNFACE, wxTAB_TRAVERSAL, wxTE_MULTILINE, wxTE_PROCESS_ENTER, wxTE_READONLY, and wxVERTICAL.
|
virtual |
Definition at line 123 of file scriptconsole.cpp.
References s_OldPrintFunc, and sq_setprintfunc().
void ScriptConsole::Log | ( | const wxString & | msg | ) |
Definition at line 136 of file scriptconsole.cpp.
References _T, wxString::Last(), Manager::ProcessPendingEvents(), and txtConsole.
Referenced by OnbtnExecuteClick(), OnbtnLoadClick(), and ScriptConsolePrintFunc().
|
protected |
Definition at line 192 of file scriptconsole.cpp.
References txtCommand, and txtConsole.
Referenced by ScriptConsole().
|
protected |
Definition at line 145 of file scriptconsole.cpp.
References _T, Manager::Get(), wxString::IsEmpty(), Log(), wxString::Trim(), txtCommand, txtConsole, wxBell(), wxEmptyString, and wxNOT_FOUND.
Referenced by ScriptConsole().
|
protected |
Definition at line 168 of file scriptconsole.cpp.
References _(), _T, Manager::Get(), Manager::GetConfigManager(), wxFileDialog::GetDirectory(), wxFileDialog::GetPath(), Manager::GetScriptingManager(), ScriptingManager::LoadScript(), Log(), ConfigManager::Read(), wxFileDialog::ShowModal(), txtCommand, txtConsole, ConfigManager::Write(), wxEmptyString, wxFD_OPEN, and wxID_OK.
Referenced by ScriptConsole().
|
protected |
Definition at line 55 of file scriptconsole.h.
|
protected |
Definition at line 54 of file scriptconsole.h.
|
protected |
Definition at line 52 of file scriptconsole.h.
|
static |
Definition at line 37 of file scriptconsole.h.
|
static |
Definition at line 38 of file scriptconsole.h.
|
static |
Definition at line 39 of file scriptconsole.h.
|
static |
Definition at line 36 of file scriptconsole.h.
|
static |
Definition at line 40 of file scriptconsole.h.
|
static |
Definition at line 35 of file scriptconsole.h.
|
static |
Definition at line 34 of file scriptconsole.h.
|
protected |
Definition at line 57 of file scriptconsole.h.
|
protected |
Definition at line 51 of file scriptconsole.h.
|
protected |
Definition at line 53 of file scriptconsole.h.
Referenced by OnbtnClearClick(), OnbtnExecuteClick(), and OnbtnLoadClick().
|
protected |
Definition at line 56 of file scriptconsole.h.
Referenced by Log(), OnbtnClearClick(), OnbtnExecuteClick(), and OnbtnLoadClick().