diff options
author | Sebastian Geerken <devnull@localhost> | 2014-07-18 14:52:26 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-07-18 14:52:26 +0200 |
commit | 441370fa67c40a47916b7a44d4fa1d18feadb6dd (patch) | |
tree | 9da8d942ce8441d9fa114601b292abce2a4220d6 /dw/ui.hh | |
parent | f5aae2463edf320c69053959e53ec6ea3ef87935 (diff) |
Handling nested layouts (e. g. <button>), part 3 (finish).
Diffstat (limited to 'dw/ui.hh')
-rw-r--r-- | dw/ui.hh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -363,6 +363,7 @@ public: void (*splitHeightFun) (int, int*, int*)); virtual void correctExtremesOfChild (Widget *child, Extremes *extremes); + virtual void containerSizeChangedForChildren (); virtual void setDisplayed (bool displayed); virtual void draw (View *view, Rectangle *area); @@ -431,12 +432,15 @@ public: void sizeRequest (Requisition *requisition); void getExtremes (Extremes *extremes); void sizeAllocate (Allocation *allocation); + int getAvailWidthOfChild (Widget *child, bool forceValue); int getAvailHeightOfChild (Widget *child, bool forceValue); void correctRequisitionOfChild (Widget *child, Requisition *requisition, void (*splitHeightFun) (int, int*, int*)); void correctExtremesOfChild (Widget *child, Extremes *extremes); + void containerSizeChangedForChildren (); + Iterator *iterator (Content::Type mask, bool atEnd); int getClickX () {return click_x;}; int getClickY () {return click_y;}; |