Simple implementation of a plugin which handles row layout requests sent from a frame layout.
Derived from
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(wxFrameLayout* pPanel, int paneMask = wxALL_PANES)
Constructor taking frame layout pane and pane mask.
cbRowLayoutPlugin()
Default constructor.
void AdjustLengthOfInserted(cbRowInfo* pRow, cbBarInfo* pTheBar)
Internal helper relating to not-fixed-bars layout.
void ApplyLengthRatios(cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
int CalcRowHeight(cbRowInfo& row)
Row layout helper simulating bar 'friction'.
void CheckIfAtTheBoundary(cbBarInfo* pTheBar, cbRowInfo& rowInfo)
Internal helper relating to not-fixed-bars layout.
void DetectBarHandles(cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
void DoInsertBar(cbBarInfo* pTheBar, cbRowInfo& row)
Insert the bar before the given row.
void ExpandNotFixedBars(cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
void FitBarsToRange(int from, int till, cbBarInfo* pTheBar, cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
int GetRowFreeSpace(cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
void InsertBefore(cbBarInfo* pBeforeBar, cbBarInfo* pTheBar, cbRowInfo& row)
Insert the bar before the given row.
void LayoutItemsVertically(cbRowInfo& row)
Row layout helper simulating bar 'friction'.
void MinimzeNotFixedBars(cbRowInfo* pRow, cbBarInfo* pBarToPreserve)
Internal helper relating to not-fixed-bars layout.
void OnInsertBar(cbInsertBarEvent& event)
Responds to bar insertion event.
void OnLayoutRow(cbLayoutRowEvent& event)
Responds to row layout event.
void OnLayoutRows(cbLayoutRowsEvent& event)
Responds to rows layout event.
void OnRemoveBar(cbRemoveBarEvent& event)
Responds to bar removal event.
void OnResizeRow(cbResizeRowEvent& event)
Responds to row resize event.
void RecalcLengthRatios(cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
void RelayoutNotFixedBarsAround(cbBarInfo* pTheBar, cbRowInfo* pRow)
Internal helper relating to not-fixed-bars layout.
void ShiftLeftTrashold(cbBarInfo* pTheBar, cbRowInfo& row)
Row layout helper simulating bar 'friction'.
void ShiftRightTrashold(cbBarInfo* pTheBar, cbRowInfo& row)
Row layout helper simulating bar 'friction'.
void SlideLeftSideBars(cbBarInfo* pTheBar)
Row layout helper simulating bar 'friction'.
void SlideRightSideBars(cbBarInfo* pTheBar)
Row layout helper simulating bar 'friction'.
void StickRightSideBars(cbBarInfo* pToBar)
Row layout helper simulating bar 'friction'.