[Gcblue-commits] gcb_wx/include/graphics tcWindow.h,1.3,1.4
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-06-24 21:35:49
|
Update of /cvsroot/gcblue/gcb_wx/include/graphics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23738/include/graphics Modified Files: tcWindow.h Log Message: Index: tcWindow.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/graphics/tcWindow.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** tcWindow.h 21 Jun 2004 22:21:43 -0000 1.3 --- tcWindow.h 24 Jun 2004 21:35:39 -0000 1.4 *************** *** 79,86 **** --- 79,91 ---- bool IsActive() const {return mbActive;} bool IsSurfaceModified(); + virtual bool IsWindowMinimized() const; void LoadBackgroundImage(char *azFileName); Gdiplus::Image* LoadImage(const char *fileName); + virtual void Maximize(); + virtual void Minimize(); void MoveToTop(); ///< moves window to top + void MoveWindow(int ax, int ay); void SetBackground(UINT32 anColor); + bool GetBlend(); void SetBlend(bool blendingOn); *************** *** 90,94 **** void SetDisplayRegion(Gdiplus::RectF r); tc2DGraphicsSurface* GetSurface() const {return mp2DSurface;} ! void MoveWindow(int ax, int ay); bool GetDrawDC(HDC& hdc); bool ReleaseDrawDC(HDC hdc); --- 95,99 ---- void SetDisplayRegion(Gdiplus::RectF r); tc2DGraphicsSurface* GetSurface() const {return mp2DSurface;} ! bool GetDrawDC(HDC& hdc); bool ReleaseDrawDC(HDC hdc); *************** *** 127,134 **** bool mbCloned; bool mbFrozen; ! virtual int CreateSurfaces(tcGraphicsEngine* apGraphicsEngine); virtual int DeleteSurfaces(tcGraphicsEngine* apGraphicsEngine); WCHAR* PrependImagePath(const char *azFileName); virtual void OnChar(wxKeyEvent& event); --- 132,142 ---- bool mbCloned; bool mbFrozen; ! wxRect normalPosition; ///< normal, non-minimized pos of window ! wxRect iconPosition; ///< minimized, icon pos of window ! const int iconSize; virtual int CreateSurfaces(tcGraphicsEngine* apGraphicsEngine); virtual int DeleteSurfaces(tcGraphicsEngine* apGraphicsEngine); + WCHAR* PrependImagePath(const char *azFileName); virtual void OnChar(wxKeyEvent& event); |