]> git.saurik.com Git - wxWidgets.git/blame - contrib/docs/latex/fl/cbpanedrawplugin.tex
added a hack to work around the dummy kill focus messages under GTK
[wxWidgets.git] / contrib / docs / latex / fl / cbpanedrawplugin.tex
CommitLineData
499b2ed8
JS
1%
2% automatically generated by HelpGen $Revision$ from
4cbc57f0 3% panedrawpl.h at 21/Jan/02 21:14:19
499b2ed8
JS
4%
5
6
7\section{\class{cbPaneDrawPlugin}}\label{cbpanedrawplugin}
8
9
4cbc57f0
JS
10Simple but all-in-one plugin implementation. Resembles the look and feel of
11to MFC control-bars. The class handles painting of the pane and the items in it;
12it generates bar/layout customization events, when the user right-clicks the bar/pane.
13Hooking an instance of this and row-layout plugins for each pane
14would be enough for the frame layout to function properly
15(they are plugged in automatically by the wxFrameLayout class).
16
499b2ed8
JS
17\wxheading{Derived from}
18
19\helpref{cbPluginBase}{cbpluginbase}
20
4cbc57f0
JS
21\wxheading{Include files}
22
23<panedrawpl.h>
24
499b2ed8
JS
25\wxheading{Data structures}
26
27\latexignore{\rtfignore{\wxheading{Members}}}
28
29
30\membersection{cbPaneDrawPlugin::cbPaneDrawPlugin}\label{cbpanedrawplugincbpanedrawplugin}
31
32\func{}{cbPaneDrawPlugin}{\param{wxFrameLayout* }{pPanel}, \param{int }{paneMask = wxALL\_PANES}}
33
4cbc57f0
JS
34Constructor taking frame layout pane and a pane mask.
35
499b2ed8
JS
36
37\func{}{cbPaneDrawPlugin}{\void}
38
4cbc57f0
JS
39Default constructor.
40
499b2ed8
JS
41
42\membersection{cbPaneDrawPlugin::\destruct{cbPaneDrawPlugin}}\label{cbpanedrawplugindtor}
43
44\func{}{\destruct{cbPaneDrawPlugin}}{\void}
45
4cbc57f0
JS
46Destructor.
47
499b2ed8
JS
48
49\membersection{cbPaneDrawPlugin::Clone}\label{cbpanedrawpluginclone}
50
51\func{cbPluginBase*}{Clone}{\void}
52
4cbc57f0
JS
53Clone function, returning a new instance of this class.
54
499b2ed8
JS
55
56\membersection{cbPaneDrawPlugin::DrawBarInnerShadeRect}\label{cbpanedrawplugindrawbarinnershaderect}
57
58\func{void}{DrawBarInnerShadeRect}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
59
4cbc57f0
JS
60Internal helper: draws the inner bar shading.
61
499b2ed8
JS
62
63\membersection{cbPaneDrawPlugin::DrawDraggedHandle}\label{cbpanedrawplugindrawdraggedhandle}
64
65\func{void}{DrawDraggedHandle}{\param{const wxPoint\& }{pos}, \param{cbDockPane\& }{pane}}
66
4cbc57f0 67Internal helper: draws the dragged handle.
499b2ed8
JS
68
69
70\membersection{cbPaneDrawPlugin::DrawLowerRowHandle}\label{cbpanedrawplugindrawlowerrowhandle}
71
72\func{void}{DrawLowerRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
73
4cbc57f0
JS
74Internal helper: draws the lower row handle.
75
499b2ed8
JS
76
77\membersection{cbPaneDrawPlugin::DrawLowerRowShades}\label{cbpanedrawplugindrawlowerrowshades}
78
79\func{void}{DrawLowerRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
80
4cbc57f0
JS
81Internal helper: draws the lower row shading.
82
499b2ed8
JS
83
84\membersection{cbPaneDrawPlugin::DrawPaneShade}\label{cbpanedrawplugindrawpaneshade}
85
86\func{void}{DrawPaneShade}{\param{wxDC\& }{dc}, \param{int }{alignment}}
87
4cbc57f0
JS
88Internal helper: draws the pane shading.
89
499b2ed8
JS
90
91\membersection{cbPaneDrawPlugin::DrawPaneShadeForRow}\label{cbpanedrawplugindrawpaneshadeforrow}
92
93\func{void}{DrawPaneShadeForRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
94
4cbc57f0
JS
95Internal helper: draws the pane shading for a row.
96
499b2ed8
JS
97
98\membersection{cbPaneDrawPlugin::DrawShade}\label{cbpanedrawplugindrawshade}
99
100\func{void}{DrawShade}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
101
4cbc57f0
JS
102Internal helper: draws shading.
103
499b2ed8
JS
104
105\membersection{cbPaneDrawPlugin::DrawShade1}\label{cbpanedrawplugindrawshade1}
106
107\func{void}{DrawShade1}{\param{int }{level}, \param{wxRect\& }{rect}, \param{int }{alignment}, \param{wxDC\& }{dc}}
108
4cbc57f0
JS
109Internal helper: draws shading.
110
499b2ed8
JS
111
112\membersection{cbPaneDrawPlugin::DrawUpperRowHandle}\label{cbpanedrawplugindrawupperrowhandle}
113
114\func{void}{DrawUpperRowHandle}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
115
4cbc57f0
JS
116Internal helper: draws the upper row handle.
117
499b2ed8
JS
118
119\membersection{cbPaneDrawPlugin::DrawUpperRowShades}\label{cbpanedrawplugindrawupperrowshades}
120
121\func{void}{DrawUpperRowShades}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}, \param{int }{level}}
122
4cbc57f0
JS
123Internal helper: draws the upper row shading.
124
499b2ed8
JS
125
126\membersection{cbPaneDrawPlugin::OnDrawBarDecorations}\label{cbpanedrawpluginondrawbardecorations}
127
128\func{void}{OnDrawBarDecorations}{\param{cbDrawBarDecorEvent\& }{event}}
129
4cbc57f0
JS
130Handler for draw bar decorations events.
131
499b2ed8
JS
132
133\membersection{cbPaneDrawPlugin::OnDrawBarHandles}\label{cbpanedrawpluginondrawbarhandles}
134
135\func{void}{OnDrawBarHandles}{\param{cbDrawBarHandlesEvent\& }{event}}
136
4cbc57f0
JS
137Handler for draw bar handles events.
138
499b2ed8
JS
139
140\membersection{cbPaneDrawPlugin::OnDrawPaneBackground}\label{cbpanedrawpluginondrawpanebackground}
141
142\func{void}{OnDrawPaneBackground}{\param{cbDrawPaneBkGroundEvent\& }{event}}
143
4cbc57f0
JS
144Handler for draw pane background events.
145
499b2ed8
JS
146
147\membersection{cbPaneDrawPlugin::OnDrawPaneDecorations}\label{cbpanedrawpluginondrawpanedecorations}
148
149\func{void}{OnDrawPaneDecorations}{\param{cbDrawPaneDecorEvent\& }{event}}
150
4cbc57f0
JS
151Handler for draw pane decoration events.
152
499b2ed8
JS
153
154\membersection{cbPaneDrawPlugin::OnDrawRowBackground}\label{cbpanedrawpluginondrawrowbackground}
155
156\func{void}{OnDrawRowBackground}{\param{cbDrawRowBkGroundEvent\& }{event}}
157
4cbc57f0
JS
158Handler for draw row background events.
159
499b2ed8
JS
160
161\membersection{cbPaneDrawPlugin::OnDrawRowDecorations}\label{cbpanedrawpluginondrawrowdecorations}
162
163\func{void}{OnDrawRowDecorations}{\param{cbDrawRowDecorEvent\& }{event}}
164
4cbc57f0
JS
165Handler for draw row decoration events.
166
499b2ed8
JS
167
168\membersection{cbPaneDrawPlugin::OnDrawRowHandles}\label{cbpanedrawpluginondrawrowhandles}
169
170\func{void}{OnDrawRowHandles}{\param{cbDrawRowHandlesEvent\& }{event}}
171
4cbc57f0
JS
172Handler for draw row handles events.
173
499b2ed8
JS
174
175\membersection{cbPaneDrawPlugin::OnFinishDrawInArea}\label{cbpanedrawpluginonfinishdrawinarea}
176
177\func{void}{OnFinishDrawInArea}{\param{cbFinishDrawInAreaEvent\& }{event}}
178
4cbc57f0
JS
179Handler for finish draw in area events.
180
499b2ed8
JS
181
182\membersection{cbPaneDrawPlugin::OnLButtonDown}\label{cbpanedrawpluginonlbuttondown}
183
184\func{void}{OnLButtonDown}{\param{cbLeftDownEvent\& }{event}}
185
4cbc57f0 186Handler for left mouse button down events.
499b2ed8
JS
187
188
189\membersection{cbPaneDrawPlugin::OnLButtonUp}\label{cbpanedrawpluginonlbuttonup}
190
191\func{void}{OnLButtonUp}{\param{cbLeftUpEvent\& }{event}}
192
4cbc57f0
JS
193Handler for left mouse button up events.
194
499b2ed8
JS
195
196\membersection{cbPaneDrawPlugin::OnLDblClick}\label{cbpanedrawpluginonldblclick}
197
198\func{void}{OnLDblClick}{\param{cbLeftDClickEvent\& }{event}}
199
4cbc57f0
JS
200Handler for left double-click mouse button down events.
201
499b2ed8
JS
202
203\membersection{cbPaneDrawPlugin::OnMouseMove}\label{cbpanedrawpluginonmousemove}
204
205\func{void}{OnMouseMove}{\param{cbMotionEvent\& }{event}}
206
4cbc57f0
JS
207Handler for mouse move events.
208
499b2ed8
JS
209
210\membersection{cbPaneDrawPlugin::OnRButtonUp}\label{cbpanedrawpluginonrbuttonup}
211
212\func{void}{OnRButtonUp}{\param{cbRightUpEvent\& }{event}}
213
4cbc57f0
JS
214Handler for right mouse button up events.
215
499b2ed8
JS
216
217\membersection{cbPaneDrawPlugin::OnSizeBarWindow}\label{cbpanedrawpluginonsizebarwindow}
218
219\func{void}{OnSizeBarWindow}{\param{cbSizeBarWndEvent\& }{event}}
220
4cbc57f0
JS
221Handler for bar size events.
222
499b2ed8
JS
223
224\membersection{cbPaneDrawPlugin::OnStartDrawInArea}\label{cbpanedrawpluginonstartdrawinarea}
225
226\func{void}{OnStartDrawInArea}{\param{cbStartDrawInAreaEvent\& }{event}}
227
4cbc57f0
JS
228Handler for start draw in area events.
229
499b2ed8
JS
230
231\membersection{cbPaneDrawPlugin::SetDarkPixel}\label{cbpanedrawpluginsetdarkpixel}
232
233\func{void}{SetDarkPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
234
4cbc57f0
JS
235Internal helper: sets a dark pixel at the given location.
236
499b2ed8
JS
237
238\membersection{cbPaneDrawPlugin::SetLightPixel}\label{cbpanedrawpluginsetlightpixel}
239
240\func{void}{SetLightPixel}{\param{int }{x}, \param{int }{y}, \param{wxDC\& }{dc}}
241
4cbc57f0
JS
242Internal helper: sets a light pixel at the given location.
243