summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index f074093ef..d5ad1ca6d 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -220,7 +220,7 @@ struct Window : ZeroedMemoryAllocator {
};
protected:
- void InitializeData(WindowClass cls, const Widget *widget, NWidgetBase *nwid, int window_number, int biggest_index);
+ void InitializeData(WindowClass cls, const Widget *widget, int window_number);
void InitializePositionSize(int x, int y, int min_width, int min_height);
void FindWindowPlacementAndResize(int def_width, int def_height);
void FindWindowPlacementAndResize(const WindowDesc *desc);
@@ -268,6 +268,8 @@ public:
Window *z_back; ///< The window behind us in z-order.
void InitNested(const WindowDesc *desc, WindowNumber number = 0);
+ void CreateNestedTree(const WindowDesc *desc, bool fill_nested = true);
+ void FinishInitNested(const WindowDesc *desc, WindowNumber window_number);
/**
* Sets the enabled/disabled status of a widget.