1 |
+ |
/***************************************************************************\ |
2 |
+ |
| Project: AE Installer | |
3 |
+ |
| By: Gumby & Iritscen | |
4 |
+ |
| File: Main_Window.h | |
5 |
+ |
| Function: Handles GUI. | |
6 |
+ |
| Created: 07/05/2009 20:38:25 | |
7 |
+ |
\***************************************************************************/ |
8 |
|
|
9 |
|
|
3 |
– |
///////////////////////////////////////////////////////////////////////////// |
4 |
– |
// Name: main_window.h |
5 |
– |
// Purpose: |
6 |
– |
// Author: |
7 |
– |
// Modified by: |
8 |
– |
// Created: 07/05/2009 20:38:25 |
9 |
– |
// RCS-ID: |
10 |
– |
// Copyright: |
11 |
– |
// Licence: |
12 |
– |
///////////////////////////////////////////////////////////////////////////// |
13 |
– |
|
10 |
|
#ifndef _MAINWINDOW_H_ |
11 |
|
#define _MAINWINDOW_H_ |
12 |
|
|
17 |
– |
|
13 |
|
/*! |
14 |
|
* Includes |
15 |
|
*/ |
16 |
< |
|
16 |
> |
#pragma mark INCLUDES |
17 |
|
////@begin includes |
18 |
+ |
#include "wx/bmpbuttn.h" |
19 |
+ |
#include "wx/checkbox.h" |
20 |
+ |
#include "wx/checklst.h" |
21 |
|
#include "wx/frame.h" |
22 |
+ |
#include "wx/gauge.h" |
23 |
+ |
#include "wx/generic/panelg.h" |
24 |
+ |
#include "wx/radiobut.h" |
25 |
|
#include "wx/splitter.h" |
26 |
|
#include "wx/statline.h" |
27 |
|
#include "wx/statusbr.h" |
28 |
+ |
#include "wx/textctrl.h" |
29 |
+ |
#include <vector> |
30 |
+ |
using namespace std; |
31 |
|
////@end includes |
32 |
|
|
33 |
|
/*! |
42 |
|
/*! |
43 |
|
* Control identifiers |
44 |
|
*/ |
45 |
< |
|
45 |
> |
#pragma mark DEFINES |
46 |
|
////@begin control identifiers |
47 |
|
#define ID_MAINWINDOW 10000 |
48 |
|
#define ID_SPLITTERWINDOW 10001 |
72 |
|
#define SYMBOL_MAINWINDOW_POSITION wxDefaultPosition |
73 |
|
////@end control identifiers |
74 |
|
|
71 |
– |
|
75 |
|
/*! |
76 |
|
* MainWindow class declaration |
77 |
|
*/ |
78 |
|
|
79 |
< |
using namespace std; |
77 |
< |
|
78 |
< |
#include <vector> |
79 |
< |
|
79 |
> |
#pragma mark CLASS DECLARATIONS |
80 |
|
class MainWindow: public wxFrame |
81 |
|
{ |
82 |
|
DECLARE_CLASS( MainWindow ) |
85 |
|
public: |
86 |
|
/// Constructors |
87 |
|
MainWindow(); |
88 |
< |
MainWindow( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); |
88 |
> |
MainWindow( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, |
89 |
> |
const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); |
90 |
|
|
91 |
< |
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); |
91 |
> |
bool Create( wxWindow* parent, wxWindowID id = SYMBOL_MAINWINDOW_IDNAME, const wxString& caption = SYMBOL_MAINWINDOW_TITLE, |
92 |
> |
const wxPoint& pos = SYMBOL_MAINWINDOW_POSITION, const wxSize& size = SYMBOL_MAINWINDOW_SIZE, long style = SYMBOL_MAINWINDOW_STYLE ); |
93 |
|
|
94 |
|
/// Destructor |
95 |
|
~MainWindow(); |
191 |
|
|
192 |
|
#endif |
193 |
|
// _MAINWINDOW_H_ |
192 |
– |
void doglobalizeData(void); |