]> git.saurik.com Git - wxWidgets.git/blame - contrib/docs/latex/fl/cbrowdragplugin.tex
Added new stream tests to typetest.
[wxWidgets.git] / contrib / docs / latex / fl / cbrowdragplugin.tex
CommitLineData
499b2ed8
JS
1%
2% automatically generated by HelpGen $Revision$ from
4cbc57f0 3% rowdragpl.h at 21/Jan/02 21:14:19
499b2ed8
JS
4%
5
6
7\section{\class{cbRowDragPlugin}}\label{cbrowdragplugin}
8
9
4cbc57f0
JS
10This plugin adds row-dragging functionality to the pane.
11It handles mouse movement and pane background-erasing plugin events.
12The behaviour and appearance resembles drag and drop positioning
13of the toolbar rows in Netscape Communicator 4.xx.
14
499b2ed8
JS
15\wxheading{Derived from}
16
17\helpref{cbPluginBase}{cbpluginbase}
18
4cbc57f0
JS
19\wxheading{Include files}
20
6e8515a3 21<wx/fl/rowdragpl.h>
4cbc57f0 22
499b2ed8
JS
23\wxheading{Data structures}
24
25\latexignore{\rtfignore{\wxheading{Members}}}
26
27
28\membersection{cbRowDragPlugin::cbRowDragPlugin}\label{cbrowdragplugincbrowdragplugin}
29
30\func{}{cbRowDragPlugin}{\param{wxFrameLayout* }{pLayout}, \param{int }{paneMask = wxALL\_PANES}}
31
4cbc57f0
JS
32Constructor, taking paren layout frame and pane mask.
33
499b2ed8
JS
34
35\func{}{cbRowDragPlugin}{\void}
36
4cbc57f0
JS
37Default constructor.
38
499b2ed8
JS
39
40\membersection{cbRowDragPlugin::\destruct{cbRowDragPlugin}}\label{cbrowdragplugindtor}
41
42\func{}{\destruct{cbRowDragPlugin}}{\void}
43
4cbc57f0
JS
44Destructor.
45
499b2ed8
JS
46
47\membersection{cbRowDragPlugin::CaptureDCArea}\label{cbrowdragplugincapturedcarea}
48
49\func{wxBitmap*}{CaptureDCArea}{\param{wxDC\& }{dc}, \param{wxRect\& }{area}}
50
4cbc57f0
JS
51Helper for drag and drop.
52
499b2ed8
JS
53
54\membersection{cbRowDragPlugin::CheckPrevItemInFocus}\label{cbrowdragplugincheckpreviteminfocus}
55
56\func{void}{CheckPrevItemInFocus}{\param{cbRowInfo* }{pRow}, \param{int }{iconIdx}}
57
4cbc57f0
JS
58Helper for drag and drop.
59
499b2ed8
JS
60
61\membersection{cbRowDragPlugin::Clone}\label{cbrowdragpluginclone}
62
63\func{cbPluginBase*}{Clone}{\void}
64
4cbc57f0
JS
65Clone function, returning a new instance of this class.
66
499b2ed8
JS
67
68\membersection{cbRowDragPlugin::CollapseRow}\label{cbrowdragplugincollapserow}
69
70\func{void}{CollapseRow}{\param{cbRowInfo* }{pRow}}
71
4cbc57f0
JS
72Helper for drag and drop.
73
499b2ed8
JS
74
75\membersection{cbRowDragPlugin::Draw3DPattern}\label{cbrowdragplugindraw3dpattern}
76
77\func{void}{Draw3DPattern}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
78
4cbc57f0
JS
79Implements 'hard-coded metafile' for Netscape Navigator look.
80
499b2ed8
JS
81
82\membersection{cbRowDragPlugin::Draw3DRect}\label{cbrowdragplugindraw3drect}
83
84\func{void}{Draw3DRect}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
85
4cbc57f0
JS
86Implements 'hard-coded metafile' for Netscape Navigator look.
87
499b2ed8
JS
88
89\membersection{cbRowDragPlugin::DrawCollapsedRowIcon}\label{cbrowdragplugindrawcollapsedrowicon}
90
91\func{void}{DrawCollapsedRowIcon}{\param{int }{index}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}
92
4cbc57f0 93Draws collapsed row icon (appearance-dependent).
499b2ed8
JS
94
95
96\membersection{cbRowDragPlugin::DrawCollapsedRowsBorder}\label{cbrowdragplugindrawcollapsedrowsborder}
97
98\func{void}{DrawCollapsedRowsBorder}{\param{wxDC\& }{dc}}
99
4cbc57f0
JS
100Draws collapsed rows border (appearance-dependent).
101
499b2ed8
JS
102
103\membersection{cbRowDragPlugin::DrawEmptyRow}\label{cbrowdragplugindrawemptyrow}
104
105\func{void}{DrawEmptyRow}{\param{wxDC\& }{dc}, \param{wxRect\& }{rowBounds}}
106
4cbc57f0
JS
107Draws empty row (appearance-dependent).
108
499b2ed8
JS
109
110\membersection{cbRowDragPlugin::DrawOrtoRomb}\label{cbrowdragplugindrawortoromb}
111
112\func{void}{DrawOrtoRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
113
4cbc57f0
JS
114Implements 'hard-coded metafile' for Netscape Navigator look.
115
499b2ed8
JS
116
117\membersection{cbRowDragPlugin::DrawRectShade}\label{cbrowdragplugindrawrectshade}
118
119\func{void}{DrawRectShade}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{int }{level}, \param{wxPen\& }{upperPen}, \param{wxPen\& }{lowerPen}}
120
4cbc57f0
JS
121Implements 'hard-coded metafile' for Netscape Navigator look.
122
499b2ed8
JS
123
124\membersection{cbRowDragPlugin::DrawRomb}\label{cbrowdragplugindrawromb}
125
126\func{void}{DrawRomb}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}, \param{wxBrush\& }{bkBrush}}
127
4cbc57f0
JS
128Implements 'hard-coded metafile' for Netscape Navigator look.
129
499b2ed8
JS
130
131\membersection{cbRowDragPlugin::DrawRombShades}\label{cbrowdragplugindrawrombshades}
132
133\func{void}{DrawRombShades}{\param{wxPoint\& }{p1}, \param{wxPoint\& }{p2}, \param{wxPoint\& }{p3}, \param{wxPoint\& }{p4}, \param{wxDC\& }{dc}}
134
4cbc57f0
JS
135Implements 'hard-coded metafile' for Netscape Navigator look.
136
499b2ed8
JS
137
138\membersection{cbRowDragPlugin::DrawRowDragHint}\label{cbrowdragplugindrawrowdraghint}
139
140\func{void}{DrawRowDragHint}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{bool }{isHighlighted}}
141
4cbc57f0
JS
142Draws row drag hint (appearance-dependent).
143
499b2ed8
JS
144
145\membersection{cbRowDragPlugin::DrawRowsDragHintsBorder}\label{cbrowdragplugindrawrowsdraghintsborder}
146
147\func{void}{DrawRowsDragHintsBorder}{\param{wxDC\& }{dc}}
148
4cbc57f0
JS
149Draws rows drag hints border (appearance-dependent).
150
499b2ed8
JS
151
152\membersection{cbRowDragPlugin::DrawTrianDown}\label{cbrowdragplugindrawtriandown}
153
154\func{void}{DrawTrianDown}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
155
4cbc57f0
JS
156Implements 'hard-coded metafile' for Netscape Navigator look.
157
499b2ed8
JS
158
159\membersection{cbRowDragPlugin::DrawTrianRight}\label{cbrowdragplugindrawtrianright}
160
161\func{void}{DrawTrianRight}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
162
4cbc57f0
JS
163Implements 'hard-coded metafile' for Netscape Navigator look.
164
499b2ed8
JS
165
166\membersection{cbRowDragPlugin::DrawTrianUp}\label{cbrowdragplugindrawtrianup}
167
168\func{void}{DrawTrianUp}{\param{wxRect\& }{inRect}, \param{wxDC\& }{dc}}
169
4cbc57f0 170Implements 'hard-coded metafile' for Netscape Navigator look.
499b2ed8
JS
171
172
173\membersection{cbRowDragPlugin::ExpandRow}\label{cbrowdragpluginexpandrow}
174
175\func{void}{ExpandRow}{\param{int }{collapsedIconIdx}}
176
4cbc57f0
JS
177Helper for drag and drop.
178
499b2ed8
JS
179
180\membersection{cbRowDragPlugin::FinishOnScreenDraw}\label{cbrowdragpluginfinishonscreendraw}
181
182\func{void}{FinishOnScreenDraw}{\void}
183
4cbc57f0
JS
184Helper for drag and drop.
185
499b2ed8
JS
186
187\membersection{cbRowDragPlugin::GetCollapsedIconsPos}\label{cbrowdragplugingetcollapsediconspos}
188
189\func{int}{GetCollapsedIconsPos}{\void}
190
4cbc57f0
JS
191Helper for drag and drop.
192
499b2ed8
JS
193
194\membersection{cbRowDragPlugin::GetCollapsedInconRect}\label{cbrowdragplugingetcollapsedinconrect}
195
196\func{void}{GetCollapsedInconRect}{\param{int }{iconIdx}, \param{wxRect\& }{rect}}
197
4cbc57f0
JS
198Helper for drag and drop.
199
499b2ed8
JS
200
201\membersection{cbRowDragPlugin::GetCollapsedRowIconHeight}\label{cbrowdragplugingetcollapsedrowiconheight}
202
203\func{int}{GetCollapsedRowIconHeight}{\void}
204
4cbc57f0
JS
205Gets the collapsed row icon height.
206
499b2ed8
JS
207
208\membersection{cbRowDragPlugin::GetFirstRow}\label{cbrowdragplugingetfirstrow}
209
210\func{cbRowInfo*}{GetFirstRow}{\void}
211
4cbc57f0
JS
212Helper for drag and drop.
213
499b2ed8
JS
214
215\membersection{cbRowDragPlugin::GetHRowsCountForPane}\label{cbrowdragplugingethrowscountforpane}
216
217\func{int}{GetHRowsCountForPane}{\param{cbDockPane* }{pPane}}
218
4cbc57f0 219Helper for drag and drop.
499b2ed8
JS
220
221
222\membersection{cbRowDragPlugin::GetRowDragHintWidth}\label{cbrowdragplugingetrowdraghintwidth}
223
224\func{int}{GetRowDragHintWidth}{\void}
225
4cbc57f0
JS
226Gets the row drag hint width.
227
499b2ed8
JS
228
229\membersection{cbRowDragPlugin::GetRowHintRect}\label{cbrowdragplugingetrowhintrect}
230
231\func{void}{GetRowHintRect}{\param{cbRowInfo* }{pRow}, \param{wxRect\& }{rect}}
232
4cbc57f0
JS
233Helper for drag and drop.
234
499b2ed8
JS
235
236\membersection{cbRowDragPlugin::HitTestCollapsedRowIcon}\label{cbrowdragpluginhittestcollapsedrowicon}
237
238\func{bool}{HitTestCollapsedRowIcon}{\param{int }{iconIdx}, \param{const wxPoint\& }{pos}}
239
4cbc57f0
JS
240Test for the collapsed row icon position.
241
499b2ed8
JS
242
243\membersection{cbRowDragPlugin::HitTestRowDragHint}\label{cbrowdragpluginhittestrowdraghint}
244
245\func{bool}{HitTestRowDragHint}{\param{cbRowInfo* }{pRow}, \param{const wxPoint\& }{pos}}
246
4cbc57f0
JS
247Test for the row drag hint position.
248
499b2ed8
JS
249
250\membersection{cbRowDragPlugin::InsertDraggedRowBefore}\label{cbrowdragplugininsertdraggedrowbefore}
251
252\func{void}{InsertDraggedRowBefore}{\param{cbRowInfo* }{pBeforeRow}}
253
4cbc57f0
JS
254Helper for drag and drop.
255
499b2ed8
JS
256
257\membersection{cbRowDragPlugin::ItemIsInFocus}\label{cbrowdragpluginitemisinfocus}
258
259\func{bool}{ItemIsInFocus}{\void}
260
4cbc57f0
JS
261Helper for drag and drop.
262
499b2ed8
JS
263
264\membersection{cbRowDragPlugin::OnDrawPaneBackground}\label{cbrowdragpluginondrawpanebackground}
265
266\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneDecorEvent\& }{event}}
267
4cbc57f0
JS
268Handles pane drawing plugin events (appearance-independent logic).
269
499b2ed8
JS
270
271\membersection{cbRowDragPlugin::OnInitPlugin}\label{cbrowdragpluginoninitplugin}
272
273\func{void}{OnInitPlugin}{\void}
274
4cbc57f0
JS
275Called to initialize this plugin.
276
499b2ed8
JS
277
278\membersection{cbRowDragPlugin::OnLButtonDown}\label{cbrowdragpluginonlbuttondown}
279
280\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
281
4cbc57f0
JS
282Handles left button down plugin events (appearance-independent logic).
283
499b2ed8
JS
284
285\membersection{cbRowDragPlugin::OnLButtonUp}\label{cbrowdragpluginonlbuttonup}
286
287\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
288
4cbc57f0
JS
289Handles left button up plugin events (appearance-independent logic).
290
499b2ed8
JS
291
292\membersection{cbRowDragPlugin::OnMouseMove}\label{cbrowdragpluginonmousemove}
293
294\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
295
4cbc57f0 296Handles mouse move plugin events (appearance-independent logic).
499b2ed8
JS
297
298
299\membersection{cbRowDragPlugin::PrepareForRowDrag}\label{cbrowdragpluginprepareforrowdrag}
300
301\func{void}{PrepareForRowDrag}{\void}
302
4cbc57f0
JS
303Helper for drag and drop.
304
499b2ed8
JS
305
306\membersection{cbRowDragPlugin::SetMouseCapture}\label{cbrowdragpluginsetmousecapture}
307
308\func{void}{SetMouseCapture}{\param{bool }{captureOn}}
309
4cbc57f0
JS
310Helper for drag and drop.
311
499b2ed8
JS
312
313\membersection{cbRowDragPlugin::SetPaneMargins}\label{cbrowdragpluginsetpanemargins}
314
315\func{void}{SetPaneMargins}{\void}
316
4cbc57f0
JS
317Sets the pane margins.
318
499b2ed8
JS
319
320\membersection{cbRowDragPlugin::ShowDraggedRow}\label{cbrowdragpluginshowdraggedrow}
321
322\func{void}{ShowDraggedRow}{\param{int }{offset}}
323
4cbc57f0
JS
324Helper for drag and drop.
325
499b2ed8
JS
326
327\membersection{cbRowDragPlugin::ShowPaneImage}\label{cbrowdragpluginshowpaneimage}
328
329\func{void}{ShowPaneImage}{\void}
330
4cbc57f0
JS
331Helper for drag and drop.
332
333
334\membersection{cbRowDragPlugin::UnhighlightItemInFocus}\label{cbrowdragpluginunhighlightiteminfocus}
499b2ed8 335
4cbc57f0 336\func{void}{UnhighlightItemInFocus}{\void}
499b2ed8 337
4cbc57f0 338Helper for drag and drop.
499b2ed8 339