]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/private/overlay.h
4a941167fbb3ea8ad24931a375e536dc5b3f672e
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/overlay.h
3 // Purpose: wxOverlayImpl declaration
4 // Author: Stefan Csomor
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_PRIVATE_OVERLAY_H_
13 #define _WX_PRIVATE_OVERLAY_H_
15 #include "wx/overlay.h"
17 #if wxHAS_NATIVE_OVERLAY
19 #if defined(__WXMAC__)
20 #include "wx/mac/carbon/private/overlay.h"
21 #elif defined(__WXDFB__)
22 #include "wx/dfb/private/overlay.h"
24 #error "unknown native wxOverlay implementation"
27 #else // !wxHAS_NATIVE_OVERLAY
29 // generic implementation of wxOverlay
37 // clears the overlay without restoring the former state
38 // to be done eg when the window content has been changed and repainted
41 // returns true if it has been setup
44 void Init(wxWindowDC
* dc
, int x
, int y
, int width
, int height
);
46 void BeginDrawing(wxWindowDC
* dc
);
48 void EndDrawing(wxWindowDC
* dc
);
50 void Clear(wxWindowDC
* dc
);
58 // this is to enable wxMOTIF and UNIV to compile....
59 // currently (10 oct 06) we don't use m_window
60 // ce - how do we fix this
61 #if defined(__WXGTK__) || defined(__WXMSW__)
66 #endif // wxHAS_NATIVE_OVERLAY/!wxHAS_NATIVE_OVERLAY
68 #endif // _WX_PRIVATE_OVERLAY_H_