-
Notifications
You must be signed in to change notification settings - Fork 0
/
cMain.h
59 lines (39 loc) · 1.3 KB
/
cMain.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
#pragma once
#include "wx/wx.h"
// Declare the main frame class derived from wxFrame
class cMain : public wxFrame
{
public:
// Constructor
cMain();
// Destructor
~cMain();
// List box to display attractions
wxListBox* list1 = nullptr;
// Button to start generation
wxButton* btn1 = nullptr;
wxScrolledWindow* panel = nullptr;
wxBoxSizer* sizer = nullptr;
// Combo box to select the **hour** of the start time
wxComboBox* hour_comboBox = nullptr;
// Combo box to select the **hour** of the start time
wxComboBox* minute_comboBox = nullptr;
// Combo box to select hotel
wxComboBox* hotel_comboBox = nullptr;
// Checkbox for shortest past (with distance) Mode
wxCheckBox* checkbox1 = nullptr;
// Checkbox for Single Rider Mode
wxCheckBox* checkbox2 = nullptr;
// Combo box to select walking speed
wxComboBox* speed_comboBox = nullptr;
// Curser to select the complexity of the generation (influence on the time taken)
wxSlider* complexity_slider = nullptr;
wxComboBox* folderComboBox = nullptr;
wxButton* resetButton = nullptr;
// Event handler for starting generation
void StartGeneration(wxCommandEvent& evt);
// Event handler for resetting the application
void ResetApplication(wxCommandEvent& evt);
// Event table declaration for handling events
wxDECLARE_EVENT_TABLE();
};