diff options
author | Sebastian Geerken <devnull@localhost> | 2014-09-12 13:11:32 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-09-12 13:11:32 +0200 |
commit | 350fa597967a501d5f5c6988ff35a262e50a2a68 (patch) | |
tree | 102ccb0775eef7e4d4b8b7cfd40b7f11459b1ee2 /dw/textblock.hh | |
parent | 36fcd74196a898403ef1e66884dc52d296c42665 (diff) |
OOFAwareWidget: moving even more stuff from Textblock to OOFAwareWidget.
Diffstat (limited to 'dw/textblock.hh')
-rw-r--r-- | dw/textblock.hh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dw/textblock.hh b/dw/textblock.hh index 4cadeffd..4c1810e6 100644 --- a/dw/textblock.hh +++ b/dw/textblock.hh @@ -279,19 +279,6 @@ protected: inline oof::OutOfFlowMgr *getWidgetOutOfFlowMgr (Widget *widget) { return getParentRefOutOfFlowMgr (widget->parentRef); } - static inline bool testWidgetFloat (Widget *widget) - { return widget->getStyle()->vloat != core::style::FLOAT_NONE; } - static inline bool testWidgetAbsolutelyPositioned (Widget *widget) - { return widget->getStyle()->position == core::style::POSITION_ABSOLUTE; } - static inline bool testWidgetFixedlyPositioned (Widget *widget) - { return widget->getStyle()->position == core::style::POSITION_FIXED; } - static inline bool testWidgetOutOfFlow (Widget *widget) - { return testWidgetFloat (widget) || testWidgetAbsolutelyPositioned (widget) - || testWidgetFixedlyPositioned (widget); } - - static inline bool testWidgetRelativelyPositioned (Widget *widget) - { return widget->getStyle()->position == core::style::POSITION_RELATIVE; } - /** * \brief Implementation used for words. */ @@ -816,9 +803,6 @@ protected: void markSizeChange (int ref); void markExtremesChange (int ref); - void notifySetAsTopLevel(); - void notifySetParent(); - bool isBlockLevel (); void draw (core::View *view, core::Rectangle *area); @@ -837,7 +821,6 @@ protected: core::style::Style *style, int numBreaks, int *breakPos, core::Requisition *wordSize); - static bool isContainingBlock (Widget *widget, int oofmIndex); inline bool mustBeWidenedToAvailWidth () { DBG_OBJ_ENTER0 ("resize", 0, "mustBeWidenedToAvailWidth"); |