src/window_gui.h
changeset 10498 f198d0a1aab7
parent 10488 3a2319e8e107
child 10502 996d9308d650
equal deleted inserted replaced
10497:9ab9ea3ec4d1 10498:f198d0a1aab7
   277 private:
   277 private:
   278 	WindowProc *wndproc;   ///< Event handler function for the window. Do not use directly, call HandleWindowEvent() instead.
   278 	WindowProc *wndproc;   ///< Event handler function for the window. Do not use directly, call HandleWindowEvent() instead.
   279 	void HandleWindowEvent(WindowEvent *e);
   279 	void HandleWindowEvent(WindowEvent *e);
   280 
   280 
   281 protected:
   281 protected:
   282 	void Initialize(int x, int y, int min_width, int min_height, int def_width, int def_height,
   282 	void Initialize(int x, int y, int min_width, int min_height,
   283 			WindowProc *proc, WindowClass cls, const Widget *widget, int window_number, void *data);
   283 			WindowProc *proc, WindowClass cls, const Widget *widget, int window_number, void *data);
       
   284 	void FindWindowPlacementAndResize(int def_width, int def_height);
       
   285 	void FindWindowPlacementAndResize(const WindowDesc *desc);
   284 
   286 
   285 public:
   287 public:
   286 	Window(int x, int y, int width, int height, WindowProc *proc, WindowClass cls, const Widget *widget, void *data = NULL);
   288 	Window(int x, int y, int width, int height, WindowProc *proc, WindowClass cls, const Widget *widget, void *data = NULL);
   287 	Window(const WindowDesc *desc, void *data = NULL, WindowNumber number = 0);
   289 	Window(const WindowDesc *desc, void *data = NULL, WindowNumber number = 0);
   288 
   290