NIREP
|
This class takes care of changing the different aspects of an object map. This includes turning off and on the entries, changing the names, changing the color and changing the number of shadows. More...
Public Member Functions | |
void | ChangeChoice (wxCommandEvent &event) |
This is the choice from the drop down list when the user is in the mode of objects and. | |
bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_OBJECTMAPFORM_IDNAME, const wxString &caption=SYMBOL_OBJECTMAPFORM_TITLE, const wxPoint &pos=SYMBOL_OBJECTMAPFORM_POSITION, const wxSize &size=SYMBOL_OBJECTMAPFORM_SIZE, long style=SYMBOL_OBJECTMAPFORM_STYLE) |
void | CreateControls () |
Creates the controls and sizers. | |
void | EnableOrDisableObjectMap (wxCommandEvent &event) |
This is the choice from the radio button when the user is in the mode of attributes and. | |
void | EnableOrDisableObjectMapFromRadioButton (wxCommandEvent &event) |
This is the choice from the radio button when the user is in the mode of objects and. | |
wxBitmap | GetBitmapResource (const wxString &name) |
Retrieves bitmap resources. This is currently not doing anything. | |
wxIcon | GetIconResource (const wxString &name) |
Retrieves icon resources. This is currently not doing anything. | |
void | Init () |
Initialises member variables. | |
ObjectmapForm () | |
ObjectmapForm (wxWindow *parent, wxWindowID id=SYMBOL_OBJECTMAPFORM_IDNAME, const wxString &caption=SYMBOL_OBJECTMAPFORM_TITLE, const wxPoint &pos=SYMBOL_OBJECTMAPFORM_POSITION, const wxSize &size=SYMBOL_OBJECTMAPFORM_SIZE, long style=SYMBOL_OBJECTMAPFORM_STYLE) | |
void | SetPanel (Panel *p) |
Set the panel that wants the object map changed. | |
~ObjectmapForm () | |
Class Destructor. | |
Static Public Member Functions | |
static bool | ShowToolTips () |
Should we show tooltips? |
This class takes care of changing the different aspects of an object map. This includes turning off and on the entries, changing the names, changing the color and changing the number of shadows.
ObjectmapForm::ObjectmapForm | ( | ) |
ObjectmapForm::ObjectmapForm | ( | wxWindow * | parent, |
wxWindowID | id = SYMBOL_OBJECTMAPFORM_IDNAME , |
||
const wxString & | caption = SYMBOL_OBJECTMAPFORM_TITLE , |
||
const wxPoint & | pos = SYMBOL_OBJECTMAPFORM_POSITION , |
||
const wxSize & | size = SYMBOL_OBJECTMAPFORM_SIZE , |
||
long | style = SYMBOL_OBJECTMAPFORM_STYLE |
||
) |
id | wxWindowID |
caption | const wxString& |
pos | const wxPoint& |
size | const wxSize& |
style | long |
ObjectmapForm::~ObjectmapForm | ( | ) |
Class Destructor.
ObjectmapForm destructor
void ObjectmapForm::ChangeChoice | ( | wxCommandEvent & | event | ) |
This is the choice from the drop down list when the user is in the mode of objects and.
not attributes. So the user can change the object and this function will update the form to reflect the properties of that object.
bool ObjectmapForm::Create | ( | wxWindow * | parent, |
wxWindowID | id = SYMBOL_OBJECTMAPFORM_IDNAME , |
||
const wxString & | caption = SYMBOL_OBJECTMAPFORM_TITLE , |
||
const wxPoint & | pos = SYMBOL_OBJECTMAPFORM_POSITION , |
||
const wxSize & | size = SYMBOL_OBJECTMAPFORM_SIZE , |
||
long | style = SYMBOL_OBJECTMAPFORM_STYLE |
||
) |
id | wxWindowID |
caption | const wxString& |
pos | const wxPoint& |
size | const wxSize& |
style | long |
ObjectmapForm creator
void ObjectmapForm::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for ObjectmapForm
void ObjectmapForm::EnableOrDisableObjectMap | ( | wxCommandEvent & | event | ) |
This is the choice from the radio button when the user is in the mode of attributes and.
not objects. This will be dynamically added to the event table.
void ObjectmapForm::EnableOrDisableObjectMapFromRadioButton | ( | wxCommandEvent & | event | ) |
This is the choice from the radio button when the user is in the mode of objects and.
not attributes.
wxBitmap ObjectmapForm::GetBitmapResource | ( | const wxString & | name | ) |
Retrieves bitmap resources. This is currently not doing anything.
Get bitmap resources
wxIcon ObjectmapForm::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources. This is currently not doing anything.
Get icon resources
void ObjectmapForm::Init | ( | ) |
Initialises member variables.
Member initialisation
void ObjectmapForm::SetPanel | ( | Panel * | p | ) | [inline] |
Set the panel that wants the object map changed.
bool ObjectmapForm::ShowToolTips | ( | ) | [static] |
Should we show tooltips?