aboutsummaryrefslogtreecommitdiff
path: root/dw/ooffloatsmgr.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-10-03 19:43:56 +0200
committerSebastian Geerken <devnull@localhost>2015-10-03 19:43:56 +0200
commit1191996538bd923b7f29016558a8154c51df3ffb (patch)
tree4d75555a436eb685972b2db4bdf7ac586f4c7f4e /dw/ooffloatsmgr.cc
parentde8f5fcfb1977266557911f61f51d46173157818 (diff)
SRDOP: Remove obsolete Float::sizeChangedSinceLastAllocation.
Diffstat (limited to 'dw/ooffloatsmgr.cc')
-rw-r--r--dw/ooffloatsmgr.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/dw/ooffloatsmgr.cc b/dw/ooffloatsmgr.cc
index 2e4c756f..32cda2e7 100644
--- a/dw/ooffloatsmgr.cc
+++ b/dw/ooffloatsmgr.cc
@@ -49,7 +49,7 @@ OOFFloatsMgr::Float::Float (OOFFloatsMgr *oofm, Widget *widget,
this->externalIndex = externalIndex;
yReq = yReal = size.width = size.ascent = size.descent = 0;
- dirty = sizeChangedSinceLastAllocation = true;
+ dirty = true;
index = -1;
// Sometimes a float with widget = NULL is created as a key; this
@@ -63,8 +63,6 @@ OOFFloatsMgr::Float::Float (OOFFloatsMgr *oofm, Widget *widget,
DBG_OBJ_SET_NUM_O (widget, "<Float>.size.ascent", size.ascent);
DBG_OBJ_SET_NUM_O (widget, "<Float>.size.descent", size.descent);
DBG_OBJ_SET_BOOL_O (widget, "<Float>.dirty", dirty);
- DBG_OBJ_SET_BOOL_O (widget, "<Float>.sizeChangedSinceLastAllocation",
- sizeChangedSinceLastAllocation);
}
}
@@ -98,7 +96,6 @@ void OOFFloatsMgr::Float::intoStringBuffer(StringBuffer *sb)
sb->append (" }, dirty = ");
sb->appendBool (dirty);
sb->append (", sizeChangedSinceLastAllocation = ");
- sb->appendBool (sizeChangedSinceLastAllocation);
sb->append (" }");
}
@@ -723,12 +720,8 @@ void OOFFloatsMgr::markSizeChange (int ref)
vloat = NULL; // compiler happiness
}
- vloat->dirty = vloat->sizeChangedSinceLastAllocation = true;
-
+ vloat->dirty = true;
DBG_OBJ_SET_BOOL_O (vloat->getWidget (), "<Float>.dirty", vloat->dirty);
- DBG_OBJ_SET_BOOL_O (vloat->getWidget (),
- "<Float>.sizeChangedSinceLastAllocation",
- vloat->sizeChangedSinceLastAllocation);
for (int i = 0; i < tbInfos->size (); i++)
tbInfos->get(i)->getOOFAwareWidget()->borderChanged (oofmIndex,