-
Notifications
You must be signed in to change notification settings - Fork 0
/
InnoEditor.h
84 lines (65 loc) · 1.53 KB
/
InnoEditor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#ifndef INNOEDITOR_H
#define INNOEDITOR_H
#include <cbeditor.h>
#include <manager.h>
#include <filemanager.h>
#include <configmanager.h>
#include <editorcolourset.h>
//(*Headers(InnoEditor)
#include <wx/listctrl.h>
#include <wx/treectrl.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include <wx/bmpbuttn.h>
#include <wx/imaglist.h>
#include <wx/button.h>
//*)
#include <wx/imaglist.h>
#include <wx/icon.h>
#include <list>
#include <cbstyledtextctrl.h>
#include <wx/process.h>
#include "InnoScript.h"
#include "Consume.h"
class InnoEditor: public cbEditor
{
public:
InnoEditor( wxWindow* parent, const wxString& filename, int log);
virtual ~InnoEditor();
void UpdateView();
//(*Declarations(InnoEditor)
wxListCtrl* ListCtrl1;
wxButton* Button1;
wxImageList* ImageList;
wxPanel* Panel1;
wxBitmapButton* m_build;
wxTreeCtrl* TreeCtrl1;
//*)
bool Save();
void OnProcessEnd(cb_unused wxProcessEvent& evt);
protected:
//(*Identifiers(InnoEditor)
static const long ID_BUILDBUTTON;
static const long ID_TREECTRL1;
static const long ID_BUTTON1;
static const long ID_LISTCTRL1;
static const long ID_PANEL1;
//*)
private:
//(*Handlers(InnoEditor)
void OnTreeCtrl1ItemActivated(wxTreeEvent& event);
void OnbuildClick(wxCommandEvent& event);
//*)
int m_log_pos;
wxString m_name;
wxString m_file;
InnoPart inno_part;
InnoScript m_script;
bool m_running;
wxInputStream* m_out;
wxInputStream* m_err;
Consume* m_consume;
wxString m_content;
DECLARE_EVENT_TABLE()
};
#endif