diff options
Diffstat (limited to 'dw/table.hh')
-rw-r--r-- | dw/table.hh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/dw/table.hh b/dw/table.hh index 571d61d1..caa66efe 100644 --- a/dw/table.hh +++ b/dw/table.hh @@ -407,7 +407,10 @@ private: void calcColumnExtremes (); void forceCalcColumnExtremes (); - void apportion2 (int totalWidth, bool forceTotalWidth); + void apportion2 (int totalWidth, bool forceTotalWidth, + int firstCol, int lastCol, + lout::misc::SimpleVector<int> *dest, int destOffset, + bool setRedrawX); void setCumHeight (int row, int value) { @@ -417,14 +420,6 @@ private: } } - inline void setColWidth (int col, int value) - { - if (value != colWidths->get (col)) { - redrawX = lout::misc::min (redrawX, value); - colWidths->set (col, value); - } - } - protected: void sizeRequestImpl (core::Requisition *requisition); void getExtremesImpl (core::Extremes *extremes); |