Dillo v3.1.1-99-gf3103cc4
Loading...
Searching...
No Matches
oofposabslikemgr.hh
Go to the documentation of this file.
1#ifndef __DW_OOFPOSABSLIKEMGR_HH__
2#define __DW_OOFPOSABSLIKEMGR_HH__
3
4#include "oofpositionedmgr.hh"
5
6namespace dw {
7
8namespace oof {
9
11{
12protected:
13 virtual int containerBoxOffsetX () = 0;
14 virtual int containerBoxOffsetY () = 0;
15 virtual int containerBoxRestWidth () = 0;
16 virtual int containerBoxRestHeight () = 0;
17
22
24
26
27 bool posXAbsolute (Child *child);
28 bool posYAbsolute (Child *child);
29
30 void calcPosAndSizeChildOfChild (Child *child, int refWidth, int refHeight,
31 int *xPtr, int *yPtr, int *widthPtr,
32 int *ascentPtr, int *descentPtr);
33 void calcHPosAndSizeChildOfChild (Child *child, int refWidth,
34 int origChildWidth, int *xPtr,
35 int *widthPtr);
36 void calcVPosAndSizeChildOfChild (Child *child, int refHeight,
37 int origChildAscent, int origChildDescent,
38 int *yPtr, int *ascentPtr,
39 int *descentPtr);
40
41
42public:
45
47
48 void getSize (core::Requisition *containerReq, int *oofWidth,
49 int *oofHeight);
50 void getExtremes (core::Extremes *containerExtr,
51 int *oofMinWidth, int *oofMaxWidth);
52
53 int getAvailWidthOfChild (core::Widget *child, bool forceValue);
54 int getAvailHeightOfChild (core::Widget *child, bool forceValue);
55};
56
57} // namespace oof
58
59} // namespace dw
60
61#endif // __DW_OOFPOSABSLIKEMGR_HH__
The base class of all dillo widgets.
Definition widget.hh:44
Base class for widgets which can act as container and generator for widgets out of flow.
void calcVPosAndSizeChildOfChild(Child *child, int refHeight, int origChildAscent, int origChildDescent, int *yPtr, int *ascentPtr, int *descentPtr)
void getSize(core::Requisition *containerReq, int *oofWidth, int *oofHeight)
int getAvailHeightOfChild(core::Widget *child, bool forceValue)
virtual int containerBoxOffsetY()=0
void calcPosAndSizeChildOfChild(Child *child, int refWidth, int refHeight, int *xPtr, int *yPtr, int *widthPtr, int *ascentPtr, int *descentPtr)
virtual int containerBoxRestHeight()=0
void getExtremes(core::Extremes *containerExtr, int *oofMinWidth, int *oofMaxWidth)
bool posXAbsolute(Child *child)
void calcWidgetRefSize(core::Widget *widget, core::Requisition *size)
virtual int containerBoxRestWidth()=0
void calcHPosAndSizeChildOfChild(Child *child, int refWidth, int origChildWidth, int *xPtr, int *widthPtr)
int getAvailWidthOfChild(core::Widget *child, bool forceValue)
virtual int containerBoxOffsetX()=0
bool posYAbsolute(Child *child)
Dw is in this namespace, or sub namespaces of this one.