src/window_gui.h
changeset 9178 3235f895bf12
parent 9168 888730a77af3
child 9182 412cb6c0caf1
equal deleted inserted replaced
9177:47a00c43444e 9178:3235f895bf12
   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