72 wxStatusBar* m_Status;
75 wxButton* m_BtnUpdate;
78 void CreateControls();
81 void SetStatusSelectedID(
long oid);
83 void SetStatusNumberVertex(
int ivertexnumber);
86 void UpdateAddVertexButton(
bool selection);
88 void UpdateRemoveVertexButton(
bool selection);
90 void UpdateHighlightVertexButton(
bool selection);
92 void UpdateSaveButton();
95 bool IsAllCellsNumber(
int& col,
int& row);
98 bool GridInsertLine(
int iIndex = -1, wxRealPoint* pt =
nullptr);
102 int GridGetSelection();
105 void OnVertexAdd(wxCommandEvent& event);
107 void OnVertexRemove(wxCommandEvent& event);
109 void OnVertexHighlight(wxCommandEvent& event);
111 void OnIdleTime(wxIdleEvent& event);
113 void OnSave(wxCommandEvent& event);
115 DECLARE_EVENT_TABLE();
119 EditVertexDLG(wxWindow* parent, wxWindowID
id = wxID_ANY,
const wxString& title = _(
"Edit Vertex"),
120 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
121 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
126 wxArrayRealPoints m_VertexPts;