~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxCrafterCB/UI.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//////////////////////////////////////////////////////////////////////
 
2
// This file was auto-generated by codelite's wxCrafter Plugin
 
3
// wxCrafter project file: UI.wxcp
 
4
// Do not modify this file by hand!
 
5
//////////////////////////////////////////////////////////////////////
 
6
 
 
7
#ifndef UI_BASE_CLASSES_H
 
8
#define UI_BASE_CLASSES_H
 
9
 
 
10
#include <wx/settings.h>
 
11
#include <wx/xrc/xmlres.h>
 
12
#include <wx/xrc/xh_bmp.h>
 
13
#include <wx/panel.h>
 
14
#include <wx/artprov.h>
 
15
#include <wx/sizer.h>
 
16
#include <wx/pen.h>
 
17
#include <wx/aui/auibar.h>
 
18
#include <map>
 
19
#include <wx/menu.h>
 
20
#include <wx/toolbar.h>
 
21
#include <wx/treectrl.h>
 
22
#include <wx/imaglist.h>
 
23
#include <wx/bitmap.h>
 
24
#include <wx/icon.h>
 
25
#include <wx/dialog.h>
 
26
#include <wx/iconbndl.h>
 
27
#include <wx/stattext.h>
 
28
#include <wx/choice.h>
 
29
#include <wx/arrstr.h>
 
30
#include <wx/filepicker.h>
 
31
#include <wx/button.h>
 
32
#include <wx/wizard.h>
 
33
#include <vector>
 
34
#include <wx/statbox.h>
 
35
#include <wx/textctrl.h>
 
36
 
 
37
class wxCrafterTabBase : public wxPanel
 
38
{
 
39
public:
 
40
    enum {
 
41
        ID_TOOL_NEW_PROJECT = 1001,
 
42
        ID_TOOL_NEW_RESOURCE = 1002,
 
43
        ID_TOOL_SETTINGS = 1003,
 
44
    };
 
45
protected:
 
46
    wxAuiToolBar* m_auibar;
 
47
    wxTreeCtrl* m_treeCtrl;
 
48
 
 
49
protected:
 
50
    virtual void OnNewCBProject(wxCommandEvent& event) { event.Skip(); }
 
51
    virtual void OnNewWxCrafterFile(wxCommandEvent& event) { event.Skip(); }
 
52
    virtual void OnNewWxCrafterFileUI(wxUpdateUIEvent& event) { event.Skip(); }
 
53
    virtual void OnSettings(wxCommandEvent& event) { event.Skip(); }
 
54
    virtual void OnItemActivated(wxTreeEvent& event) { event.Skip(); }
 
55
    virtual void OnItemMenu(wxTreeEvent& event) { event.Skip(); }
 
56
 
 
57
public:
 
58
    wxCrafterTabBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500,300), long style = wxTAB_TRAVERSAL);
 
59
    virtual ~wxCrafterTabBase();
 
60
};
 
61
 
 
62
 
 
63
class wxcImages : public wxImageList
 
64
{
 
65
protected:
 
66
    // Maintain a map of all bitmaps representd by their name
 
67
    std::map<wxString, wxBitmap> m_bitmaps;
 
68
 
 
69
 
 
70
protected:
 
71
 
 
72
public:
 
73
    wxcImages();
 
74
    const wxBitmap& Bitmap(const wxString &name) const {
 
75
        if ( !m_bitmaps.count(name) )
 
76
            return wxNullBitmap;
 
77
        return m_bitmaps.find(name)->second;
 
78
    }
 
79
    virtual ~wxcImages();
 
80
};
 
81
 
 
82
 
 
83
class NewWxCrafterFileDlgBase : public wxDialog
 
84
{
 
85
protected:
 
86
    wxStaticText* m_staticText48;
 
87
    wxChoice* m_choiceProjects;
 
88
    wxStaticText* m_staticText52;
 
89
    wxFilePickerCtrl* m_filePicker;
 
90
    wxStdDialogButtonSizer* m_stdBtnSizer38;
 
91
    wxButton* m_buttonOK;
 
92
    wxButton* m_button42;
 
93
 
 
94
protected:
 
95
    virtual void OnProjectSelected(wxCommandEvent& event) { event.Skip(); }
 
96
    virtual void OnButtonOKUI(wxUpdateUIEvent& event) { event.Skip(); }
 
97
 
 
98
public:
 
99
    NewWxCrafterFileDlgBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New wxCrafter Resource"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
 
100
    virtual ~NewWxCrafterFileDlgBase();
 
101
};
 
102
 
 
103
 
 
104
class NewCodeBlocksProjectWizardBase : public wxWizard
 
105
{
 
106
protected:
 
107
    std::vector<wxWizardPageSimple*> m_pages;
 
108
 
 
109
    wxWizardPageSimple* m_wizardPage82;
 
110
    wxStaticText* m_staticText98;
 
111
    wxStaticText* m_staticText112;
 
112
    wxStaticText* m_staticText106;
 
113
    wxTextCtrl* m_textCtrlProjectName;
 
114
    wxStaticText* m_staticText102;
 
115
    wxDirPickerCtrl* m_dirPickerProjectFolder;
 
116
    wxStaticText* m_staticTextProjectPathPreview;
 
117
    wxWizardPageSimple* m_wizardPage78;
 
118
    wxStaticText* m_staticText92;
 
119
    wxStaticText* m_staticText114;
 
120
    wxStaticText* m_staticText116;
 
121
    wxDirPickerCtrl* m_dirPickerWxPath;
 
122
    wxStaticText* m_staticText120;
 
123
    wxChoice* m_choiceBuildType;
 
124
    wxStaticText* m_staticText124;
 
125
    wxTextCtrl* m_textCtrlComponents;
 
126
 
 
127
protected:
 
128
    virtual void OnPageChanging(wxWizardEvent& event) { event.Skip(); }
 
129
    virtual void OnProjectNameUpdated(wxCommandEvent& event) { event.Skip(); }
 
130
    virtual void OnProjectFolderPathChanged(wxFileDirPickerEvent& event) { event.Skip(); }
 
131
    virtual void OnEnableIfMSW(wxUpdateUIEvent& event) { event.Skip(); }
 
132
 
 
133
public:
 
134
    NewCodeBlocksProjectWizardBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("New Code::Blocks + wxCrafter Project"), const wxBitmap& bmp = wxNullBitmap, const wxPoint& pos = wxDefaultPosition, long style = wxDEFAULT_DIALOG_STYLE);
 
135
    wxWizardPageSimple* GetFirstPage() const { if(!m_pages.empty()) return m_pages.at(0); return NULL; }
 
136
    virtual ~NewCodeBlocksProjectWizardBase();
 
137
};
 
138
 
 
139
 
 
140
class wxCrafterSettingsDlgBase : public wxDialog
 
141
{
 
142
protected:
 
143
    wxStaticText* m_staticText146;
 
144
    wxTextCtrl* m_textCtrlPath;
 
145
    wxButton* m_buttonBrowse;
 
146
    wxStdDialogButtonSizer* m_stdBtnSizer138;
 
147
    wxButton* m_buttonOK;
 
148
    wxButton* m_buttonCancel;
 
149
 
 
150
protected:
 
151
    virtual void OnBrowse(wxCommandEvent& event) { event.Skip(); }
 
152
    virtual void OnOKUI(wxUpdateUIEvent& event) { event.Skip(); }
 
153
    virtual void OnOK(wxCommandEvent& event) { event.Skip(); }
 
154
 
 
155
public:
 
156
    wxCrafterSettingsDlgBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("wxCrafter Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
 
157
    virtual ~wxCrafterSettingsDlgBase();
 
158
};
 
159
 
 
160
#endif