Code::Blocks
SVN r11506
src
scriptconsole.h
Go to the documentation of this file.
1
/*
2
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3
* http://www.gnu.org/licenses/gpl-3.0.html
4
*/
5
6
#ifndef SCRIPTCONSOLE_H
7
#define SCRIPTCONSOLE_H
8
9
#include <wx/wxprec.h>
10
11
#ifdef __BORLANDC__
12
#pragma hdrstop
13
#endif
14
15
//(*Headers(ScriptConsole)
16
#include <
wx/bmpbuttn.h
>
17
#include <
wx/combobox.h
>
18
#include <
wx/sizer.h
>
19
#include <
wx/panel.h
>
20
#include <
wx/stattext.h
>
21
#include <
wx/textctrl.h
>
22
//*)
23
24
class
ScriptConsole
:
public
wxPanel
25
{
26
public
:
27
28
ScriptConsole
(
wxWindow
* parent,
wxWindowID
id
= -1);
29
virtual
~ScriptConsole
();
30
31
void
Log
(
const
wxString
& msg);
32
33
//(*Identifiers(ScriptConsole)
34
static
const
long
ID_TEXTCTRL1
;
35
static
const
long
ID_STATICTEXT1
;
36
static
const
long
ID_COMBOBOX1
;
37
static
const
long
ID_BITMAPBUTTON1
;
38
static
const
long
ID_BITMAPBUTTON2
;
39
static
const
long
ID_BITMAPBUTTON3
;
40
static
const
long
ID_PANEL1
;
41
//*)
42
43
protected
:
44
//(*Handlers(ScriptConsole)
45
void
OnbtnExecuteClick
(
wxCommandEvent
& event);
46
void
OnbtnLoadClick
(
wxCommandEvent
& event);
47
void
OnbtnClearClick
(
wxCommandEvent
& event);
48
//*)
49
50
//(*Declarations(ScriptConsole)
51
wxPanel
*
Panel1
;
52
wxBitmapButton
*
btnLoad
;
53
wxComboBox
*
txtCommand
;
54
wxBitmapButton
*
btnExecute
;
55
wxBitmapButton
*
btnClear
;
56
wxTextCtrl
*
txtConsole
;
57
wxStaticText
*
lblCommand
;
58
//*)
59
60
private
:
61
62
DECLARE_EVENT_TABLE()
63
};
64
65
#endif
wxBitmapButton
wxComboBox
ScriptConsole::ID_PANEL1
static const long ID_PANEL1
Definition:
scriptconsole.h:40
ScriptConsole::OnbtnLoadClick
void OnbtnLoadClick(wxCommandEvent &event)
Definition:
scriptconsole.cpp:168
ScriptConsole::Log
void Log(const wxString &msg)
Definition:
scriptconsole.cpp:136
ScriptConsole::ID_BITMAPBUTTON1
static const long ID_BITMAPBUTTON1
Definition:
scriptconsole.h:37
ScriptConsole::OnbtnExecuteClick
void OnbtnExecuteClick(wxCommandEvent &event)
Definition:
scriptconsole.cpp:145
ScriptConsole::ID_COMBOBOX1
static const long ID_COMBOBOX1
Definition:
scriptconsole.h:36
ScriptConsole::ID_STATICTEXT1
static const long ID_STATICTEXT1
Definition:
scriptconsole.h:35
ScriptConsole::Panel1
wxPanel * Panel1
Definition:
scriptconsole.h:51
bmpbuttn.h
wxCommandEvent
wxTextCtrl
textctrl.h
wxString
ScriptConsole::btnClear
wxBitmapButton * btnClear
Definition:
scriptconsole.h:55
ScriptConsole
Definition:
scriptconsole.h:24
ScriptConsole::txtConsole
wxTextCtrl * txtConsole
Definition:
scriptconsole.h:56
ScriptConsole::txtCommand
wxComboBox * txtCommand
Definition:
scriptconsole.h:53
ScriptConsole::ScriptConsole
ScriptConsole(wxWindow *parent, wxWindowID id=-1)
Definition:
scriptconsole.cpp:66
ScriptConsole::ID_BITMAPBUTTON2
static const long ID_BITMAPBUTTON2
Definition:
scriptconsole.h:38
ScriptConsole::btnExecute
wxBitmapButton * btnExecute
Definition:
scriptconsole.h:54
ScriptConsole::ID_TEXTCTRL1
static const long ID_TEXTCTRL1
Definition:
scriptconsole.h:34
sizer.h
wxPanel
wxStaticText
ScriptConsole::btnLoad
wxBitmapButton * btnLoad
Definition:
scriptconsole.h:52
stattext.h
ScriptConsole::~ScriptConsole
virtual ~ScriptConsole()
Definition:
scriptconsole.cpp:123
ScriptConsole::lblCommand
wxStaticText * lblCommand
Definition:
scriptconsole.h:57
ScriptConsole::ID_BITMAPBUTTON3
static const long ID_BITMAPBUTTON3
Definition:
scriptconsole.h:39
wxWindowID
int wxWindowID
wxWindow
panel.h
ScriptConsole::OnbtnClearClick
void OnbtnClearClick(wxCommandEvent &event)
Definition:
scriptconsole.cpp:192
combobox.h
Generated by
1.8.13