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 5872c6809..98431ebac 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -279,8 +279,10 @@ private:
void HandleWindowEvent(WindowEvent *e);
protected:
- void Initialize(int x, int y, int min_width, int min_height, int def_width, int def_height,
+ void Initialize(int x, int y, int min_width, int min_height,
WindowProc *proc, WindowClass cls, const Widget *widget, int window_number, void *data);
+ void FindWindowPlacementAndResize(int def_width, int def_height);
+ void FindWindowPlacementAndResize(const WindowDesc *desc);
public:
Window(int x, int y, int width, int height, WindowProc *proc, WindowClass cls, const Widget *widget, void *data = NULL);