diff options
Diffstat (limited to 'src/ui/window.h')
-rw-r--r-- | src/ui/window.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/window.h b/src/ui/window.h index 40d81a06..4d0a07bc 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -155,8 +155,11 @@ namespace cru { //This method has no effect for a window. Use SetClientSize instead. void SetSize(const Size& size) override final; + //*************** region: layout *************** - //*************** region: features *************** + void Relayout(); + + //*************** region: functions *************** //Refresh control list. //It should be invoked every time a control is added or removed from the tree. @@ -206,6 +209,11 @@ namespace cru { bool IsMessageInQueue(UINT message); + //*************** region: layout *************** + + Size OnMeasure(const Size& available_size) override; + + //*************** region: native messages *************** void OnDestroyInternal(); |