From 1155f75321f3b175cffef5cdba07338259581580 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 21 Sep 2015 21:11:53 +0200 Subject: SRDOP: more cleanup. (Code compiles, not more!) --- dw/ooffloatsmgr.hh | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'dw/ooffloatsmgr.hh') 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); -- cgit v1.2.3