General information:Author: A.Rona Version: 1.0 Date: Wed Oct 20 9:03:03 MET 1999 |
Header files:
|
Code files:
|
Class TextinsDialog. This class is used in the class TextTool to show an edit-/inserttext dialog in which a textvalue, a textheight and unitsetting can be given or edited.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
TextinsDialog(GDSMainWindow* parent)
Description:
constructor.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetupWindow()
Description:
Windows initialization.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void CmOk(wxEvent& event)
Description:
Close window if OK-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 SetText(char*)
Description:
Set a selected textvalue in edit-/inserttext dialog.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetHeight(double the_height)
Parameters:
the_height : a string which contains a given heightvalue.
Description:
Set heightvalue in edit-/inserttext dialog, the heightsetting depends on the unitsetting.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: void |
Declaration:
void SetUnit(char* buf)
Parameters:
buf : a string which temporary contains a given unitsetting.
Description:
Set unitvalue in edit-/inserttext dialog, this value will also be copied into the string "_units", which is described earlier.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: char* |
Declaration:
char* GetUnit()
Description:
Get and return selected unitvalue from edit-/inserttext dialog, this value will be copied into the string "_units", which is described earlier.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: char* |
Declaration:
char* GetText()
Description:
Get and return textvalue from edit-/inserttext dialog.
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: double |
Declaration:
double GetHeight()
Description:
Get heightvalue and unitssetting from edit-/inserttext dialog and return heightvalue depending on chosen unitsetting.
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: char |
Declaration:
char _text[190]
Description:
string which contains textvalue.
scope: protected | type: basic | typename: char |
Declaration:
char _units[30]
Description:
string which contains unitsetting.
scope: protected | type: basic | typename: wxPanel* |
Declaration:
wxPanel* _panel
Description:
wxWindows class.
scope: protected | type: basic | typename: wxStaticBox* |
Declaration:
wxStaticBox* _textbox
Description:
wxWindows class.
scope: protected | type: basic | typename: wxStaticBox* |
Declaration:
wxStaticBox* _heightbox
Description:
wxWindows class.
scope: protected | type: basic | typename: wxTextCtrl* |
Declaration:
wxTextCtrl* _text_insert
Description:
wxWindows class.
scope: protected | type: basic | typename: wxTextCtrl* |
Declaration:
wxTextCtrl* _text_height
Description:
wxWindows class.
scope: protected | type: basic | typename: wxChoice* |
Declaration:
wxChoice* _text_units
Description:
wxWindows class.
scope: protected | type: basic | typename: wxButton* |
Declaration:
wxButton* _ok
Description:
wxWindows class.
scope: protected | type: basic | typename: wxButton* |
Declaration:
wxButton* _cancel
Description:
wxWindows class.
scope: protected | type: basic | typename: wxString |
Declaration:
wxString _choices[9]
Description:
wxWindows class.