forked from mhernando/Apolo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchangeVertex.h
More file actions
31 lines (24 loc) · 825 Bytes
/
changeVertex.h
File metadata and controls
31 lines (24 loc) · 825 Bytes
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
#ifndef __APOLO__CHANGE_VERTEX__H
#define __APOLO__CHANGE_VERTEX__H
#include "pointsList.h"
#include <wx/button.h>
class PointsList;
class ChangeVertex:public wxDialog
{
public:
ChangeVertex(wxWindow *parent, wxWindowID id, const wxString& title,const wxString& old_x,const wxString& old_y);
void OnButton(wxCommandEvent& event);
void VertexChanged(wxString vert_x,wxString vert_y);
Vector2D GetNewVertex(){return newVertex;}
void OnValuesChange();//wxCommandEvent& event);
private:
bool emptyvertex;
wxPanel *panel;
wxButton *accept,*cancel;
wxStaticText* vert_old_x,*vert_old_y,*vert_new_x,*vert_new_y;
wxTextCtrl* name_box1,*name_box2,*name_box3,*name_box4;
Vector2D newVertex,oldVertex;
PointsList* pointlist;
DECLARE_EVENT_TABLE();
};
#endif // __APOLO__CHANGE_VERTEX__H