General information:Author: Version: 1.0 Date: Mon Oct 25 15:55:14 MET 1999 |
Header files:
|
Code files:
|
each with info on the distance (x, y and total) and the angle between this point and the startpoint. Selecting a new startpoint, will clear all relative points. When Clear is clicked, all relative points are removed and startpoint is set at (0,0). This also happens when a the program is started or when a new file is loaded.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
DistanceDlg(GDSMainWindow*,char*,long style = &&BRAKOwxTHICK_FRAME | wxCAPTION&&BRAKC,char *name=&"Dframe&"D)
Description:
Constructor.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
~DistanceDlg()
Description:
Destructor.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void hide()
Description:
Hide window if HIDE-button is pressed.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void OnCloseWindow(wxCloseEvent& event)
Description:
Close window if EXIT-button is pressed.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void addCommand(char *)
Description:
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void setStartPoint(double, double)
Description:
Set startpoint x and y.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void setRelPoint(double, double)
Description:
Set relative point.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void ClearMe()
Description:
Clear all settings.
scope: protected | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
DECLARE_EVENT_TABLE()
Description:
Declare used events.
scope: protected | type: basic | typename: GDSMainWindow* |
Declaration:
GDSMainWindow* _parent
Description:
Pointer to mainwindow.
scope: protected | type: basic | typename: wxStaticText* |
Declaration:
wxStaticText* _m_start
Description:
wxWindows class.
scope: protected | type: basic | typename: wxStaticText* |
Declaration:
wxStaticText* _m_lb
Description:
wxWindows class.
scope: protected | type: basic | typename: wxPanel* |
Declaration:
wxPanel* _panel
Description:
wxWindows class.
scope: protected | type: basic | typename: wxButton* |
Declaration:
wxButton* _clearButton
Description:
wxWindows class.
scope: protected | type: basic | typename: wxButton* |
Declaration:
wxButton* _hideButton
Description:
wxWindows class.
scope: protected | type: basic | typename: wxTextCtrl* |
Declaration:
wxTextCtrl* _editField
Description:
wxWindows class.
scope: protected | type: basic | typename: wxListBox* |
Declaration:
wxListBox* _lb
Description:
wxWindows class.
scope: protected | type: basic | typename: char |
Declaration:
char _temp_char[60]
Description:
scope: protected | type: basic | typename: char |
Declaration:
char _start_point[30]
Description:
scope: protected | type: basic | typename: double |
Declaration:
double _start_x
Description:
double which contains startpoint x.
scope: protected | type: basic | typename: double |
Declaration:
double _start_y
Description:
double which contains startpoint y.