-
Notifications
You must be signed in to change notification settings - Fork 1
/
GandrGUIMain.h
51 lines (43 loc) · 1.26 KB
/
GandrGUIMain.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
/***************************************************************
* Name: GandrguiMain.h
* Desc.: This code is part of the software GANDR GUI,
* developed to provide a user friendly interface to
* some of the functions of GANDR software.
* Purpose: Define GandrguiFrame class.
* Author: Jan ([email protected])
* Created: 2018-09-12
* License: GPL-3
**************************************************************/
#ifndef GANDRGUIMAIN_H
#define GANDRGUIMAIN_H
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "GandrGUIApp.h"
#include "EventListPanel.h"
class GandrguiFrame : public wxFrame
{
public:
GandrguiFrame(wxFrame *frame, const wxString& title);
~GandrguiFrame();
EventListPanel *eventPanel;
private:
enum
{
idMenuQuit = 1000,
idMenuLoad = 1001,
idMenuSave = 1002,
idMenuPref = 1004,
idMenuAbout,
idMenuDocs
};
void OnClose(wxCloseEvent& event);
void OnLoad(wxCommandEvent & event);
void OnSave(wxCommandEvent & event);
void OnPref(wxCommandEvent & event);
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
void OnDocs(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
};
#endif // GANDRGUIMAIN_H