-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCAAppFrame.h
86 lines (73 loc) · 2.47 KB
/
CAAppFrame.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
85
86
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Oct 26 2018)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/font.h>
#include <wx/grid.h>
#include <wx/gdicmn.h>
#include <wx/sizer.h>
#include <wx/panel.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/notebook.h>
#include <wx/stattext.h>
#include <wx/spinctrl.h>
#include <wx/listbox.h>
#include <wx/button.h>
#include <wx/frame.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class MainFrame
///////////////////////////////////////////////////////////////////////////////
class MainFrame : public wxFrame
{
private:
protected:
wxPanel* m_panel3;
wxGrid* m_PlayerOffers;
wxNotebook* m_ItemsNotebook;
wxPanel* m_panel8;
wxGrid* m_Items;
wxNotebook* m_WinnersNotebook;
wxPanel* m_panel7;
wxGrid* m_Winners;
wxPanel* m_panel4;
wxStaticText* m_staticText8;
wxStaticText* m_staticText2;
wxSpinCtrl* m_nPlayers;
wxStaticText* m_staticText3;
wxSpinCtrl* m_nItems;
wxStaticText* m_staticText4;
wxSpinCtrl* m_MaxComplements;
wxStaticText* m_staticText5;
wxSpinCtrl* m_MaxItemsPerPlayer;
wxStaticText* m_staticText6;
wxSpinCtrl* m_Seed;
wxStaticText* m_staticText7;
wxSpinCtrl* m_MaxPrice;
wxPanel* m_panel2;
wxStaticText* m_staticText1;
wxListBox* m_Methods;
wxButton* m_ComputeButton;
wxButton* m_ResetButton;
wxButton* m_RandomButton;
wxPanel* m_panel6;
wxGrid* m_grid4;
// Virtual event handlers, overide them in your derived class
virtual void m_nPlayersOnSpinCtrl(wxSpinEvent& event) { event.Skip(); }
virtual void m_ComputeButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void m_ResetButtonClick(wxCommandEvent& event) { event.Skip(); }
virtual void m_RandomButtonClick(wxCommandEvent& event) { event.Skip(); }
public:
MainFrame(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(1070, 677), long style = wxDEFAULT_FRAME_STYLE | wxTAB_TRAVERSAL);
~MainFrame();
};