2 % automatically generated by HelpGen $Revision$ from
3 % controlbar.h at 05/Jan/02 22:50:59
7 \section{\class{cbDockPane
}}\label{cbdockpane
}
10 class manages containment and control of control-bars
11 along one of the four edges of the parent frame
13 \wxheading{Derived from
}
15 \helpref{wxObject
}{wxobject
}
17 \wxheading{Data structures
}
19 \latexignore{\rtfignore{\wxheading{Members
}}}
22 \membersection{cbDockPane::cbDockPane
}\label{cbdockpanecbdockpane
}
24 \func{}{cbDockPane
}{\param{int
}{alignment
},
\param{wxFrameLayout*
}{pPanel
}}
27 \func{}{cbDockPane
}{\void}
31 \membersection{cbDockPane::
\destruct{cbDockPane
}}\label{cbdockpanedtor
}
33 \func{}{\destruct{cbDockPane
}}{\void}
36 \membersection{cbDockPane::BarPresent
}\label{cbdockpanebarpresent
}
38 \func{bool
}{BarPresent
}{\param{cbBarInfo*
}{pBar
}}
40 TRUE, if the given bar node presents in this pane
43 \membersection{cbDockPane::CalcLengthRatios
}\label{cbdockpanecalclengthratios
}
45 \func{void
}{CalcLengthRatios
}{\param{cbRowInfo*
}{pInRow
}}
48 \membersection{cbDockPane::ContractBar
}\label{cbdockpanecontractbar
}
50 \func{void
}{ContractBar
}{\param{cbBarInfo*
}{pBar
}}
53 \membersection{cbDockPane::DoInsertBar
}\label{cbdockpanedoinsertbar
}
55 \func{void
}{DoInsertBar
}{\param{cbBarInfo*
}{pBar
},
\param{int
}{rowNo
}}
58 \membersection{cbDockPane::DrawHorizHandle
}\label{cbdockpanedrawhorizhandle
}
60 \func{void
}{DrawHorizHandle
}{\param{wxDC\&
}{dc
},
\param{int
}{x
},
\param{int
}{y
},
\param{int
}{width
}}
63 \membersection{cbDockPane::DrawVertHandle
}\label{cbdockpanedrawverthandle
}
65 \func{void
}{DrawVertHandle
}{\param{wxDC\&
}{dc
},
\param{int
}{x
},
\param{int
}{y
},
\param{int
}{height
}}
67 protected really (accessed only by plugins) row/bar resizing related helper-methods
70 \membersection{cbDockPane::ExpandBar
}\label{cbdockpaneexpandbar
}
72 \func{void
}{ExpandBar
}{\param{cbBarInfo*
}{pBar
}}
75 \membersection{cbDockPane::FinishDrawInArea
}\label{cbdockpanefinishdrawinarea
}
77 \func{void
}{FinishDrawInArea
}{\param{const wxRect\&
}{area
}}
80 \membersection{cbDockPane::FrameToPane
}\label{cbdockpaneframetopane
}
82 \func{void
}{FrameToPane
}{\param{wxRect*
}{pRect
}}
85 \func{void
}{FrameToPane
}{\param{int*
}{x
},
\param{int*
}{y
}}
87 coordinate translation between parent's frame and this pane
90 \membersection{cbDockPane::GetAlignment
}\label{cbdockpanegetalignment
}
92 \func{int
}{GetAlignment
}{\void}
95 \membersection{cbDockPane::GetBarInfoByWindow
}\label{cbdockpanegetbarinfobywindow
}
97 \func{cbBarInfo*
}{GetBarInfoByWindow
}{\param{wxWindow*
}{pBarWnd
}}
100 \membersection{cbDockPane::GetBarResizeRange
}\label{cbdockpanegetbarresizerange
}
102 \func{void
}{GetBarResizeRange
}{\param{cbBarInfo*
}{pBar
},
\param{int*
}{from
},
\param{int*
}{till
},
\param{bool
}{forLeftHandle
}}
105 \membersection{cbDockPane::GetDockingState
}\label{cbdockpanegetdockingstate
}
107 \func{int
}{GetDockingState
}{\void}
110 \membersection{cbDockPane::GetFirstRow
}\label{cbdockpanegetfirstrow
}
112 \func{cbRowInfo*
}{GetFirstRow
}{\void}
117 \membersection{cbDockPane::GetMinimalRowHeight
}\label{cbdockpanegetminimalrowheight
}
119 \func{int
}{GetMinimalRowHeight
}{\param{cbRowInfo*
}{pRow
}}
122 \membersection{cbDockPane::GetNotFixedBarsCount
}\label{cbdockpanegetnotfixedbarscount
}
124 \func{int
}{GetNotFixedBarsCount
}{\param{cbRowInfo*
}{pRow
}}
127 \membersection{cbDockPane::GetPaneHeight
}\label{cbdockpanegetpaneheight
}
129 \func{int
}{GetPaneHeight
}{\void}
131 retuns height, in pane's coordinates
134 \membersection{cbDockPane::GetRealRect
}\label{cbdockpanegetrealrect
}
136 \func{wxRect\&
}{GetRealRect
}{\void}
139 \membersection{cbDockPane::GetRow
}\label{cbdockpanegetrow
}
141 \func{cbRowInfo*
}{GetRow
}{\param{int
}{row
}}
143 protected really (accessed only by plugins)
145 \membersection{cbDockPane::GetRowAt
}\label{cbdockpanegetrowat
}
147 \func{int
}{GetRowAt
}{\param{int
}{upperY
},
\param{int
}{lowerY
}}
150 \func{int
}{GetRowAt
}{\param{int
}{paneY
}}
152 return -
1, if row is not present at given vertical position
155 \membersection{cbDockPane::GetRowIndex
}\label{cbdockpanegetrowindex
}
157 \func{int
}{GetRowIndex
}{\param{cbRowInfo*
}{pRow
}}
160 \membersection{cbDockPane::GetRowList
}\label{cbdockpanegetrowlist
}
162 \func{RowArrayT\&
}{GetRowList
}{\void}
164 used by updates-managers
167 \membersection{cbDockPane::GetRowResizeRange
}\label{cbdockpanegetrowresizerange
}
169 \func{void
}{GetRowResizeRange
}{\param{cbRowInfo*
}{pRow
},
\param{int*
}{from
},
\param{int*
}{till
},
\param{bool
}{forUpperHandle
}}
172 \membersection{cbDockPane::GetRowShapeData
}\label{cbdockpanegetrowshapedata
}
174 \func{void
}{GetRowShapeData
}{\param{cbRowInfo*
}{pRow
},
\param{wxList*
}{pLst
}}
176 cbBarShapeData objects will be placed to given pLst (see comments on cbBarShapeData)
179 \membersection{cbDockPane::GetRowWidth
}\label{cbdockpanegetrowwidth
}
181 \func{int
}{GetRowWidth
}{\param{wxList*
}{pRow
}}
184 \membersection{cbDockPane::GetRowY
}\label{cbdockpanegetrowy
}
186 \func{int
}{GetRowY
}{\param{cbRowInfo*
}{pRow
}}
189 \membersection{cbDockPane::HasNotFixedBarsLeft
}\label{cbdockpanehasnotfixedbarsleft
}
191 \func{bool
}{HasNotFixedBarsLeft
}{\param{cbBarInfo*
}{pBar
}}
194 \membersection{cbDockPane::HasNotFixedBarsRight
}\label{cbdockpanehasnotfixedbarsright
}
196 \func{bool
}{HasNotFixedBarsRight
}{\param{cbBarInfo*
}{pBar
}}
199 \membersection{cbDockPane::HasNotFixedRowsAbove
}\label{cbdockpanehasnotfixedrowsabove
}
201 \func{bool
}{HasNotFixedRowsAbove
}{\param{cbRowInfo*
}{pRow
}}
204 \membersection{cbDockPane::HasNotFixedRowsBelow
}\label{cbdockpanehasnotfixedrowsbelow
}
206 \func{bool
}{HasNotFixedRowsBelow
}{\param{cbRowInfo*
}{pRow
}}
209 \membersection{cbDockPane::HasPoint
}\label{cbdockpanehaspoint
}
211 \func{bool
}{HasPoint
}{\param{const wxPoint\&
}{pos
},
\param{int
}{x
},
\param{int
}{y
},
\param{int
}{width
},
\param{int
}{height
}}
214 \membersection{cbDockPane::HitTestPaneItems
}\label{cbdockpanehittestpaneitems
}
216 \func{int
}{HitTestPaneItems
}{\param{const wxPoint\&
}{pos
},
\param{cbRowInfo**
}{ppRow
},
\param{cbBarInfo**
}{ppBar
}}
218 returns result of hit-testing items in the pane,
219 see CB
\_HITTEST\_RESULTS enumeration
220 position in pane's coordinates
223 \membersection{cbDockPane::InitLinksForRow
}\label{cbdockpaneinitlinksforrow
}
225 \func{void
}{InitLinksForRow
}{\param{cbRowInfo*
}{pRow
}}
228 \membersection{cbDockPane::InitLinksForRows
}\label{cbdockpaneinitlinksforrows
}
230 \func{void
}{InitLinksForRows
}{\void}
233 \membersection{cbDockPane::InsertBar
}\label{cbdockpaneinsertbar
}
235 \func{void
}{InsertBar
}{\param{cbBarInfo*
}{pBar
},
\param{const wxRect\&
}{atRect
}}
237 rect given in the parent frame's coordinates
240 \func{void
}{InsertBar
}{\param{cbBarInfo*
}{pBar
},
\param{cbRowInfo*
}{pIntoRow
}}
242 inserts bar into the given row, with dimensions and position
243 stored in pBarInfo->mBounds. Returns the node of inserted bar
246 \func{void
}{InsertBar
}{\param{cbBarInfo*
}{pBarInfo
}}
248 inserts bar, sets its position according to the preferred settings
249 given in
(*pBarInfo) structure
252 \membersection{cbDockPane::InsertRow}\label{cbdockpaneinsertrow}
254 \func{void}{InsertRow}{\param{cbRowInfo* }{pRow}, \param{cbRowInfo* }{pBeforeRow}}
256 does not refresh the inserted row immediately,
257 if pBeforeRowNode arg. is NULL, row is appended to the end of pane's row list
260 \membersection{cbDockPane::IsFixedSize}\label{cbdockpaneisfixedsize}
262 \func{bool}{IsFixedSize}{\param{cbBarInfo* }{pInfo}}
267 \membersection{cbDockPane::IsHorizontal}\label{cbdockpaneishorizontal}
269 \func{bool}{IsHorizontal}{\void}
272 \membersection{cbDockPane::MatchesMask}\label{cbdockpanematchesmask}
274 \func{bool}{MatchesMask}{\param{int }{paneMask}}
277 \membersection{cbDockPane::PaintBar}\label{cbdockpanepaintbar}
279 \func{void}{PaintBar}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
282 \membersection{cbDockPane::PaintBarDecorations}\label{cbdockpanepaintbardecorations}
284 \func{void}{PaintBarDecorations}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
286 protected really (accessed only by plugins) methods for incramental on-screen refreshing of the pane
287 (simply, they are wrappers around corresponding plugin-events)
290 \membersection{cbDockPane::PaintBarHandles}\label{cbdockpanepaintbarhandles}
292 \func{void}{PaintBarHandles}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
295 \membersection{cbDockPane::PaintPane}\label{cbdockpanepaintpane}
297 \func{void}{PaintPane}{\param{wxDC\& }{dc}}
300 \membersection{cbDockPane::PaintPaneBackground}\label{cbdockpanepaintpanebackground}
302 \func{void}{PaintPaneBackground}{\param{wxDC\& }{dc}}
305 \membersection{cbDockPane::PaintPaneDecorations}\label{cbdockpanepaintpanedecorations}
307 \func{void}{PaintPaneDecorations}{\param{wxDC\& }{dc}}
310 \membersection{cbDockPane::PaintRow}\label{cbdockpanepaintrow}
312 \func{void}{PaintRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
315 \membersection{cbDockPane::PaintRowBackground}\label{cbdockpanepaintrowbackground}
317 \func{void}{PaintRowBackground}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
320 \membersection{cbDockPane::PaintRowDecorations}\label{cbdockpanepaintrowdecorations}
322 \func{void}{PaintRowDecorations}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
325 \membersection{cbDockPane::PaintRowHandles}\label{cbdockpanepaintrowhandles}
327 \func{void}{PaintRowHandles}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
330 \membersection{cbDockPane::PaneToFrame}\label{cbdockpanepanetoframe}
332 \func{void}{PaneToFrame}{\param{wxRect* }{pRect}}
335 \func{void}{PaneToFrame}{\param{int* }{x}, \param{int* }{y}}
338 \membersection{cbDockPane::RecalcLayout}\label{cbdockpanerecalclayout}
340 \func{void}{RecalcLayout}{\void}
343 \membersection{cbDockPane::RecalcRowLayout}\label{cbdockpanerecalcrowlayout}
345 \func{void}{RecalcRowLayout}{\param{cbRowInfo* }{pRow}}
348 \membersection{cbDockPane::RemoveBar}\label{cbdockpaneremovebar}
350 \func{void}{RemoveBar}{\param{cbBarInfo* }{pBar}}
352 does not destroys the info bar , only removes it's reference
356 \membersection{cbDockPane::RemoveRow}\label{cbdockpaneremoverow}
358 \func{void}{RemoveRow}{\param{cbRowInfo* }{pRow}}
360 does not destroy the row object, only removes the corresponding
364 \membersection{cbDockPane::ResizeBar}\label{cbdockpaneresizebar}
366 \func{void}{ResizeBar}{\param{cbBarInfo* }{pBar}, \param{int }{ofs}, \param{bool }{forLeftHandle}}
369 \membersection{cbDockPane::ResizeRow}\label{cbdockpaneresizerow}
371 \func{void}{ResizeRow}{\param{cbRowInfo* }{pRow}, \param{int }{ofs}, \param{bool }{forUpperHandle}}
374 \membersection{cbDockPane::SetBoundsInParent}\label{cbdockpanesetboundsinparent}
376 \func{void}{SetBoundsInParent}{\param{const wxRect\& }{rect}}
378 set the position and dims. of the pane in parent frame's coordinates
381 \membersection{cbDockPane::SetMargins}\label{cbdockpanesetmargins}
383 \func{void}{SetMargins}{\param{int }{top}, \param{int }{bottom}, \param{int }{left}, \param{int }{right}}
385 sets pane's margins in frame's coordinate orientations
388 \membersection{cbDockPane::SetPaneWidth}\label{cbdockpanesetpanewidth}
390 \func{void}{SetPaneWidth}{\param{int }{width}}
392 sets pane's width in pane's coordinates (including margins)
395 \membersection{cbDockPane::SetRowHeight}\label{cbdockpanesetrowheight}
397 \func{void}{SetRowHeight}{\param{cbRowInfo* }{pRow}, \param{int }{newHeight}}
399 given row height includes height of row handles, if present
402 \membersection{cbDockPane::SetRowShapeData}\label{cbdockpanesetrowshapedata}
404 \func{void}{SetRowShapeData}{\param{cbRowInfo* }{pRowNode}, \param{wxList* }{pLst}}
406 sets the shape to the given row, using the data provided in pLst
409 \membersection{cbDockPane::SizeBar}\label{cbdockpanesizebar}
411 \func{void}{SizeBar}{\param{cbBarInfo* }{pBar}}
414 \membersection{cbDockPane::SizePaneObjects}\label{cbdockpanesizepaneobjects}
416 \func{void}{SizePaneObjects}{\void}
419 \membersection{cbDockPane::SizeRowObjects}\label{cbdockpanesizerowobjects}
421 \func{void}{SizeRowObjects}{\param{cbRowInfo* }{pRow}}
424 \membersection{cbDockPane::StartDrawInArea}\label{cbdockpanestartdrawinarea}
426 \func{wxDC*}{StartDrawInArea}{\param{const wxRect\& }{area}}
429 \membersection{cbDockPane::SyncRowFlags}\label{cbdockpanesyncrowflags}
431 \func{void}{SyncRowFlags}{\param{cbRowInfo* }{pRow}}
433 re-setups flags in the row-information structure, so that
434 the would match the changed state of row-items correctly