2003-03-21 14:51:47 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/cocoa/dcscreen.h
|
2007-12-03 23:22:16 -05:00
|
|
|
// Purpose: wxScreenDCImpl class
|
2003-03-21 14:51:47 -05:00
|
|
|
// Author: David Elliott
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2003/03/16
|
2006-10-16 05:30:01 -04:00
|
|
|
// RCS-ID: $Id$
|
2003-03-21 14:51:47 -05:00
|
|
|
// Copyright: (c) 2003 David Elliott
|
2006-10-16 05:30:01 -04:00
|
|
|
// Licence: wxWindows licence
|
2003-03-21 14:51:47 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __WX_COCOA_DCSCREEN_H__
|
|
|
|
#define __WX_COCOA_DCSCREEN_H__
|
|
|
|
|
2007-12-03 23:22:16 -05:00
|
|
|
#include "wx/dcscreen.h"
|
|
|
|
#include "wx/cocoa/dc.h"
|
2003-03-21 14:51:47 -05:00
|
|
|
|
2008-03-26 11:06:00 -04:00
|
|
|
class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxCocoaDCImpl
|
2003-03-21 14:51:47 -05:00
|
|
|
{
|
2007-12-03 23:22:16 -05:00
|
|
|
DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
|
2003-03-21 14:51:47 -05:00
|
|
|
public:
|
2007-12-03 23:22:16 -05:00
|
|
|
wxScreenDCImpl(wxScreenDC *owner);
|
|
|
|
wxScreenDCImpl(wxScreenDC *owner, wxDC *dc ); // Create compatible DC
|
|
|
|
virtual ~wxScreenDCImpl(void);
|
2003-07-14 09:59:20 -04:00
|
|
|
|
|
|
|
// Compatibility with X's requirements for drawing on top of all windows
|
|
|
|
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
|
|
|
|
static bool StartDrawingOnTop(wxRect* WXUNUSED(rect) = NULL) { return true; }
|
|
|
|
static bool EndDrawingOnTop() { return true; }
|
2003-03-21 14:51:47 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __WX_COCOA_DCSCREEN_H__
|