Code::Blocks  SVN r11506
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ScriptConsole Class Reference

#include <scriptconsole.h>

Inheritance diagram for ScriptConsole:
Collaboration diagram for ScriptConsole:

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

wxPanelPanel1
 
wxBitmapButtonbtnLoad
 
wxComboBoxtxtCommand
 
wxBitmapButtonbtnExecute
 
wxBitmapButtonbtnClear
 
wxTextCtrltxtConsole
 
wxStaticTextlblCommand
 

Detailed Description

Definition at line 24 of file scriptconsole.h.

Constructor & Destructor Documentation

◆ ScriptConsole()

ScriptConsole::ScriptConsole ( wxWindow parent,
wxWindowID  id = -1 
)

◆ ~ScriptConsole()

ScriptConsole::~ScriptConsole ( )
virtual

Definition at line 123 of file scriptconsole.cpp.

References s_OldPrintFunc, and sq_setprintfunc().

Member Function Documentation

◆ Log()

void ScriptConsole::Log ( const wxString msg)

◆ OnbtnClearClick()

void ScriptConsole::OnbtnClearClick ( wxCommandEvent event)
protected

Definition at line 192 of file scriptconsole.cpp.

References txtCommand, and txtConsole.

Referenced by ScriptConsole().

◆ OnbtnExecuteClick()

void ScriptConsole::OnbtnExecuteClick ( wxCommandEvent event)
protected

◆ OnbtnLoadClick()

void ScriptConsole::OnbtnLoadClick ( wxCommandEvent event)
protected

Member Data Documentation

◆ btnClear

wxBitmapButton* ScriptConsole::btnClear
protected

Definition at line 55 of file scriptconsole.h.

◆ btnExecute

wxBitmapButton* ScriptConsole::btnExecute
protected

Definition at line 54 of file scriptconsole.h.

◆ btnLoad

wxBitmapButton* ScriptConsole::btnLoad
protected

Definition at line 52 of file scriptconsole.h.

◆ ID_BITMAPBUTTON1

const long ScriptConsole::ID_BITMAPBUTTON1 = wxNewId()
static

Definition at line 37 of file scriptconsole.h.

◆ ID_BITMAPBUTTON2

const long ScriptConsole::ID_BITMAPBUTTON2 = wxNewId()
static

Definition at line 38 of file scriptconsole.h.

◆ ID_BITMAPBUTTON3

const long ScriptConsole::ID_BITMAPBUTTON3 = wxNewId()
static

Definition at line 39 of file scriptconsole.h.

◆ ID_COMBOBOX1

const long ScriptConsole::ID_COMBOBOX1 = wxNewId()
static

Definition at line 36 of file scriptconsole.h.

◆ ID_PANEL1

const long ScriptConsole::ID_PANEL1 = wxNewId()
static

Definition at line 40 of file scriptconsole.h.

◆ ID_STATICTEXT1

const long ScriptConsole::ID_STATICTEXT1 = wxNewId()
static

Definition at line 35 of file scriptconsole.h.

◆ ID_TEXTCTRL1

const long ScriptConsole::ID_TEXTCTRL1 = wxNewId()
static

Definition at line 34 of file scriptconsole.h.

◆ lblCommand

wxStaticText* ScriptConsole::lblCommand
protected

Definition at line 57 of file scriptconsole.h.

◆ Panel1

wxPanel* ScriptConsole::Panel1
protected

Definition at line 51 of file scriptconsole.h.

◆ txtCommand

wxComboBox* ScriptConsole::txtCommand
protected

Definition at line 53 of file scriptconsole.h.

Referenced by OnbtnClearClick(), OnbtnExecuteClick(), and OnbtnLoadClick().

◆ txtConsole

wxTextCtrl* ScriptConsole::txtConsole
protected

Definition at line 56 of file scriptconsole.h.

Referenced by Log(), OnbtnClearClick(), OnbtnExecuteClick(), and OnbtnLoadClick().


The documentation for this class was generated from the following files: