forked from mhernando/Apolo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwheeledBasePanel.h
46 lines (39 loc) · 1.03 KB
/
wheeledBasePanel.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
#ifndef __APOLO__WHEELED_BASE_PANEL__H
#define __APOLO__WHEELED_BASE_PANEL__H
#include "apoloPanel.h"
#include "definitions.h"
#include "nodeTree.h"
#include "simulatedWorld.h"
#include "manageWindows.h"
#include <wx/wx.h>
#include "bitmaps/up.xpm"
#include "bitmaps/down.xpm"
#include "bitmaps/left.xpm"
#include "bitmaps/right.xpm"
#include "bitmaps/stop.xpm"
class MainWindow;
class ManageWindows;
class WheeledBasePanel : public wxFrame
{
public:
WheeledBasePanel(wxWindow *parent,wxWindowID id,const wxString& title_frame,NodeTree* itemData);
void OnButton(wxCommandEvent& event);
wxStaticText* getTitle(){return title;}
NodeTree* getItemNode () {return itemnode;}
void OnClose(wxCloseEvent& event);
void setManageWindow (ManageWindows* mg);
void Delete();
private:
wxStaticText* title;
MainWindow *mainWin;
NodeTree * itemnode;
wxPanel *panel;
wxButton *up;
wxButton *down;
wxButton *stop;
wxButton *left;
wxButton *right;
ManageWindows* managewindow;
DECLARE_EVENT_TABLE();
};
#endif // __APOLO__WHEELED_BASE_PANEL__H