#include <definterface.h>
Collaboration diagram for wxIFMComponentButtonManager:
Public Member Functions | |
wxIFMComponentButtonManager (wxIFMInterfacePluginBase *ip, wxIFMComponent *component) | |
~wxIFMComponentButtonManager () | |
wxIFMInterfacePluginBase * | GetIP () |
wxIFMComponent * | GetComponent () |
wxIFMComponentButton * | AddButton (int id) |
Adds a button to this button manager. | |
void | RemoveButton (int id) |
Removes (and deletes) button from this manager. | |
wxIFMComponentButton * | GetButton (int id) |
const wxRect | GetRect () const |
const wxPoint & | GetPosition () const |
void | SetPosition (const wxPoint &pos) |
void | SetHeight (int height) |
void | Show (bool show=true) |
void | Hide () |
void | Show (bool show, int id) |
void | SetParent (wxWindow *parent) |
void | Layout () |
Public Attributes | |
wxIFMComponentButtonArray | m_buttons |
Private Attributes | |
wxPoint | m_pos |
int | m_height |
wxIFMInterfacePluginBase * | m_ip |
wxIFMComponent * | m_component |
bool | m_hidden |
Definition at line 321 of file definterface.h.
|
Definition at line 2619 of file definterface.cpp. |
|
Definition at line 2626 of file definterface.cpp. |
|
Adds a button to this button manager.
Definition at line 2651 of file definterface.cpp. References wxIFMComponent::GetParentWindow(), IFM_COMPONENT_BUTTON_X, IFM_COMPONENT_BUTTON_Y, m_buttons, and m_component. Referenced by wxIFMDefaultPanelPlugin::OnCreateComponent(). |
|
Returns the button with the requested id Definition at line 2684 of file definterface.cpp. References m_buttons. Referenced by Show(). |
|
Definition at line 2636 of file definterface.cpp. References m_component. Referenced by wxIFMComponentButton::OnLeftUp(). |
|
Definition at line 2631 of file definterface.cpp. References m_ip. Referenced by wxIFMComponentButton::GetIP(). |
|
Definition at line 2641 of file definterface.cpp. References m_pos. |
|
Definition at line 2698 of file definterface.cpp. References IFM_COMPONENT_BUTTON_PAD, m_buttons, m_height, and m_pos. Referenced by wxIFMDefaultPanelPlugin::OnUpdate(). |
|
Definition at line 2646 of file definterface.cpp. References Show(). Referenced by wxIFMDefaultPanelPlugin::OnDestroyComponent(). |
|
Used to position the component buttons Definition at line 2738 of file definterface.cpp. References IFM_COMPONENT_BUTTON_PAD, IFM_COMPONENT_BUTTON_X, m_buttons, m_hidden, and m_pos. Referenced by wxIFMDefaultPanelPlugin::OnUpdate(). |
|
Removes (and deletes) button from this manager.
Definition at line 2664 of file definterface.cpp. References m_buttons. |
|
Sets the height (and indirectly the size of all buttons) of this button manager
Definition at line 2721 of file definterface.cpp. References IFM_COMPONENT_BUTTON_X, IFM_COMPONENT_BUTTON_Y, m_buttons, and m_height. |
|
Used to change the parent window of the buttons. Called during FLOATNOTIFY processing Definition at line 2730 of file definterface.cpp. References m_buttons. |
|
Sets the position of this button manager Definition at line 2716 of file definterface.cpp. References m_pos. Referenced by wxIFMDefaultPanelPlugin::OnCreateComponent(), and wxIFMDefaultPanelPlugin::OnUpdate(). |
|
Shows or hides only the component with the given i
Definition at line 2765 of file definterface.cpp. References GetButton(). |
|
Used to show or hide the component buttons Definition at line 2755 of file definterface.cpp. References m_buttons, and m_hidden. Referenced by Hide(), and wxIFMDefaultPanelPlugin::OnVisibilityChanged(). |
|
Definition at line 332 of file definterface.h. Referenced by AddButton(), GetButton(), GetRect(), Layout(), RemoveButton(), SetHeight(), SetParent(), and Show(). |
|
Definition at line 327 of file definterface.h. Referenced by AddButton(), and GetComponent(). |
|
Definition at line 325 of file definterface.h. Referenced by GetRect(), and SetHeight(). |
|
Definition at line 328 of file definterface.h. |
|
Definition at line 326 of file definterface.h. Referenced by GetIP(). |
|
Definition at line 324 of file definterface.h. Referenced by GetPosition(), GetRect(), Layout(), and SetPosition(). |