Contents Up Previous Next

cbRowLayoutPlugin

Simple implementation of a plugin which handles row layout requests sent from a frame layout.

Derived from

cbPluginBase

Include files

<wx/fl/rowlayoutpl.h>

Data structures

Members

cbRowLayoutPlugin::cbRowLayoutPlugin
cbRowLayoutPlugin::AdjustLengthOfInserted
cbRowLayoutPlugin::ApplyLengthRatios
cbRowLayoutPlugin::CalcRowHeight
cbRowLayoutPlugin::CheckIfAtTheBoundary
cbRowLayoutPlugin::DetectBarHandles
cbRowLayoutPlugin::DoInsertBar
cbRowLayoutPlugin::ExpandNotFixedBars
cbRowLayoutPlugin::FitBarsToRange
cbRowLayoutPlugin::GetRowFreeSpace
cbRowLayoutPlugin::InsertBefore
cbRowLayoutPlugin::LayoutItemsVertically
cbRowLayoutPlugin::MinimzeNotFixedBars
cbRowLayoutPlugin::OnInsertBar
cbRowLayoutPlugin::OnLayoutRow
cbRowLayoutPlugin::OnLayoutRows
cbRowLayoutPlugin::OnRemoveBar
cbRowLayoutPlugin::OnResizeRow
cbRowLayoutPlugin::RecalcLengthRatios
cbRowLayoutPlugin::RelayoutNotFixedBarsAround
cbRowLayoutPlugin::ShiftLeftTrashold
cbRowLayoutPlugin::ShiftRightTrashold
cbRowLayoutPlugin::SlideLeftSideBars
cbRowLayoutPlugin::SlideRightSideBars
cbRowLayoutPlugin::StickRightSideBars


cbRowLayoutPlugin::cbRowLayoutPlugin

cbRowLayoutPlugin(wxFrameLayout* pPanel, int paneMask = wxALL_PANES)

Constructor taking frame layout pane and pane mask.

cbRowLayoutPlugin()

Default constructor.


cbRowLayoutPlugin::AdjustLengthOfInserted

void AdjustLengthOfInserted(cbRowInfo* pRow, cbBarInfo* pTheBar)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::ApplyLengthRatios

void ApplyLengthRatios(cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::CalcRowHeight

int CalcRowHeight(cbRowInfo& row)

Row layout helper simulating bar 'friction'.


cbRowLayoutPlugin::CheckIfAtTheBoundary

void CheckIfAtTheBoundary(cbBarInfo* pTheBar, cbRowInfo& rowInfo)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::DetectBarHandles

void DetectBarHandles(cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::DoInsertBar

void DoInsertBar(cbBarInfo* pTheBar, cbRowInfo& row)

Insert the bar before the given row.


cbRowLayoutPlugin::ExpandNotFixedBars

void ExpandNotFixedBars(cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::FitBarsToRange

void FitBarsToRange(int from, int till, cbBarInfo* pTheBar, cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::GetRowFreeSpace

int GetRowFreeSpace(cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::InsertBefore

void InsertBefore(cbBarInfo* pBeforeBar, cbBarInfo* pTheBar, cbRowInfo& row)

Insert the bar before the given row.


cbRowLayoutPlugin::LayoutItemsVertically

void LayoutItemsVertically(cbRowInfo& row)

Row layout helper simulating bar 'friction'.


cbRowLayoutPlugin::MinimzeNotFixedBars

void MinimzeNotFixedBars(cbRowInfo* pRow, cbBarInfo* pBarToPreserve)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::OnInsertBar

void OnInsertBar(cbInsertBarEvent& event)

Responds to bar insertion event.


cbRowLayoutPlugin::OnLayoutRow

void OnLayoutRow(cbLayoutRowEvent& event)

Responds to row layout event.


cbRowLayoutPlugin::OnLayoutRows

void OnLayoutRows(cbLayoutRowsEvent& event)

Responds to rows layout event.


cbRowLayoutPlugin::OnRemoveBar

void OnRemoveBar(cbRemoveBarEvent& event)

Responds to bar removal event.


cbRowLayoutPlugin::OnResizeRow

void OnResizeRow(cbResizeRowEvent& event)

Responds to row resize event.


cbRowLayoutPlugin::RecalcLengthRatios

void RecalcLengthRatios(cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::RelayoutNotFixedBarsAround

void RelayoutNotFixedBarsAround(cbBarInfo* pTheBar, cbRowInfo* pRow)

Internal helper relating to not-fixed-bars layout.


cbRowLayoutPlugin::ShiftLeftTrashold

void ShiftLeftTrashold(cbBarInfo* pTheBar, cbRowInfo& row)

Row layout helper simulating bar 'friction'.


cbRowLayoutPlugin::ShiftRightTrashold

void ShiftRightTrashold(cbBarInfo* pTheBar, cbRowInfo& row)

Row layout helper simulating bar 'friction'.


cbRowLayoutPlugin::SlideLeftSideBars

void SlideLeftSideBars(cbBarInfo* pTheBar)

Row layout helper simulating bar 'friction'.


cbRowLayoutPlugin::SlideRightSideBars

void SlideRightSideBars(cbBarInfo* pTheBar)

Row layout helper simulating bar 'friction'.


cbRowLayoutPlugin::StickRightSideBars

void StickRightSideBars(cbBarInfo* pToBar)

Row layout helper simulating bar 'friction'.