aboutsummaryrefslogtreecommitdiff
path: root/dw/table.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-06-09 22:26:56 +0200
committerSebastian Geerken <devnull@localhost>2014-06-09 22:26:56 +0200
commitf366240b860d12c0f404baf1265aa9d69c487875 (patch)
treeeb72677d65db771da379324163169aad4014e980 /dw/table.hh
parenta341406ce9c6ee121f58450bc2cdf1a14d5b92a0 (diff)
More work on tables.
Diffstat (limited to 'dw/table.hh')
-rw-r--r--dw/table.hh13
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);