#include <plugin.h>
Inherited by wxIFMDefaultInterfacePlugin.
Inheritance diagram for wxIFMInterfacePluginBase:
Public Member Functions | |
wxIFMInterfacePluginBase () | |
virtual | ~wxIFMInterfacePluginBase () |
wxInterfaceManager * | GetManager () |
virtual bool | Initialize (wxInterfaceManager *manager) |
virtual void | Shutdown () |
bool | PushExtensionPlugin (wxIFMExtensionPluginBase *plugin) |
Adds an extension plugin. | |
void | PopExtensionPlugin () |
Removes and deletes the most recently added extension plugin. | |
void | PopAllExtensionPlugins () |
Removes and deletes all extension plugins. | |
virtual void | Enable (bool val=true) |
Enables or Disables the interface plugin as well as all extension plugins. | |
void | Disable () |
const wxIFMComponentArray & | GetComponents () const |
virtual bool | ProcessPluginEvent (wxIFMPluginEvent &event) |
Processes a plugin event. | |
void | AddPendingPluginEvent (wxIFMPluginEvent &event) |
Adds a plugin event to the event que to be processed later. | |
virtual wxIFMComponent * | GetComponentByPos (const wxPoint &pos, wxIFMComponent *component=NULL, bool floating=false) |
wxIFMComponent * | FindChildWindow (wxWindow *window) |
Finds the component containing the given child window. | |
void | AddChildWindow (wxWindow *window, wxIFMComponent *component) |
Adds a child window to the interface plugin, associated with a given component. | |
Protected Attributes | |
wxIFMComponentArray | m_components |
wxIFMChildWindowMap | m_windows |
Private Member Functions | |
wxEvtHandler * | GetTopPlugin () |
void | OnMouseEvent (wxMouseEvent &event) |
void | OnKeyDown (wxKeyEvent &event) |
void | OnKeyUp (wxKeyEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | OnSetCursor (wxSetCursorEvent &event) |
void | OnSize (wxSizeEvent &event) |
void | OnFocus (wxFocusEvent &event) |
void | OnActivate (wxActivateEvent &event) |
Private Attributes | |
wxInterfaceManager * | m_manager |
wxIFMExtensionPluginBase * | m_topExtensionPlugin |
Definition at line 21 of file plugin.h.
|
Definition at line 22 of file plugin.cpp. |
|
Definition at line 164 of file plugin.cpp. References m_components, and PopAllExtensionPlugins(). |
|
Adds a child window to the interface plugin, associated with a given component. If a window was already associated with a component, and the component changed, calling this function again will update the its associated component.
Definition at line 322 of file plugin.cpp. References m_windows. Referenced by wxIFMDefaultInterfacePlugin::OnAddChild(). |
|
Adds a plugin event to the event que to be processed later.
Definition at line 159 of file plugin.cpp. References GetTopPlugin(). |
|
Definition at line 68 of file plugin.h. References Enable(). |
|
Enables or Disables the interface plugin as well as all extension plugins.
Definition at line 235 of file plugin.cpp. References wxIFMExtensionPluginBase::Enable(), and m_topExtensionPlugin. Referenced by Disable(). |
|
Finds the component containing the given child window.
Definition at line 328 of file plugin.cpp. References m_windows. Referenced by ProcessPluginEvent(). |
|
Return the component at the given position or NULL if none found within the children of the given component and the component itself.
Reimplemented in wxIFMDefaultInterfacePlugin. Definition at line 255 of file plugin.cpp. References wxInterfaceManager::GetParent(), wxIFMComponent::m_children, m_components, wxIFMComponent::m_hidden, m_manager, and wxIFMComponent::m_rect. Referenced by OnMouseEvent(), and OnSetCursor(). |
|
Definition at line 33 of file plugin.cpp. References m_components. |
|
Definition at line 28 of file plugin.cpp. References m_manager. Referenced by wxIFMDefaultInterfacePlugin::GetComponentByPos(), wxIFMExtensionPluginBase::GetManager(), wxIFMComponent::GetManager(), wxIFMDefaultPlugin::GetManager(), Initialize(), wxIFMDefaultInterfacePlugin::OnGetContentRect(), OnPaint(), wxIFMDefaultPlugin::OnShowComponent(), and wxIFMDefaultInterfacePlugin::OnUpdate(). |
|
Returns the top most extension plugin, or this if there are no extension plugins Definition at line 227 of file plugin.cpp. References m_topExtensionPlugin. Referenced by AddPendingPluginEvent(), and ProcessPluginEvent(). |
|
Reimplemented in wxIFMDefaultInterfacePlugin. Definition at line 45 of file plugin.cpp. References GetManager(), m_manager, OnActivate(), OnFocus(), OnKeyDown(), OnKeyUp(), OnMouseEvent(), OnPaint(), OnSetCursor(), and OnSize(). Referenced by wxInterfaceManager::AddInterfacePlugin(), and wxIFMDefaultInterfacePlugin::Initialize(). |
|
Definition at line 436 of file plugin.cpp. References ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 428 of file plugin.cpp. References ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 381 of file plugin.cpp. References wxInterfaceManager::GetCapturedComponent(), m_manager, and ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 388 of file plugin.cpp. References wxInterfaceManager::GetCapturedComponent(), m_manager, and ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 333 of file plugin.cpp. References wxInterfaceManager::GetCapturedComponent(), GetComponentByPos(), wxInterfaceManager::IsInputCaptured(), m_manager, and ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 395 of file plugin.cpp. References wxIFMBeginPaintEvent::GetDC(), GetManager(), wxInterfaceManager::GetParent(), m_manager, and ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 374 of file plugin.cpp. References GetComponentByPos(), and ProcessPluginEvent(). Referenced by Initialize(). |
|
Definition at line 419 of file plugin.cpp. References wxInterfaceManager::GetFlags(), IFM_NO_RESIZE_UPDATE, m_manager, and wxInterfaceManager::Update(). Referenced by Initialize(). |
|
Removes and deletes all extension plugins.
Definition at line 221 of file plugin.cpp. References m_topExtensionPlugin, and PopExtensionPlugin(). Referenced by wxInterfaceManager::RemoveAllExtensionPlugins(), Shutdown(), and ~wxIFMInterfacePluginBase(). |
|
Removes and deletes the most recently added extension plugin.
Definition at line 199 of file plugin.cpp. References m_topExtensionPlugin, and wxIFMExtensionPluginBase::Shutdown(). Referenced by PopAllExtensionPlugins(), and wxInterfaceManager::RemoveExtensionPlugin(). |
|
|
Adds an extension plugin. wxIFMExtensionPluginBase::Initialize will be called prior to adding the plugin. If that function returns false, the plugin will not be added and false will be returned.
Definition at line 176 of file plugin.cpp. References wxIFMExtensionPluginBase::Initialize(), and m_topExtensionPlugin. Referenced by wxInterfaceManager::AddExtensionPlugin(), and wxIFMDefaultInterfacePlugin::Initialize(). |
|
Definition at line 94 of file plugin.cpp. References PopAllExtensionPlugins(). |
|
Definition at line 28 of file plugin.h. Referenced by GetComponentByPos(), GetComponents(), ProcessPluginEvent(), and ~wxIFMInterfacePluginBase(). |
|
Definition at line 24 of file plugin.h. Referenced by GetComponentByPos(), GetManager(), Initialize(), OnKeyDown(), OnKeyUp(), OnMouseEvent(), OnPaint(), and OnSize(). |
|
Definition at line 25 of file plugin.h. Referenced by Enable(), GetTopPlugin(), PopAllExtensionPlugins(), PopExtensionPlugin(), and PushExtensionPlugin(). |
|
Definition at line 29 of file plugin.h. Referenced by AddChildWindow(), and FindChildWindow(). |