2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
2002-01-21 17:34:42 -05:00
|
|
|
% panedrawpl.h at 21/Jan/02 21:14:19
|
2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
|
|
|
|
|
|
|
|
\section{\class{cbPaneDrawPlugin}}\label{cbpanedrawplugin}
|
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Simple but all-in-one plugin implementation. Resembles the look and feel of
|
|
|
|
to MFC control-bars. The class handles painting of the pane and the items in it;
|
|
|
|
it generates bar/layout customization events, when the user right-clicks the bar/pane.
|
|
|
|
Hooking an instance of this and row-layout plugins for each pane
|
|
|
|
would be enough for the frame layout to function properly
|
|
|
|
(they are plugged in automatically by the wxFrameLayout class).
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{cbPluginBase}{cbpluginbase}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
2002-01-31 15:57:31 -05:00
|
|
|
<wx/fl/panedrawpl.h>
|
2002-01-21 17:34:42 -05:00
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Data structures}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::cbPaneDrawPlugin}\label{cbpanedrawplugincbpanedrawplugin}
|
|
|
|
|
|
|
|
\func{}{cbPaneDrawPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Constructor taking frame layout pane and a pane mask.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{}{cbPaneDrawPlugin}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Default constructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::\destruct{cbPaneDrawPlugin}}\label{cbpanedrawplugindtor}
|
|
|
|
|
|
|
|
\func{}{\destruct{cbPaneDrawPlugin}}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Destructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::Clone}\label{cbpanedrawpluginclone}
|
|
|
|
|
|
|
|
\func{cbPluginBase*}{Clone}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Clone function, returning a new instance of this class.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawBarInnerShadeRect}\label{cbpanedrawplugindrawbarinnershaderect}
|
|
|
|
|
|
|
|
\func{void}{DrawBarInnerShadeRect}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the inner bar shading.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawDraggedHandle}\label{cbpanedrawplugindrawdraggedhandle}
|
|
|
|
|
|
|
|
\func{void}{DrawDraggedHandle}{\param{const wxPoint\& }{pos}, \param{cbDockPane\& }{pane}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the dragged handle.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawLowerRowHandle}\label{cbpanedrawplugindrawlowerrowhandle}
|
|
|
|
|
|
|
|
\func{void}{DrawLowerRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the lower row handle.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawLowerRowShades}\label{cbpanedrawplugindrawlowerrowshades}
|
|
|
|
|
|
|
|
\func{void}{DrawLowerRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the lower row shading.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawPaneShade}\label{cbpanedrawplugindrawpaneshade}
|
|
|
|
|
|
|
|
\func{void}{DrawPaneShade}{\param{wxDC\& }{dc}, \param{int }{alignment}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the pane shading.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawPaneShadeForRow}\label{cbpanedrawplugindrawpaneshadeforrow}
|
|
|
|
|
|
|
|
\func{void}{DrawPaneShadeForRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the pane shading for a row.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawShade}\label{cbpanedrawplugindrawshade}
|
|
|
|
|
|
|
|
\func{void}{DrawShade}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws shading.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawShade1}\label{cbpanedrawplugindrawshade1}
|
|
|
|
|
|
|
|
\func{void}{DrawShade1}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws shading.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawUpperRowHandle}\label{cbpanedrawplugindrawupperrowhandle}
|
|
|
|
|
|
|
|
\func{void}{DrawUpperRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the upper row handle.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::DrawUpperRowShades}\label{cbpanedrawplugindrawupperrowshades}
|
|
|
|
|
|
|
|
\func{void}{DrawUpperRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: draws the upper row shading.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawBarDecorations}\label{cbpanedrawpluginondrawbardecorations}
|
|
|
|
|
|
|
|
\func{void}{OnDrawBarDecorations}{\param{cbDrawBarDecorEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw bar decorations events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawBarHandles}\label{cbpanedrawpluginondrawbarhandles}
|
|
|
|
|
|
|
|
\func{void}{OnDrawBarHandles}{\param{cbDrawBarHandlesEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw bar handles events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawPaneBackground}\label{cbpanedrawpluginondrawpanebackground}
|
|
|
|
|
|
|
|
\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneBkGroundEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw pane background events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawPaneDecorations}\label{cbpanedrawpluginondrawpanedecorations}
|
|
|
|
|
|
|
|
\func{void}{OnDrawPaneDecorations}{\param{cbDrawPaneDecorEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw pane decoration events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawRowBackground}\label{cbpanedrawpluginondrawrowbackground}
|
|
|
|
|
|
|
|
\func{void}{OnDrawRowBackground}{\param{cbDrawRowBkGroundEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw row background events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawRowDecorations}\label{cbpanedrawpluginondrawrowdecorations}
|
|
|
|
|
|
|
|
\func{void}{OnDrawRowDecorations}{\param{cbDrawRowDecorEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw row decoration events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnDrawRowHandles}\label{cbpanedrawpluginondrawrowhandles}
|
|
|
|
|
|
|
|
\func{void}{OnDrawRowHandles}{\param{cbDrawRowHandlesEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for draw row handles events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnFinishDrawInArea}\label{cbpanedrawpluginonfinishdrawinarea}
|
|
|
|
|
|
|
|
\func{void}{OnFinishDrawInArea}{\param{cbFinishDrawInAreaEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for finish draw in area events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnLButtonDown}\label{cbpanedrawpluginonlbuttondown}
|
|
|
|
|
|
|
|
\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for left mouse button down events.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnLButtonUp}\label{cbpanedrawpluginonlbuttonup}
|
|
|
|
|
|
|
|
\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for left mouse button up events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnLDblClick}\label{cbpanedrawpluginonldblclick}
|
|
|
|
|
|
|
|
\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for left double-click mouse button down events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnMouseMove}\label{cbpanedrawpluginonmousemove}
|
|
|
|
|
|
|
|
\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for mouse move events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnRButtonUp}\label{cbpanedrawpluginonrbuttonup}
|
|
|
|
|
|
|
|
\func{void}{OnRButtonUp}{\param{cbRightUpEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for right mouse button up events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnSizeBarWindow}\label{cbpanedrawpluginonsizebarwindow}
|
|
|
|
|
|
|
|
\func{void}{OnSizeBarWindow}{\param{cbSizeBarWndEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for bar size events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::OnStartDrawInArea}\label{cbpanedrawpluginonstartdrawinarea}
|
|
|
|
|
|
|
|
\func{void}{OnStartDrawInArea}{\param{cbStartDrawInAreaEvent\& }{event}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Handler for start draw in area events.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::SetDarkPixel}\label{cbpanedrawpluginsetdarkpixel}
|
|
|
|
|
|
|
|
\func{void}{SetDarkPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: sets a dark pixel at the given location.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbPaneDrawPlugin::SetLightPixel}\label{cbpanedrawpluginsetlightpixel}
|
|
|
|
|
|
|
|
\func{void}{SetLightPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Internal helper: sets a light pixel at the given location.
|
|
|
|
|