|
wxMaxima
|
The worksheet's layout engine: scheduling, the recalculation walk and the virtual-size update, independent of the Worksheet window class. More...
Go to the source code of this file.
Data Structures | |
| class | WorksheetLayout |
| The layout/recalculation engine of a worksheet. More... | |
The worksheet's layout engine: scheduling, the recalculation walk and the virtual-size update, independent of the Worksheet window class.
WorksheetLayout owns the layout pipeline that used to be spread across Worksheet: RequestRecalculation() records where the next layout pass must start, RecalculateIfNeeded() performs the walk (sizing dirty cells, repositioning the rest), and AdjustSize()/GetMaxPoint() derive the scrollable size from the resulting cell positions. It touches the window only through the narrow WorksheetView interface (WorksheetSizeMath.h) and reaches the cell tree through callbacks, so the whole request -> recalculate -> resize pipeline can be driven headlessly by a mock view - see test_WorksheetLayout.