2002-07-19 16:42:34 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: display.h
|
|
|
|
// Purpose: wxDisplay class customization for WXMSW
|
|
|
|
// Author: Royce Mitchell III
|
|
|
|
// Modified by:
|
|
|
|
// Created: 06/21/02
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) wxWindows team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2003-03-02 09:17:20 -05:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
|
|
|
#pragma interface "display.h"
|
|
|
|
#endif
|
|
|
|
|
2002-07-19 16:42:34 -04:00
|
|
|
#ifndef _WX_MSW_DISPLAY_H_
|
|
|
|
#define _WX_MSW_DISPLAY_H_
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxDisplay : public wxDisplayBase
|
|
|
|
{
|
|
|
|
public:
|
2003-03-02 09:17:20 -05:00
|
|
|
wxDisplay(size_t index = 0);
|
2002-07-19 16:42:34 -04:00
|
|
|
|
2003-03-02 09:17:20 -05:00
|
|
|
// implement base class pure virtuals
|
2002-07-19 16:42:34 -04:00
|
|
|
virtual wxRect GetGeometry() const;
|
|
|
|
virtual wxString GetName() const;
|
|
|
|
|
2003-03-02 09:17:20 -05:00
|
|
|
virtual wxArrayVideoModes
|
|
|
|
GetModes(const wxVideoMode& mode = wxVideoMode()) const;
|
|
|
|
virtual wxVideoMode GetCurrentMode() const;
|
|
|
|
virtual bool ChangeMode(const wxVideoMode& mode = wxVideoMode());
|
|
|
|
|
|
|
|
private:
|
|
|
|
// get the display name to use with EnumDisplaySettings()
|
|
|
|
wxString GetNameForEnumSettings() const;
|
|
|
|
|
2002-07-19 16:42:34 -04:00
|
|
|
DECLARE_NO_COPY_CLASS(wxDisplay);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _WX_MSW_DISPLAY_H_
|