diff options
author | Sebastian Geerken <devnull@localhost> | 2014-06-13 12:16:16 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-06-13 12:16:16 +0200 |
commit | 58e6536d3e9a387eadf740b98dfa89c5a37a5d58 (patch) | |
tree | 3d95c73a26b60715e10d4d6b6fe15b1546573768 /dw/widget.hh | |
parent | b068e76b797c92c92b9f363dd7cb1967fdff5b5b (diff) |
Added (again) 'forceValue' parameter for calculation of available size.
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dw/widget.hh b/dw/widget.hh index 326d00ec..7fe49c74 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -312,8 +312,8 @@ protected: */ virtual void markExtremesChange (int ref); - virtual int getAvailWidthOfChild (Widget *child); - virtual int getAvailHeightOfChild (Widget *child); + virtual int getAvailWidthOfChild (Widget *child, bool forceValue); + virtual int getAvailHeightOfChild (Widget *child, bool forceValue); virtual void correctRequisitionOfChild (Widget *child, Requisition *requisition, void (*splitHeightFun)(int height, @@ -434,8 +434,8 @@ public: void getExtremes (Extremes *extremes); void sizeAllocate (Allocation *allocation); - int getAvailWidth (); - int getAvailHeight (); + int getAvailWidth (bool forceValue); + int getAvailHeight (bool forceValue); void correctRequisition (Requisition *requisition, void (*splitHeightFun)(int height, int *ascent, int *descent)); |