aboutsummaryrefslogtreecommitdiff
path: root/dw/outofflowmgr.hh
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-08-10 00:00:47 +0000
committercorvid <devnull@localhost>2014-08-10 00:00:47 +0000
commitc43632b2a5b26a96b84e7d7cd8c5f8ecffe4aa32 (patch)
treeb5f1fce42eebbb7f574970f397719aaac8b5f027 /dw/outofflowmgr.hh
parent80e8bbb92e7425f4fec454348e0823039a07fac0 (diff)
trim spaces
...now that floats and grows are in the repo and I won't be making Sebastian's life difficult with a bunch of whitespace changes.
Diffstat (limited to 'dw/outofflowmgr.hh')
-rw-r--r--dw/outofflowmgr.hh18
1 files changed, 9 insertions, 9 deletions
diff --git a/dw/outofflowmgr.hh b/dw/outofflowmgr.hh
index a89e8662..a690a770 100644
--- a/dw/outofflowmgr.hh
+++ b/dw/outofflowmgr.hh
@@ -40,14 +40,14 @@ private:
public:
WidgetInfo (OutOfFlowMgr *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; }
@@ -146,7 +146,7 @@ private:
private:
OutOfFlowMgr *oofm;
Side side;
-
+
public:
inline SortedFloatsVector (OutOfFlowMgr *oofm, Side side, SFVType type) :
lout::container::typed::Vector<Float> (1, false)
@@ -177,7 +177,7 @@ private:
TBInfo *parent;
int parentExtIndex;
-
+
// These two values are set by sizeAllocateStart(), and they are
// accessable also within sizeAllocateEnd() for the same
// textblock, for which allocation and WAS_ALLOCATED is set
@@ -244,7 +244,7 @@ private:
lout::container::typed::Vector<TBInfo> *tbInfos;
lout::container::typed::HashTable<lout::object::TypedPointer <Textblock>,
TBInfo> *tbInfosByTextblock;
-
+
lout::container::typed::Vector<AbsolutelyPositioned> *absolutelyPositioned;
int lastLeftTBIndex, lastRightTBIndex, leftFloatsMark, rightFloatsMark;
@@ -264,7 +264,7 @@ private:
inline core::Allocation *getAllocation (Textblock *textblock) {
return &(getTextblock(textblock)->allocation);
}
-
+
void moveExternalIndices (SortedFloatsVector *list, int oldStartIndex,
int diff);
Float *findFloatByWidget (core::Widget *widget);
@@ -298,7 +298,7 @@ private:
bool collidesV (Float *vloat, Float *other, SFVType type, int *yReal);
bool collidesH (Float *vloat, Float *other, SFVType type);
-
+
void getFloatsListsAndSide (Float *vloat, SortedFloatsVector **listSame,
SortedFloatsVector **listOpp, Side *side);
@@ -362,14 +362,14 @@ private:
* +---+ - - - +---+---+- - - - - -+---+---+---+---+
* | right float index | 1 | 0 | 1 |
* +---+ - - - +---+---+- - - - - -+---+---+---+---+
- *
+ *
* Absolutely positioned blocks:
*
* +---+ - - - +---+---+- - - - - -+---+---+---+---+
* | index | 1 | 1 |
* +---+ - - - +---+---+- - - - - -+---+---+---+---+
*/
-
+
inline static bool isRefFloat (int ref)
{ return ref != -1 && (ref & 3) == 1; }
inline static bool isRefLeftFloat (int ref)