aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-05-29 14:08:59 +0200
committerSebastian Geerken <devnull@localhost>2014-05-29 14:08:59 +0200
commit2f6d8aa3601505ad5490a212e75714abe3dcc77c (patch)
tree928a8558a1878e0a5267004f41f077757f4c5bc2 /dw/widget.hh
parent62fd27e851224c15bd41c1b70ad9710e2200c7bb (diff)
First step to an alternative to size hints.
Diffstat (limited to 'dw/widget.hh')
-rw-r--r--dw/widget.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dw/widget.hh b/dw/widget.hh
index 3abde988..9649ed2a 100644
--- a/dw/widget.hh
+++ b/dw/widget.hh
@@ -306,6 +306,8 @@ protected:
*/
virtual void markExtremesChange (int ref);
+ virtual int getAvailWidthOfChild (Widget *child);
+
virtual void notifySetAsTopLevel();
virtual void notifySetParent();
@@ -405,6 +407,8 @@ public:
void sizeRequest (Requisition *requisition);
void getExtremes (Extremes *extremes);
void sizeAllocate (Allocation *allocation);
+ int getAvailWidth ();
+
virtual void setWidth (int width);
virtual void setAscent (int ascent);
virtual void setDescent (int descent);