]> git.saurik.com Git - wxWidgets.git/blame - contrib/docs/latex/fl/cbbardragplugin.tex
add -mno-cygwin detection: we should treat cygwin as Windows, not Unix, when it's...
[wxWidgets.git] / contrib / docs / latex / fl / cbbardragplugin.tex
CommitLineData
499b2ed8
JS
1%
2% automatically generated by HelpGen $Revision$ from
4cbc57f0 3% bardragpl.h at 21/Jan/02 21:14:17
499b2ed8
JS
4%
5
6
7\section{\class{cbBarDragPlugin}}\label{cbbardragplugin}
8
4cbc57f0
JS
9
10Plugin class implementing bar dragging.
11
499b2ed8
JS
12\wxheading{Derived from}
13
14\helpref{cbPluginBase}{cbpluginbase}
15
4cbc57f0
JS
16\wxheading{Include files}
17
6e8515a3 18<wx/fl/bardragpl.h>
4cbc57f0 19
499b2ed8
JS
20\wxheading{Data structures}
21
22\latexignore{\rtfignore{\wxheading{Members}}}
23
24
25\membersection{cbBarDragPlugin::cbBarDragPlugin}\label{cbbardragplugincbbardragplugin}
26
27\func{}{cbBarDragPlugin}{\void}
28
4cbc57f0
JS
29Default constructor.
30
499b2ed8
JS
31
32\func{}{cbBarDragPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
33
4cbc57f0
JS
34Constructor taking a parent frame, and flag. See cbPluginBase.
35
499b2ed8
JS
36
37\membersection{cbBarDragPlugin::\destruct{cbBarDragPlugin}}\label{cbbardragplugindtor}
38
39\func{}{\destruct{cbBarDragPlugin}}{\void}
40
4cbc57f0
JS
41Destructor.
42
499b2ed8
JS
43
44\membersection{cbBarDragPlugin::AdjustHintRect}\label{cbbardragpluginadjusthintrect}
45
46\func{void}{AdjustHintRect}{\param{wxPoint\& }{mousePos}}
47
48the thicker rectangle is drawn using hatched brush,
49the default border width for this rectangle is 8 pix.
4cbc57f0 50Internal implementation function.
499b2ed8
JS
51
52
53\membersection{cbBarDragPlugin::CalcOnScreenDims}\label{cbbardragplugincalconscreendims}
54
55\func{void}{CalcOnScreenDims}{\param{wxRect\& }{rect}}
56
4cbc57f0
JS
57Internal implementation function.
58
499b2ed8
JS
59
60\membersection{cbBarDragPlugin::ClipPosInFrame}\label{cbbardragpluginclipposinframe}
61
62\func{void}{ClipPosInFrame}{\param{wxPoint\& }{pos}}
63
4cbc57f0
JS
64Internal implementation function.
65
499b2ed8
JS
66
67\membersection{cbBarDragPlugin::ClipRectInFrame}\label{cbbardragplugincliprectinframe}
68
69\func{void}{ClipRectInFrame}{\param{wxRect\& }{rect}}
70
4cbc57f0
JS
71Internal implementation function.
72
499b2ed8
JS
73
74\membersection{cbBarDragPlugin::DoDrawHintRect}\label{cbbardragplugindodrawhintrect}
75
76\func{void}{DoDrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
77
4cbc57f0
JS
78Internal implementation function.
79Draw the hint rectangle.
80
499b2ed8
JS
81
82\membersection{cbBarDragPlugin::DrawHintRect}\label{cbbardragplugindrawhintrect}
83
84\func{void}{DrawHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
85
4cbc57f0
JS
86Internal implementation function.
87Draw the visual hint while dragging.
88
499b2ed8
JS
89
90\membersection{cbBarDragPlugin::EraseHintRect}\label{cbbardragpluginerasehintrect}
91
92\func{void}{EraseHintRect}{\param{wxRect\& }{rect}, \param{bool }{isInClientRect}}
93
4cbc57f0
JS
94Internal implementation function.
95Erase the visual hint while dragging.
96
499b2ed8
JS
97
98\membersection{cbBarDragPlugin::FinishTracking}\label{cbbardragpluginfinishtracking}
99
100\func{void}{FinishTracking}{\void}
101
4cbc57f0
JS
102Internal implementation function.
103Stop showing the visual hint while dragging.
104
499b2ed8
JS
105
106\membersection{cbBarDragPlugin::GetBarHeightInPane}\label{cbbardragplugingetbarheightinpane}
107
108\func{int}{GetBarHeightInPane}{\param{cbDockPane* }{pPane}}
109
4cbc57f0
JS
110Internal implementation function.
111
499b2ed8
JS
112
113\membersection{cbBarDragPlugin::GetBarWidthInPane}\label{cbbardragplugingetbarwidthinpane}
114
115\func{int}{GetBarWidthInPane}{\param{cbDockPane* }{pPane}}
116
4cbc57f0
JS
117Internal implementation function.
118
499b2ed8
JS
119
120\membersection{cbBarDragPlugin::GetDistanceToPane}\label{cbbardragplugingetdistancetopane}
121
122\func{int}{GetDistanceToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
123
4cbc57f0
JS
124Internal implementation function.
125
499b2ed8
JS
126
127\membersection{cbBarDragPlugin::HitTestPanes}\label{cbbardragpluginhittestpanes}
128
129\func{cbDockPane*}{HitTestPanes}{\param{wxRect\& }{rect}}
130
4cbc57f0
JS
131Internal implementation function. Finds the pane
132under the specified rectangle.
133
499b2ed8
JS
134
135\func{cbDockPane*}{HitTestPanes}{\param{wxPoint\& }{pos}}
136
4cbc57f0
JS
137Internal implementation function. Finds the pane
138under the specified point.
139
499b2ed8
JS
140
141\membersection{cbBarDragPlugin::HitsPane}\label{cbbardragpluginhitspane}
142
143\func{bool}{HitsPane}{\param{cbDockPane* }{pPane}, \param{wxRect\& }{rect}}
144
4cbc57f0
JS
145Internal implementation function.
146
499b2ed8
JS
147
148\membersection{cbBarDragPlugin::IsInClientArea}\label{cbbardragpluginisinclientarea}
149
150\func{bool}{IsInClientArea}{\param{wxPoint\& }{mousePos}}
151
4cbc57f0
JS
152Internal implementation function.
153
499b2ed8
JS
154
155\func{bool}{IsInClientArea}{\param{wxRect\& }{rect}}
156
4cbc57f0
JS
157Internal implementation function.
158
499b2ed8
JS
159
160\membersection{cbBarDragPlugin::IsInOtherPane}\label{cbbardragpluginisinotherpane}
161
162\func{bool}{IsInOtherPane}{\param{wxPoint\& }{mousePos}}
163
4cbc57f0
JS
164Internal implementation function.
165
499b2ed8
JS
166
167\membersection{cbBarDragPlugin::OnDrawHintRect}\label{cbbardragpluginondrawhintrect}
168
169\func{void}{OnDrawHintRect}{\param{cbDrawHintRectEvent\& }{event}}
170
4cbc57f0 171Handles event, which originates from itself.
499b2ed8
JS
172
173
174\membersection{cbBarDragPlugin::OnLButtonDown}\label{cbbardragpluginonlbuttondown}
175
176\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
177
4cbc57f0
JS
178Handler for plugin event.
179
499b2ed8
JS
180
181\membersection{cbBarDragPlugin::OnLButtonUp}\label{cbbardragpluginonlbuttonup}
182
183\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
184
4cbc57f0
JS
185Handler for plugin event.
186
499b2ed8
JS
187
188\membersection{cbBarDragPlugin::OnLDblClick}\label{cbbardragpluginonldblclick}
189
190\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
191
4cbc57f0
JS
192Handler for plugin event.
193
499b2ed8
JS
194
195\membersection{cbBarDragPlugin::OnMouseMove}\label{cbbardragpluginonmousemove}
196
197\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
198
4cbc57f0 199Handler for plugin event.
499b2ed8
JS
200
201
202\membersection{cbBarDragPlugin::OnStartBarDragging}\label{cbbardragpluginonstartbardragging}
203
204\func{void}{OnStartBarDragging}{\param{cbStartBarDraggingEvent\& }{event}}
205
4cbc57f0
JS
206Handler for plugin event.
207
499b2ed8
JS
208
209\membersection{cbBarDragPlugin::RectToScr}\label{cbbardragpluginrecttoscr}
210
211\func{void}{RectToScr}{\param{wxRect\& }{frameRect}, \param{wxRect\& }{scrRect}}
212
4cbc57f0
JS
213Internal implementation function.
214Converts the given rectangle from window to screen coordinates.
215
499b2ed8
JS
216
217\membersection{cbBarDragPlugin::ShowHint}\label{cbbardragpluginshowhint}
218
219\func{void}{ShowHint}{\param{bool }{prevWasInClient}}
220
4cbc57f0
JS
221Internal implementation function.
222Show the hint; called within OnMouseMove.
223
499b2ed8
JS
224
225\membersection{cbBarDragPlugin::StartTracking}\label{cbbardragpluginstarttracking}
226
227\func{void}{StartTracking}{\void}
228
229on-screen hint-tracking related methods
4cbc57f0
JS
230Internal implementation function.
231Start showing a visual hint while dragging.
499b2ed8
JS
232
233
234\membersection{cbBarDragPlugin::StickToPane}\label{cbbardragpluginsticktopane}
235
236\func{void}{StickToPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
237
4cbc57f0
JS
238Internal implementation function.
239
499b2ed8
JS
240
241\membersection{cbBarDragPlugin::UnstickFromPane}\label{cbbardragpluginunstickfrompane}
242
243\func{void}{UnstickFromPane}{\param{cbDockPane* }{pPane}, \param{wxPoint\& }{mousePos}}
244
4cbc57f0
JS
245Internal implementation function.
246