%
% automatically generated by HelpGen $Revision$ from
% rowdragpl.h at 05/Jan/02 22:50:57
%


\section{\class{cbRowDragPlugin}}\label{cbrowdragplugin}


Plugin adds row-dragging fuctionality to the pane.
   Handles mouse/movement and pane-background erasing plugin-events.
   Behaviour and appearence resembles drag \& drop posotioning 
   of the toolbar-rows int Netscape Comunicator 4.xx.
 
\wxheading{Derived from}

\helpref{cbPluginBase}{cbpluginbase}

\wxheading{Data structures}

\latexignore{\rtfignore{\wxheading{Members}}}


\membersection{cbRowDragPlugin::cbRowDragPlugin}\label{cbrowdragplugincbrowdragplugin}

\func{}{cbRowDragPlugin}{\param{wxFrameLayout* }{pLayout}, \param{int }{paneMask = wxALL\_PANES}}


\func{}{cbRowDragPlugin}{\void}


\membersection{cbRowDragPlugin::\destruct{cbRowDragPlugin}}\label{cbrowdragplugindtor}

\func{}{\destruct{cbRowDragPlugin}}{\void}


\membersection{cbRowDragPlugin::CaptureDCArea}\label{cbrowdragplugincapturedcarea}

\func{wxBitmap*}{CaptureDCArea}{\param{wxDC\& }{dc}, \param{wxRect\& }{area}}


\membersection{cbRowDragPlugin::CheckPrevItemInFocus}\label{cbrowdragplugincheckpreviteminfocus}

\func{void}{CheckPrevItemInFocus}{\param{cbRowInfo* }{pRow}, \param{int }{iconIdx}}


\membersection{cbRowDragPlugin::Clone}\label{cbrowdragpluginclone}

\func{cbPluginBase*}{Clone}{\void}


\membersection{cbRowDragPlugin::CollapseRow}\label{cbrowdragplugincollapserow}

\func{void}{CollapseRow}{\param{cbRowInfo* }{pRow}}


\membersection{cbRowDragPlugin::Draw3DPattern}\label{cbrowdragplugindraw3dpattern}

\func{void}{Draw3DPattern}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}


\membersection{cbRowDragPlugin::Draw3DRect}\label{cbrowdragplugindraw3drect}

\func{void}{Draw3DRect}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}


\membersection{cbRowDragPlugin::DrawCollapsedRowIcon}\label{cbrowdragplugindrawcollapsedrowicon}

\func{void}{DrawCollapsedRowIcon}{\param{int }{index}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}

overridables (appearence-depedent)


\membersection{cbRowDragPlugin::DrawCollapsedRowsBorder}\label{cbrowdragplugindrawcollapsedrowsborder}

\func{void}{DrawCollapsedRowsBorder}{\param{wxDC\& }{dc}}


\membersection{cbRowDragPlugin::DrawEmptyRow}\label{cbrowdragplugindrawemptyrow}

\func{void}{DrawEmptyRow}{\param{wxDC\& }{dc}, \param{wxRect\& }{rowBounds}}


\membersection{cbRowDragPlugin::DrawOrtoRomb}\label{cbrowdragplugindrawortoromb}

\func{void}{DrawOrtoRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}


\membersection{cbRowDragPlugin::DrawRectShade}\label{cbrowdragplugindrawrectshade}

\func{void}{DrawRectShade}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{int }{level}, \param{wxPen\& }{upperPen}, \param{wxPen\& }{lowerPen}}


\membersection{cbRowDragPlugin::DrawRomb}\label{cbrowdragplugindrawromb}

\func{void}{DrawRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}


\membersection{cbRowDragPlugin::DrawRombShades}\label{cbrowdragplugindrawrombshades}

\func{void}{DrawRombShades}{\param{wxPoint\& }{p1}, \param{wxPoint\& }{p2}, \param{wxPoint\& }{p3}, \param{wxPoint\& }{p4}, \param{wxDC\& }{dc}}


\membersection{cbRowDragPlugin::DrawRowDragHint}\label{cbrowdragplugindrawrowdraghint}

\func{void}{DrawRowDragHint}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}


\membersection{cbRowDragPlugin::DrawRowsDragHintsBorder}\label{cbrowdragplugindrawrowsdraghintsborder}

\func{void}{DrawRowsDragHintsBorder}{\param{wxDC\& }{dc}}


\membersection{cbRowDragPlugin::DrawTrianDown}\label{cbrowdragplugindrawtriandown}

\func{void}{DrawTrianDown}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}


\membersection{cbRowDragPlugin::DrawTrianRight}\label{cbrowdragplugindrawtrianright}

\func{void}{DrawTrianRight}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}


\membersection{cbRowDragPlugin::DrawTrianUp}\label{cbrowdragplugindrawtrianup}

\func{void}{DrawTrianUp}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}

"hard-coded metafile" for NN-look


\membersection{cbRowDragPlugin::ExpandRow}\label{cbrowdragpluginexpandrow}

\func{void}{ExpandRow}{\param{int }{collapsedIconIdx}}


\membersection{cbRowDragPlugin::FinishOnScreenDraw}\label{cbrowdragpluginfinishonscreendraw}

\func{void}{FinishOnScreenDraw}{\void}


\membersection{cbRowDragPlugin::GetCollapsedIconsPos}\label{cbrowdragplugingetcollapsediconspos}

\func{int}{GetCollapsedIconsPos}{\void}


\membersection{cbRowDragPlugin::GetCollapsedInconRect}\label{cbrowdragplugingetcollapsedinconrect}

\func{void}{GetCollapsedInconRect}{\param{int }{iconIdx}, \param{wxRect\& }{rect}}


\membersection{cbRowDragPlugin::GetCollapsedRowIconHeight}\label{cbrowdragplugingetcollapsedrowiconheight}

\func{int}{GetCollapsedRowIconHeight}{\void}


\membersection{cbRowDragPlugin::GetFirstRow}\label{cbrowdragplugingetfirstrow}

\func{cbRowInfo*}{GetFirstRow}{\void}


\membersection{cbRowDragPlugin::GetHRowsCountForPane}\label{cbrowdragplugingethrowscountforpane}

\func{int}{GetHRowsCountForPane}{\param{cbDockPane* }{pPane}}

helpers for drag\&drop


\membersection{cbRowDragPlugin::GetRowDragHintWidth}\label{cbrowdragplugingetrowdraghintwidth}

\func{int}{GetRowDragHintWidth}{\void}


\membersection{cbRowDragPlugin::GetRowHintRect}\label{cbrowdragplugingetrowhintrect}

\func{void}{GetRowHintRect}{\param{cbRowInfo* }{pRow}, \param{wxRect\& }{rect}}


\membersection{cbRowDragPlugin::HitTestCollapsedRowIcon}\label{cbrowdragpluginhittestcollapsedrowicon}

\func{bool}{HitTestCollapsedRowIcon}{\param{int }{iconIdx}, \param{const wxPoint\& }{pos}}


\membersection{cbRowDragPlugin::HitTestRowDragHint}\label{cbrowdragpluginhittestrowdraghint}

\func{bool}{HitTestRowDragHint}{\param{cbRowInfo* }{pRow}, \param{const wxPoint\& }{pos}}


\membersection{cbRowDragPlugin::InsertDraggedRowBefore}\label{cbrowdragplugininsertdraggedrowbefore}

\func{void}{InsertDraggedRowBefore}{\param{cbRowInfo* }{pBeforeRow}}


\membersection{cbRowDragPlugin::ItemIsInFocus}\label{cbrowdragpluginitemisinfocus}

\func{bool}{ItemIsInFocus}{\void}


\membersection{cbRowDragPlugin::OnDrawPaneBackground}\label{cbrowdragpluginondrawpanebackground}

\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneDecorEvent\& }{event}}


\membersection{cbRowDragPlugin::OnInitPlugin}\label{cbrowdragpluginoninitplugin}

\func{void}{OnInitPlugin}{\void}


\membersection{cbRowDragPlugin::OnLButtonDown}\label{cbrowdragpluginonlbuttondown}

\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}


\membersection{cbRowDragPlugin::OnLButtonUp}\label{cbrowdragpluginonlbuttonup}

\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}


\membersection{cbRowDragPlugin::OnMouseMove}\label{cbrowdragpluginonmousemove}

\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}

handlers for plugin events (appearence-independent logic)


\membersection{cbRowDragPlugin::PrepareForRowDrag}\label{cbrowdragpluginprepareforrowdrag}

\func{void}{PrepareForRowDrag}{\void}


\membersection{cbRowDragPlugin::SetMouseCapture}\label{cbrowdragpluginsetmousecapture}

\func{void}{SetMouseCapture}{\param{bool }{captureOn}}


\membersection{cbRowDragPlugin::SetPaneMargins}\label{cbrowdragpluginsetpanemargins}

\func{void}{SetPaneMargins}{\void}


\membersection{cbRowDragPlugin::ShowDraggedRow}\label{cbrowdragpluginshowdraggedrow}

\func{void}{ShowDraggedRow}{\param{int }{offset}}


\membersection{cbRowDragPlugin::ShowPaneImage}\label{cbrowdragpluginshowpaneimage}

\func{void}{ShowPaneImage}{\void}


\membersection{cbRowDragPlugin::UnhiglightItemInFocus}\label{cbrowdragpluginunhiglightiteminfocus}

\func{void}{UnhiglightItemInFocus}{\void}

