diff options
author | Sebastian Geerken <devnull@localhost> | 2014-06-09 22:26:56 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-06-09 22:26:56 +0200 |
commit | f366240b860d12c0f404baf1265aa9d69c487875 (patch) | |
tree | eb72677d65db771da379324163169aad4014e980 /dw/table.hh | |
parent | a341406ce9c6ee121f58450bc2cdf1a14d5b92a0 (diff) |
More work on tables.
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); |