2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
2002-01-21 17:34:42 -05:00
|
|
|
% controlbar.h at 21/Jan/02 21:14:14
|
2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
|
|
|
|
|
|
|
|
\section{\class{cbPluginBase}}\label{cbpluginbase}
|
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Abstract base class for all control-bar related plugins.
|
|
|
|
Note: pointer positions of mouse events sent to plugins
|
|
|
|
are always in the pane's coordinates (the pane to which
|
|
|
|
this plugin is hooked).
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxEvtHandler}{wxevthandler}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<controlbar.h>
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Data structures}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbPluginBase::cbPluginBase}\label{cbpluginbasecbpluginbase}
|
|
|
|
|
|
|
|
\func{}{cbPluginBase}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Constructor taking layout panel and a mask.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{}{cbPluginBase}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Default constructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPluginBase::\destruct{cbPluginBase}}\label{cbpluginbasedtor}
|
|
|
|
|
|
|
|
\func{}{\destruct{cbPluginBase}}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Destructor. Destroys the whole plugin chain of connected plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbPluginBase::GetPaneMask}\label{cbpluginbasegetpanemask}
|
|
|
|
|
|
|
|
\func{int}{GetPaneMask}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the pane mask.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPluginBase::IsReady}\label{cbpluginbaseisready}
|
|
|
|
|
|
|
|
\func{bool}{IsReady}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the plugin is ready to receive events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPluginBase::OnInitPlugin}\label{cbpluginbaseoninitplugin}
|
|
|
|
|
|
|
|
\func{void}{OnInitPlugin}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Override this method to do plugin-specific initialization.
|
|
|
|
At this point plugin is already attached to the frame layout,
|
|
|
|
and pane masks are set.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbPluginBase::ProcessEvent}\label{cbpluginbaseprocessevent}
|
|
|
|
|
|
|
|
\func{bool}{ProcessEvent}{\param{wxEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Overridden to determine whether the target pane specified in the
|
|
|
|
event matches the pane mask of this plugin (specific plugins
|
|
|
|
do not override this method).
|
2002-01-05 17:59:59 -05:00
|
|
|
|