Code::Blocks  SVN r11506
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)
58  //*)
59 
60  private:
61 
62  DECLARE_EVENT_TABLE()
63 };
64 
65 #endif
static const long ID_PANEL1
Definition: scriptconsole.h:40
void OnbtnLoadClick(wxCommandEvent &event)
void Log(const wxString &msg)
static const long ID_BITMAPBUTTON1
Definition: scriptconsole.h:37
void OnbtnExecuteClick(wxCommandEvent &event)
static const long ID_COMBOBOX1
Definition: scriptconsole.h:36
static const long ID_STATICTEXT1
Definition: scriptconsole.h:35
wxPanel * Panel1
Definition: scriptconsole.h:51
wxBitmapButton * btnClear
Definition: scriptconsole.h:55
wxTextCtrl * txtConsole
Definition: scriptconsole.h:56
wxComboBox * txtCommand
Definition: scriptconsole.h:53
ScriptConsole(wxWindow *parent, wxWindowID id=-1)
static const long ID_BITMAPBUTTON2
Definition: scriptconsole.h:38
wxBitmapButton * btnExecute
Definition: scriptconsole.h:54
static const long ID_TEXTCTRL1
Definition: scriptconsole.h:34
wxBitmapButton * btnLoad
Definition: scriptconsole.h:52
virtual ~ScriptConsole()
wxStaticText * lblCommand
Definition: scriptconsole.h:57
static const long ID_BITMAPBUTTON3
Definition: scriptconsole.h:39
int wxWindowID
void OnbtnClearClick(wxCommandEvent &event)