-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainFrame.h
40 lines (29 loc) · 833 Bytes
/
MainFrame.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
#ifndef MAINFRAME_H
#define MAINFRAME_H
#include <wx/timer.h>
#include "wxcrafter.h"
#include "Node.h"
#include "NodeDisplay.h"
const std::string MESH_STAT_VERSION = "0.10.0";
class MainFrame : public MainFrameBaseClass
{
public:
MainFrame(wxWindow* parent);
virtual ~MainFrame();
virtual void OnExit(wxCommandEvent& event);
virtual void OnClose(wxCloseEvent& event);
virtual void OnAbout(wxCommandEvent& event);
virtual void OnCredits(wxCommandEvent& event);
virtual void OnRefresh(wxCommandEvent& event);
virtual void OnProbeAll(wxTimerEvent& event);
void refresh();
void probeAllNodes();
protected:
virtual void OnTest1(wxCommandEvent& event);
private:
NodeMap nodes;
NodeDisplayMap node_displays;
bool close_requested;
bool probing;
};
#endif // MAINFRAME_H