2 % automatically generated by HelpGen $Revision$ from
3 % rowdragpl.h at 05/Jan/02 22:50:57
7 \section{\class{cbRowDragPlugin
}}\label{cbrowdragplugin
}
10 Plugin adds row-dragging fuctionality to the pane.
11 Handles mouse/movement and pane-background erasing plugin-events.
12 Behaviour and appearence resembles drag \& drop posotioning
13 of the toolbar-rows int Netscape Comunicator
4.xx.
15 \wxheading{Derived from
}
17 \helpref{cbPluginBase
}{cbpluginbase
}
19 \wxheading{Data structures
}
21 \latexignore{\rtfignore{\wxheading{Members
}}}
24 \membersection{cbRowDragPlugin::cbRowDragPlugin
}\label{cbrowdragplugincbrowdragplugin
}
26 \func{}{cbRowDragPlugin
}{\param{wxFrameLayout*
}{pLayout
},
\param{int
}{paneMask = wxALL
\_PANES}}
29 \func{}{cbRowDragPlugin
}{\void}
32 \membersection{cbRowDragPlugin::
\destruct{cbRowDragPlugin
}}\label{cbrowdragplugindtor
}
34 \func{}{\destruct{cbRowDragPlugin
}}{\void}
37 \membersection{cbRowDragPlugin::CaptureDCArea
}\label{cbrowdragplugincapturedcarea
}
39 \func{wxBitmap*
}{CaptureDCArea
}{\param{wxDC\&
}{dc
},
\param{wxRect\&
}{area
}}
42 \membersection{cbRowDragPlugin::CheckPrevItemInFocus
}\label{cbrowdragplugincheckpreviteminfocus
}
44 \func{void
}{CheckPrevItemInFocus
}{\param{cbRowInfo*
}{pRow
},
\param{int
}{iconIdx
}}
47 \membersection{cbRowDragPlugin::Clone
}\label{cbrowdragpluginclone
}
49 \func{cbPluginBase*
}{Clone
}{\void}
52 \membersection{cbRowDragPlugin::CollapseRow
}\label{cbrowdragplugincollapserow
}
54 \func{void
}{CollapseRow
}{\param{cbRowInfo*
}{pRow
}}
57 \membersection{cbRowDragPlugin::Draw3DPattern
}\label{cbrowdragplugindraw3dpattern
}
59 \func{void
}{Draw3DPattern
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
}}
62 \membersection{cbRowDragPlugin::Draw3DRect
}\label{cbrowdragplugindraw3drect
}
64 \func{void
}{Draw3DRect
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
},
\param{wxBrush\&
}{bkBrush
}}
67 \membersection{cbRowDragPlugin::DrawCollapsedRowIcon
}\label{cbrowdragplugindrawcollapsedrowicon
}
69 \func{void
}{DrawCollapsedRowIcon
}{\param{int
}{index
},
\param{wxDC\&
}{dc
},
\param{bool
}{isHighlighted
}}
71 overridables (appearence-depedent)
74 \membersection{cbRowDragPlugin::DrawCollapsedRowsBorder
}\label{cbrowdragplugindrawcollapsedrowsborder
}
76 \func{void
}{DrawCollapsedRowsBorder
}{\param{wxDC\&
}{dc
}}
79 \membersection{cbRowDragPlugin::DrawEmptyRow
}\label{cbrowdragplugindrawemptyrow
}
81 \func{void
}{DrawEmptyRow
}{\param{wxDC\&
}{dc
},
\param{wxRect\&
}{rowBounds
}}
84 \membersection{cbRowDragPlugin::DrawOrtoRomb
}\label{cbrowdragplugindrawortoromb
}
86 \func{void
}{DrawOrtoRomb
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
},
\param{wxBrush\&
}{bkBrush
}}
89 \membersection{cbRowDragPlugin::DrawRectShade
}\label{cbrowdragplugindrawrectshade
}
91 \func{void
}{DrawRectShade
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
},
\param{int
}{level
},
\param{wxPen\&
}{upperPen
},
\param{wxPen\&
}{lowerPen
}}
94 \membersection{cbRowDragPlugin::DrawRomb
}\label{cbrowdragplugindrawromb
}
96 \func{void
}{DrawRomb
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
},
\param{wxBrush\&
}{bkBrush
}}
99 \membersection{cbRowDragPlugin::DrawRombShades
}\label{cbrowdragplugindrawrombshades
}
101 \func{void
}{DrawRombShades
}{\param{wxPoint\&
}{p1
},
\param{wxPoint\&
}{p2
},
\param{wxPoint\&
}{p3
},
\param{wxPoint\&
}{p4
},
\param{wxDC\&
}{dc
}}
104 \membersection{cbRowDragPlugin::DrawRowDragHint
}\label{cbrowdragplugindrawrowdraghint
}
106 \func{void
}{DrawRowDragHint
}{\param{cbRowInfo*
}{pRow
},
\param{wxDC\&
}{dc
},
\param{bool
}{isHighlighted
}}
109 \membersection{cbRowDragPlugin::DrawRowsDragHintsBorder
}\label{cbrowdragplugindrawrowsdraghintsborder
}
111 \func{void
}{DrawRowsDragHintsBorder
}{\param{wxDC\&
}{dc
}}
114 \membersection{cbRowDragPlugin::DrawTrianDown
}\label{cbrowdragplugindrawtriandown
}
116 \func{void
}{DrawTrianDown
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
}}
119 \membersection{cbRowDragPlugin::DrawTrianRight
}\label{cbrowdragplugindrawtrianright
}
121 \func{void
}{DrawTrianRight
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
}}
124 \membersection{cbRowDragPlugin::DrawTrianUp
}\label{cbrowdragplugindrawtrianup
}
126 \func{void
}{DrawTrianUp
}{\param{wxRect\&
}{inRect
},
\param{wxDC\&
}{dc
}}
128 "hard-coded metafile" for NN-look
131 \membersection{cbRowDragPlugin::ExpandRow
}\label{cbrowdragpluginexpandrow
}
133 \func{void
}{ExpandRow
}{\param{int
}{collapsedIconIdx
}}
136 \membersection{cbRowDragPlugin::FinishOnScreenDraw
}\label{cbrowdragpluginfinishonscreendraw
}
138 \func{void
}{FinishOnScreenDraw
}{\void}
141 \membersection{cbRowDragPlugin::GetCollapsedIconsPos
}\label{cbrowdragplugingetcollapsediconspos
}
143 \func{int
}{GetCollapsedIconsPos
}{\void}
146 \membersection{cbRowDragPlugin::GetCollapsedInconRect
}\label{cbrowdragplugingetcollapsedinconrect
}
148 \func{void
}{GetCollapsedInconRect
}{\param{int
}{iconIdx
},
\param{wxRect\&
}{rect
}}
151 \membersection{cbRowDragPlugin::GetCollapsedRowIconHeight
}\label{cbrowdragplugingetcollapsedrowiconheight
}
153 \func{int
}{GetCollapsedRowIconHeight
}{\void}
156 \membersection{cbRowDragPlugin::GetFirstRow
}\label{cbrowdragplugingetfirstrow
}
158 \func{cbRowInfo*
}{GetFirstRow
}{\void}
161 \membersection{cbRowDragPlugin::GetHRowsCountForPane
}\label{cbrowdragplugingethrowscountforpane
}
163 \func{int
}{GetHRowsCountForPane
}{\param{cbDockPane*
}{pPane
}}
165 helpers for drag\&drop
168 \membersection{cbRowDragPlugin::GetRowDragHintWidth
}\label{cbrowdragplugingetrowdraghintwidth
}
170 \func{int
}{GetRowDragHintWidth
}{\void}
173 \membersection{cbRowDragPlugin::GetRowHintRect
}\label{cbrowdragplugingetrowhintrect
}
175 \func{void
}{GetRowHintRect
}{\param{cbRowInfo*
}{pRow
},
\param{wxRect\&
}{rect
}}
178 \membersection{cbRowDragPlugin::HitTestCollapsedRowIcon
}\label{cbrowdragpluginhittestcollapsedrowicon
}
180 \func{bool
}{HitTestCollapsedRowIcon
}{\param{int
}{iconIdx
},
\param{const wxPoint\&
}{pos
}}
183 \membersection{cbRowDragPlugin::HitTestRowDragHint
}\label{cbrowdragpluginhittestrowdraghint
}
185 \func{bool
}{HitTestRowDragHint
}{\param{cbRowInfo*
}{pRow
},
\param{const wxPoint\&
}{pos
}}
188 \membersection{cbRowDragPlugin::InsertDraggedRowBefore
}\label{cbrowdragplugininsertdraggedrowbefore
}
190 \func{void
}{InsertDraggedRowBefore
}{\param{cbRowInfo*
}{pBeforeRow
}}
193 \membersection{cbRowDragPlugin::ItemIsInFocus
}\label{cbrowdragpluginitemisinfocus
}
195 \func{bool
}{ItemIsInFocus
}{\void}
198 \membersection{cbRowDragPlugin::OnDrawPaneBackground
}\label{cbrowdragpluginondrawpanebackground
}
200 \func{void
}{OnDrawPaneBackground
}{\param{cbDrawPaneDecorEvent\&
}{event
}}
203 \membersection{cbRowDragPlugin::OnInitPlugin
}\label{cbrowdragpluginoninitplugin
}
205 \func{void
}{OnInitPlugin
}{\void}
208 \membersection{cbRowDragPlugin::OnLButtonDown
}\label{cbrowdragpluginonlbuttondown
}
210 \func{void
}{OnLButtonDown
}{\param{cbLeftDownEvent\&
}{event
}}
213 \membersection{cbRowDragPlugin::OnLButtonUp
}\label{cbrowdragpluginonlbuttonup
}
215 \func{void
}{OnLButtonUp
}{\param{cbLeftUpEvent\&
}{event
}}
218 \membersection{cbRowDragPlugin::OnMouseMove
}\label{cbrowdragpluginonmousemove
}
220 \func{void
}{OnMouseMove
}{\param{cbMotionEvent\&
}{event
}}
222 handlers for plugin events (appearence-independent logic)
225 \membersection{cbRowDragPlugin::PrepareForRowDrag
}\label{cbrowdragpluginprepareforrowdrag
}
227 \func{void
}{PrepareForRowDrag
}{\void}
230 \membersection{cbRowDragPlugin::SetMouseCapture
}\label{cbrowdragpluginsetmousecapture
}
232 \func{void
}{SetMouseCapture
}{\param{bool
}{captureOn
}}
235 \membersection{cbRowDragPlugin::SetPaneMargins
}\label{cbrowdragpluginsetpanemargins
}
237 \func{void
}{SetPaneMargins
}{\void}
240 \membersection{cbRowDragPlugin::ShowDraggedRow
}\label{cbrowdragpluginshowdraggedrow
}
242 \func{void
}{ShowDraggedRow
}{\param{int
}{offset
}}
245 \membersection{cbRowDragPlugin::ShowPaneImage
}\label{cbrowdragpluginshowpaneimage
}
247 \func{void
}{ShowPaneImage
}{\void}
250 \membersection{cbRowDragPlugin::UnhiglightItemInFocus
}\label{cbrowdragpluginunhiglightiteminfocus
}
252 \func{void
}{UnhiglightItemInFocus
}{\void}