forked from springlobby/springlobby
/
introguide.h
61 lines (54 loc) · 1.2 KB
/
introguide.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
#ifndef INTROGUIDE_H
#define INTROGUIDE_H
#include <wx/frame.h>
#include <wx/string.h>
class wxTextCtrl;
class wxToggleButton;
class wxCheckBox;
class wxTextUrlEvent;
class wxCommandEvent;
class IntroGuide : public wxFrame
{
public:
IntroGuide();
void OnSpringDesc( wxCommandEvent& event );
void OnInstallDesc( wxCommandEvent& event );
void OnSingleDesc( wxCommandEvent& event );
void OnMultiDesc( wxCommandEvent& event );
void OnGraphicTroubles( wxCommandEvent& event );
void OnWikiLinks( wxCommandEvent& event );
void OnLinkEvent( wxTextUrlEvent& event );
private:
wxString SpringOverview;
wxString InstallOverview;
wxString SinglePlayer;
wxString MultiPlayer;
wxString GraphicProblems;
wxString UsefulLinks;
wxTextCtrl* m_text_stuff;
#if wxUSE_TOGGLEBTN
typedef wxToggleButton
ButtonType;
#else
typedef wxCheckBox
ButtonType;
#endif
ButtonType* SpringDescription;
ButtonType* InstallingContent;
ButtonType* SingleDescription;
ButtonType* MultiDescription;
ButtonType* GraphicTroubles;
ButtonType* WikiLinks;
enum
{
TEXT_DISPLAY = wxID_HIGHEST,
SPRING_DESC,
MULTI_DESC,
SINGLE_DESC,
INSTALL_DESC,
GRAPHIC_TROUB,
HELP_LINKS
};
DECLARE_EVENT_TABLE()
};
#endif // INTROGUIDE_H