aboutsummaryrefslogtreecommitdiff
path: root/dw/ooffloatsmgr.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2015-09-21 21:11:53 +0200
committerSebastian Geerken <devnull@localhost>2015-09-21 21:11:53 +0200
commit1155f75321f3b175cffef5cdba07338259581580 (patch)
treea334b1e74c780dc78c551a66021bb290537902ff /dw/ooffloatsmgr.hh
parent86faad2e4a5040a111d5cae0b55c192cbad3b32e (diff)
SRDOP: more cleanup. (Code compiles, not more!)
Diffstat (limited to 'dw/ooffloatsmgr.hh')
-rw-r--r--dw/ooffloatsmgr.hh16
1 files changed, 0 insertions, 16 deletions
diff --git a/dw/ooffloatsmgr.hh b/dw/ooffloatsmgr.hh
index 5ed7d29f..e8dc8ffe 100644
--- a/dw/ooffloatsmgr.hh
+++ b/dw/ooffloatsmgr.hh
@@ -32,10 +32,6 @@ private:
class WidgetInfo: public lout::object::Object
{
private:
- bool wasAllocated;
- int xCB, yCB; // relative to the containing block
- int width, height;
-
OOFFloatsMgr *oofm;
core::Widget *widget;
@@ -45,15 +41,6 @@ private:
public:
WidgetInfo (OOFFloatsMgr *oofm, core::Widget *widget);
- inline bool wasThenAllocated () { return wasAllocated; }
- inline int getOldXCB () { return xCB; }
- inline int getOldYCB () { return yCB; }
- inline int getOldWidth () { return width; }
- inline int getOldHeight () { return height; }
-
-
- void update (bool wasAllocated, int xCB, int yCB, int width, int height);
-
inline core::Widget *getWidget () { return widget; }
};
@@ -111,7 +98,6 @@ private:
inline int getNewWidth () { return getWidget()->getAllocation()->width; }
inline int getNewHeight () { return getWidget()->getAllocation()->ascent +
getWidget()->getAllocation()->descent; }
- void updateAllocation ();
void intoStringBuffer(lout::misc::StringBuffer *sb);
@@ -199,7 +185,6 @@ private:
core::Allocation *allocation =
getOOFFloatsMgr()->getAllocation (getOOFAwareWidget ());
return allocation->ascent + allocation->descent; }
- void updateAllocation ();
inline OOFAwareWidget *getOOFAwareWidget ()
{ return (OOFAwareWidget*)getWidget (); }
@@ -241,7 +226,6 @@ private:
int calcFloatX (Float *vloat, Side side, int gbX, int gbWidth);
bool doFloatsExceedCB (Side side);
- bool haveExtremesChanged (Side side);
void drawFloats (SortedFloatsVector *list, core::View *view,
core::Rectangle *area, core::DrawingContext *context);