1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/cocoa/private/overlay.h
3 // Purpose: wxOverlayImpl declaration
4 // Author: Stefan Csomor
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_OSX_COCOA_PRIVATE_OVERLAY_H_
13 #define _WX_OSX_COCOA_PRIVATE_OVERLAY_H_
15 #include "wx/osx/private.h"
16 #include "wx/toplevel.h"
17 #include "wx/graphics.h"
26 // clears the overlay without restoring the former state
27 // to be done eg when the window content has been changed and repainted
30 // returns true if it has been setup
33 void Init( wxDC
* dc
, int x
, int y
, int width
, int height
);
35 void BeginDrawing( wxDC
* dc
);
37 void EndDrawing( wxDC
* dc
);
39 void Clear( wxDC
* dc
);
42 void CreateOverlayWindow();
44 WXWindow m_overlayWindow
;
45 WXWindow m_overlayParentWindow
;
46 CGContextRef m_overlayContext
;
47 // we store the window in case we would have to issue a Refresh()
56 #endif // _WX_MAC_CARBON_PRIVATE_OVERLAY_H_