Debian Codegraph @

CodeLite/TerminalEmulatorUIBase.h

raw
1 //////////////////////////////////////////////////////////////////////
2 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: TerminalEmulatorUI.wxcp
4 // Do not modify this file by hand!
5 //////////////////////////////////////////////////////////////////////
6
7 #ifndef _CODELITE_CODELITE_TERMINALEMULATORUI_BASE_CLASSES_H
8 #define _CODELITE_CODELITE_TERMINALEMULATORUI_BASE_CLASSES_H
9
10 // clang-format off
11 #include <wx/settings.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/xrc/xh_bmp.h>
14 #include <wx/panel.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/stc/stc.h>
18 #include <wx/textctrl.h>
19 #include <wx/frame.h>
20 #include <wx/iconbndl.h>
21 #if wxVERSION_NUMBER >= 2900
22 #include <wx/persist.h>
23 #include <wx/persist/toplevel.h>
24 #include <wx/persist/bookctrl.h>
25 #include <wx/persist/treebook.h>
26 #endif
27
28 #ifdef WXC_FROM_DIP
29 #undef WXC_FROM_DIP
30 #endif
31 #if wxVERSION_NUMBER >= 3100
32 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
33 #else
34 #define WXC_FROM_DIP(x) x
35 #endif
36
37 #include "codelite_exports.h"
38 // clang-format on
39
40 class WXDLLIMPEXP_CL TerminalEmulatorUIBase : public wxPanel
41 {
42 protected:
43 wxStyledTextCtrl* m_stc;
44 wxTextCtrl* m_textCtrl;
45
46 protected:
47 virtual void OnSendCommand(wxCommandEvent& event) { event.Skip(); }
48
49 public:
50 wxStyledTextCtrl* GetStc() { return m_stc; }
51 wxTextCtrl* GetTextCtrl() { return m_textCtrl; }
52 TerminalEmulatorUIBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
53 const wxSize& size = wxSize(500, 300), long style = wxTAB_TRAVERSAL);
54 virtual ~TerminalEmulatorUIBase();
55 };
56
57 class WXDLLIMPEXP_CL TerminalEmulatorFrameBase : public wxFrame
58 {
59 protected:
60 protected:
61 public:
62 TerminalEmulatorFrameBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Terminal"),
63 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500, 300),
64 long style = wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT | wxRESIZE_BORDER);
65 virtual ~TerminalEmulatorFrameBase();
66 };
67
68 #endif