Skyscraper 2.0
textwindow.h
Go to the documentation of this file.
1/*
2 Skyscraper 2.0 Alpha - Text Dialog
3 Copyright (C)2003-2024 Ryan Thoryk
4 https://www.skyscrapersim.net
5 https://sourceforge.net/projects/skyscraper/
6 Contact - ryan@skyscrapersim.net
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; either version 2
11 of the License, or (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21*/
22
23#ifndef TEXTWINDOW_H
24#define TEXTWINDOW_H
25
26#include "vm.h"
27
28//(*Headers(TextWindow)
29#include <wx/button.h>
30#include <wx/dialog.h>
31#include <wx/sizer.h>
32#include <wx/textctrl.h>
33//*)
34
35namespace Skyscraper {
36
37class VMIMPEXP TextWindow: public wxDialog
38{
39 public:
40
41 TextWindow(wxWindow* parent,wxWindowID id=wxID_ANY,const wxPoint& pos=wxDefaultPosition,const wxSize& size=wxDefaultSize);
42 virtual ~TextWindow();
43
44 //(*Declarations(TextWindow)
45 wxButton* bOK;
46 wxTextCtrl* tMain;
47 //*)
48
49 protected:
50
51 //(*Identifiers(TextWindow)
52 static const long ID_tMain;
53 static const long ID_bOK;
54 //*)
55
56 private:
57
58 //(*Handlers(TextWindow)
59 void On_bOK_Click(wxCommandEvent& event);
60 //*)
61
62 DECLARE_EVENT_TABLE()
63};
64
65}
66
67#endif
static const long ID_tMain
Definition textwindow.h:52
static const long ID_bOK
Definition textwindow.h:53
#define VMIMPEXP
Definition vm.h:49