2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
2002-01-21 17:34:42 -05:00
|
|
|
% controlbar.h at 21/Jan/02 21:14:14
|
2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
|
|
|
|
|
|
|
|
\section{\class{cbDockPane}}\label{cbdockpane}
|
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
This class manages containment and control of control bars
|
|
|
|
along one of the four edges of the parent frame.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
2002-01-31 15:57:31 -05:00
|
|
|
<wx/fl/controlbar.h>
|
2002-01-21 17:34:42 -05:00
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Data structures}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::cbDockPane}\label{cbdockpanecbdockpane}
|
|
|
|
|
|
|
|
\func{}{cbDockPane}{\param{int }{alignment}, \param{wxFrameLayout* }{pPanel}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Constructor, taking alignment and layout panel.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{}{cbDockPane}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
public members Default constructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::\destruct{cbDockPane}}\label{cbdockpanedtor}
|
|
|
|
|
|
|
|
\func{}{\destruct{cbDockPane}}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Destructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::BarPresent}\label{cbdockpanebarpresent}
|
|
|
|
|
|
|
|
\func{bool}{BarPresent}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the given bar is present in this pane.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::CalcLengthRatios}\label{cbdockpanecalclengthratios}
|
|
|
|
|
|
|
|
\func{void}{CalcLengthRatios}{\param{cbRowInfo* }{pInRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Calculate lengths.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::ContractBar}\label{cbdockpanecontractbar}
|
|
|
|
|
|
|
|
\func{void}{ContractBar}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Contracts the bar.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::DoInsertBar}\label{cbdockpanedoinsertbar}
|
|
|
|
|
|
|
|
\func{void}{DoInsertBar}{\param{cbBarInfo* }{pBar}, \param{int }{rowNo}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Inserts the bar at the given row number.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::DrawHorizHandle}\label{cbdockpanedrawhorizhandle}
|
|
|
|
|
|
|
|
\func{void}{DrawHorizHandle}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}, \param{int }{width}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Row/bar resizing related helper-method.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::DrawVertHandle}\label{cbdockpanedrawverthandle}
|
|
|
|
|
|
|
|
\func{void}{DrawVertHandle}{\param{wxDC\& }{dc}, \param{int }{x}, \param{int }{y}, \param{int }{height}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
protected really (accessed only by plugins) Row/bar resizing related helper-method.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::ExpandBar}\label{cbdockpaneexpandbar}
|
|
|
|
|
|
|
|
\func{void}{ExpandBar}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Expands the bar.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::FinishDrawInArea}\label{cbdockpanefinishdrawinarea}
|
|
|
|
|
|
|
|
\func{void}{FinishDrawInArea}{\param{const wxRect\& }{area}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates cbFinishDrawInAreaEvent and sends it to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::FrameToPane}\label{cbdockpaneframetopane}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{void}{FrameToPane}{\param{int* }{x}, \param{int* }{y}}
|
2002-01-05 17:59:59 -05:00
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Coordinate translation between parent's frame and this pane.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{void}{FrameToPane}{\param{wxRect* }{pRect}}
|
|
|
|
|
|
|
|
Coordinate translation between parent's frame and this pane.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::GetAlignment}\label{cbdockpanegetalignment}
|
|
|
|
|
|
|
|
\func{int}{GetAlignment}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the alignment for this pane. The value is one of
|
|
|
|
FL\_ALIGN\_TOP, FL\_ALIGN\_BOTTOM, FL\_ALIGN\_LEFT, FL\_ALIGN\_RIGHT.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetBarInfoByWindow}\label{cbdockpanegetbarinfobywindow}
|
|
|
|
|
|
|
|
\func{cbBarInfo*}{GetBarInfoByWindow}{\param{wxWindow* }{pBarWnd}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Finds the bar information by corresponding window.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetBarResizeRange}\label{cbdockpanegetbarresizerange}
|
|
|
|
|
|
|
|
\func{void}{GetBarResizeRange}{\param{cbBarInfo* }{pBar}, \param{int* }{from}, \param{int* }{till}, \param{bool }{forLeftHandle}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the bar's resize range.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetDockingState}\label{cbdockpanegetdockingstate}
|
|
|
|
|
|
|
|
\func{int}{GetDockingState}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns wxCBAR\_DOCKED\_HORIZONTALLY if the alignment is top or bottom,
|
|
|
|
or wxCBAR\_DOCKED\_VERTICALLY otherwise.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetFirstRow}\label{cbdockpanegetfirstrow}
|
|
|
|
|
|
|
|
\func{cbRowInfo*}{GetFirstRow}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the first row.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::GetMinimalRowHeight}\label{cbdockpanegetminimalrowheight}
|
|
|
|
|
|
|
|
\func{int}{GetMinimalRowHeight}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the minimal row height for the given row.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetNotFixedBarsCount}\label{cbdockpanegetnotfixedbarscount}
|
|
|
|
|
|
|
|
\func{int}{GetNotFixedBarsCount}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the number of bars whose size is not fixed.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetPaneHeight}\label{cbdockpanegetpaneheight}
|
|
|
|
|
|
|
|
\func{int}{GetPaneHeight}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the height in the pane's coordinates.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRealRect}\label{cbdockpanegetrealrect}
|
|
|
|
|
|
|
|
\func{wxRect\&}{GetRealRect}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the bounds of the pane, in parent coordinates.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRow}\label{cbdockpanegetrow}
|
|
|
|
|
|
|
|
\func{cbRowInfo*}{GetRow}{\param{int }{row}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
protected really (accessed only by plugins) Returns the row info for a row index. Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRowAt}\label{cbdockpanegetrowat}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{int}{GetRowAt}{\param{int }{paneY}}
|
2002-01-05 17:59:59 -05:00
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the row at the given vertical position.
|
|
|
|
Returns -1 if the row is not present at given vertical position.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{int}{GetRowAt}{\param{int }{upperY}, \param{int }{lowerY}}
|
|
|
|
|
|
|
|
Returns the row between the given vertical positions.
|
|
|
|
Returns -1 if the row is not present.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRowIndex}\label{cbdockpanegetrowindex}
|
|
|
|
|
|
|
|
\func{int}{GetRowIndex}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the row index for the given row info. Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRowList}\label{cbdockpanegetrowlist}
|
|
|
|
|
|
|
|
\func{RowArrayT\&}{GetRowList}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns an array of rows. Used by updates-managers.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRowResizeRange}\label{cbdockpanegetrowresizerange}
|
|
|
|
|
|
|
|
\func{void}{GetRowResizeRange}{\param{cbRowInfo* }{pRow}, \param{int* }{from}, \param{int* }{till}, \param{bool }{forUpperHandle}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the row's resize range.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRowShapeData}\label{cbdockpanegetrowshapedata}
|
|
|
|
|
|
|
|
\func{void}{GetRowShapeData}{\param{cbRowInfo* }{pRow}, \param{wxList* }{pLst}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns row shape data.
|
|
|
|
cbBarShapeData objects will be added to the given pLst.
|
|
|
|
cbBarShapeData is used for storing the original bar's positions in the row,
|
|
|
|
when the 'non-destructive-friction' option is turned on.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::GetRowY}\label{cbdockpanegetrowy}
|
|
|
|
|
|
|
|
\func{int}{GetRowY}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Gets the vertical position at the given row.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::HasNotFixedBarsLeft}\label{cbdockpanehasnotfixedbarsleft}
|
|
|
|
|
|
|
|
\func{bool}{HasNotFixedBarsLeft}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if there are any variable-sized rows to the left of this one.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::HasNotFixedBarsRight}\label{cbdockpanehasnotfixedbarsright}
|
|
|
|
|
|
|
|
\func{bool}{HasNotFixedBarsRight}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if there are any variable-sized rows to the right of this one.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::HasNotFixedRowsAbove}\label{cbdockpanehasnotfixedrowsabove}
|
|
|
|
|
|
|
|
\func{bool}{HasNotFixedRowsAbove}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if there are any variable-sized rows above this one.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::HasNotFixedRowsBelow}\label{cbdockpanehasnotfixedrowsbelow}
|
|
|
|
|
|
|
|
\func{bool}{HasNotFixedRowsBelow}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if there are any variable-sized rows below this one.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::HasPoint}\label{cbdockpanehaspoint}
|
|
|
|
|
|
|
|
\func{bool}{HasPoint}{\param{const wxPoint\& }{pos}, \param{int }{x}, \param{int }{y}, \param{int }{width}, \param{int }{height}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if pos is within the given rectangle.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::HitTestPaneItems}\label{cbdockpanehittestpaneitems}
|
|
|
|
|
|
|
|
\func{int}{HitTestPaneItems}{\param{const wxPoint\& }{pos}, \param{cbRowInfo** }{ppRow}, \param{cbBarInfo** }{ppBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns the result of hit-testing items in the pane.
|
|
|
|
See CB\_HITTEST\_RESULT enumerated type.
|
|
|
|
pos is the position in this pane's coordinates.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::InitLinksForRow}\label{cbdockpaneinitlinksforrow}
|
|
|
|
|
|
|
|
\func{void}{InitLinksForRow}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets up links between bars.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::InitLinksForRows}\label{cbdockpaneinitlinksforrows}
|
|
|
|
|
|
|
|
\func{void}{InitLinksForRows}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets up links between bars.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::InsertBar}\label{cbdockpaneinsertbar}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{void}{InsertBar}{\param{cbBarInfo* }{pBarInfo}}
|
2002-01-05 17:59:59 -05:00
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Inserts bar and sets its position according to the preferred settings
|
|
|
|
given in pBarInfo.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{void}{InsertBar}{\param{cbBarInfo* }{pBar}, \param{const wxRect\& }{rect}}
|
2002-01-05 17:59:59 -05:00
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Inserts the bar into this pane. rect is given in the parent frame's coordinates.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\func{void}{InsertBar}{\param{cbBarInfo* }{pBar}, \param{cbRowInfo* }{pIntoRow}}
|
2002-01-05 17:59:59 -05:00
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Inserts the bar into the given row, with dimensions and position
|
|
|
|
stored in pBarInfo->mBounds. Returns the node of inserted bar.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::InsertRow}\label{cbdockpaneinsertrow}
|
|
|
|
|
|
|
|
\func{void}{InsertRow}{\param{cbRowInfo* }{pRow}, \param{cbRowInfo* }{pBeforeRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Inserts a row. Does not refresh the inserted row immediately.
|
|
|
|
If pBeforeRowNode is NULL, the row is appended to the end of pane's row list.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::IsFixedSize}\label{cbdockpaneisfixedsize}
|
|
|
|
|
|
|
|
\func{bool}{IsFixedSize}{\param{cbBarInfo* }{pInfo}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the bar's dimension information indicates a fixed size.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::IsHorizontal}\label{cbdockpaneishorizontal}
|
|
|
|
|
|
|
|
\func{bool}{IsHorizontal}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the pane is aligned to the top or bottom.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::MatchesMask}\label{cbdockpanematchesmask}
|
|
|
|
|
|
|
|
\func{bool}{MatchesMask}{\param{int }{paneMask}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the given mask matches the pane's mask.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintBar}\label{cbdockpanepaintbar}
|
|
|
|
|
|
|
|
\func{void}{PaintBar}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Calls PaintBarDecorations and PaintBarHandles.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintBarDecorations}\label{cbdockpanepaintbardecorations}
|
|
|
|
|
|
|
|
\func{void}{PaintBarDecorations}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
protected really (accessed only by plugins) Generates a cbDrawBarDecorEvent and sends it to the layout to paint the bar decorations.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintBarHandles}\label{cbdockpanepaintbarhandles}
|
|
|
|
|
|
|
|
\func{void}{PaintBarHandles}{\param{cbBarInfo* }{pBar}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates a cbDrawBarHandlesEvent and sends it to the layout to paint the bar handles.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintPane}\label{cbdockpanepaintpane}
|
|
|
|
|
|
|
|
\func{void}{PaintPane}{\param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Paints the pane background, the row background and decorations,
|
|
|
|
and finally the pane decorations.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintPaneBackground}\label{cbdockpanepaintpanebackground}
|
|
|
|
|
|
|
|
\func{void}{PaintPaneBackground}{\param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates cbDrawPaneBkGroundEvent and sends it to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintPaneDecorations}\label{cbdockpanepaintpanedecorations}
|
|
|
|
|
|
|
|
\func{void}{PaintPaneDecorations}{\param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates cbDrawPaneDecorEvent and sends it to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintRow}\label{cbdockpanepaintrow}
|
|
|
|
|
|
|
|
\func{void}{PaintRow}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Calls PaintRowBackground, PaintRowDecorations, PaintRowHandles.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintRowBackground}\label{cbdockpanepaintrowbackground}
|
|
|
|
|
|
|
|
\func{void}{PaintRowBackground}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates cbDrawRowBkGroundEvent and sends it to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintRowDecorations}\label{cbdockpanepaintrowdecorations}
|
|
|
|
|
|
|
|
\func{void}{PaintRowDecorations}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Calls PaintBarDecorations for each row.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaintRowHandles}\label{cbdockpanepaintrowhandles}
|
|
|
|
|
|
|
|
\func{void}{PaintRowHandles}{\param{cbRowInfo* }{pRow}, \param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates cbDrawRowHandlesEvent and cbDrawRowDecorEvent and sends them to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::PaneToFrame}\label{cbdockpanepanetoframe}
|
|
|
|
|
|
|
|
\func{void}{PaneToFrame}{\param{wxRect* }{pRect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Coordinate translation between parent's frame and this pane.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\func{void}{PaneToFrame}{\param{int* }{x}, \param{int* }{y}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Coordinate translation between parent's frame and this pane.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::RecalcLayout}\label{cbdockpanerecalclayout}
|
|
|
|
|
|
|
|
\func{void}{RecalcLayout}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates events to perform layout calculations.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::RecalcRowLayout}\label{cbdockpanerecalcrowlayout}
|
|
|
|
|
|
|
|
\func{void}{RecalcRowLayout}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates a cbLayoutRowEvent event to recalculate row layouts.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::RemoveBar}\label{cbdockpaneremovebar}
|
|
|
|
|
|
|
|
\func{void}{RemoveBar}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Removes the bar from this pane. Does not destroy the bar.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::RemoveRow}\label{cbdockpaneremoverow}
|
|
|
|
|
|
|
|
\func{void}{RemoveRow}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Removes the row from this pane. Does not destroy the row object.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::ResizeBar}\label{cbdockpaneresizebar}
|
|
|
|
|
|
|
|
\func{void}{ResizeBar}{\param{cbBarInfo* }{pBar}, \param{int }{ofs}, \param{bool }{forLeftHandle}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Row/bar resizing related helper-method.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::ResizeRow}\label{cbdockpaneresizerow}
|
|
|
|
|
|
|
|
\func{void}{ResizeRow}{\param{cbRowInfo* }{pRow}, \param{int }{ofs}, \param{bool }{forUpperHandle}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Row/bar resizing related helper-method.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::SetBoundsInParent}\label{cbdockpanesetboundsinparent}
|
|
|
|
|
|
|
|
\func{void}{SetBoundsInParent}{\param{const wxRect\& }{rect}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Set the position and dimensions of the pane in the parent frame's coordinates.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::SetMargins}\label{cbdockpanesetmargins}
|
|
|
|
|
|
|
|
\func{void}{SetMargins}{\param{int }{top}, \param{int }{bottom}, \param{int }{left}, \param{int }{right}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets pane's margins in frame's coordinate orientations.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::SetPaneWidth}\label{cbdockpanesetpanewidth}
|
|
|
|
|
|
|
|
\func{void}{SetPaneWidth}{\param{int }{width}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets pane's width in the pane's coordinates (including margins).
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::SetRowHeight}\label{cbdockpanesetrowheight}
|
|
|
|
|
|
|
|
\func{void}{SetRowHeight}{\param{cbRowInfo* }{pRow}, \param{int }{newHeight}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets the row height for the given height. newHeight includes the height of row handles, if present.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::SetRowShapeData}\label{cbdockpanesetrowshapedata}
|
|
|
|
|
|
|
|
\func{void}{SetRowShapeData}{\param{cbRowInfo* }{pRowNode}, \param{wxList* }{pLst}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets the shape data for the given row, using the data provided in pLst.
|
|
|
|
cbBarShapeData is used for storing the original bar's positions in the row,
|
|
|
|
when the 'non-destructive-friction' option is turned on.
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbDockPane::SizeBar}\label{cbdockpanesizebar}
|
|
|
|
|
|
|
|
\func{void}{SizeBar}{\param{cbBarInfo* }{pBar}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates a cbSizeBarWndEvent and sends it to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::SizePaneObjects}\label{cbdockpanesizepaneobjects}
|
|
|
|
|
|
|
|
\func{void}{SizePaneObjects}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Calls SizeRowObjects for each row.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::SizeRowObjects}\label{cbdockpanesizerowobjects}
|
|
|
|
|
|
|
|
\func{void}{SizeRowObjects}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Calls SizeBar for each bar in the row.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::StartDrawInArea}\label{cbdockpanestartdrawinarea}
|
|
|
|
|
|
|
|
\func{wxDC*}{StartDrawInArea}{\param{const wxRect\& }{area}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Generates cbStartDrawInAreaEvent and sends it to the layout.
|
|
|
|
Internal function called by plugins.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbDockPane::SyncRowFlags}\label{cbdockpanesyncrowflags}
|
|
|
|
|
|
|
|
\func{void}{SyncRowFlags}{\param{cbRowInfo* }{pRow}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Sets up flags in the row information structure, so that
|
|
|
|
they match the changed state of row items correctly.
|
|
|
|
Internal function called by plugins.
|
2002-01-05 17:59:59 -05:00
|
|
|
|