src/window.h
branchcpp_gui
changeset 6279 c75b2c7222ff
parent 6268 4b5241e5dd10
child 6283 7072ee68c676
equal deleted inserted replaced
6278:c09f5e53af9b 6279:c75b2c7222ff
   448 	void SetRect(const Rect16 &rect);
   448 	void SetRect(const Rect16 &rect);
   449 
   449 
   450 	virtual bool Create(WindowNumber num);
   450 	virtual bool Create(WindowNumber num);
   451 	virtual bool Create(const WindowDesc *desc, WindowNumber num = 0);
   451 	virtual bool Create(const WindowDesc *desc, WindowNumber num = 0);
   452 
   452 
       
   453 	/*virtual*/ void CreateWidgets(); ///< @TODO remove it when old gui infrastructure will no longer be used
       
   454 
   453 	static BaseWindow* Allocate(int x, int y, int width, int height, WindowProc *proc, WindowClass cls, const OldWidget *widget);
   455 	static BaseWindow* Allocate(int x, int y, int width, int height, WindowProc *proc, WindowClass cls, const OldWidget *widget);
   454 	static BaseWindow* Allocate(const WindowDesc *desc, int window_number = 0);
   456 	static BaseWindow* Allocate(const WindowDesc *desc, int window_number = 0);
   455 	static BaseWindow* AllocateFront(const WindowDesc *desc, int window_number = 0);
   457 	static BaseWindow* AllocateFront(const WindowDesc *desc, int window_number = 0);
   456 
   458 
   457 	/*virtual*/ BaseWindow* GetWindow();
   459 	/*virtual*/ BaseWindow* GetWindow();