2003-06-01 16:03:24 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: displayx11.h
|
|
|
|
// Purpose: wxDisplay class for Unix/X11
|
|
|
|
// Author: Brian Victor
|
|
|
|
// Modified by:
|
|
|
|
// Created: 12/05/02
|
|
|
|
// RCS-ID: $Id$
|
2004-05-23 14:56:36 +00:00
|
|
|
// Copyright: (c) wxWidgets team
|
2004-05-23 20:53:33 +00:00
|
|
|
// Licence: wxWindows licence
|
2003-06-01 16:03:24 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DISPLAYX11_H_
|
|
|
|
#define _WX_DISPLAYX11_H_
|
|
|
|
|
|
|
|
#if wxUSE_DISPLAY
|
|
|
|
|
2003-08-09 12:38:21 +00:00
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
2003-06-01 16:03:24 +00:00
|
|
|
#pragma interface "display.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class wxRect;
|
|
|
|
class wxString;
|
|
|
|
class wxDisplayUnixPriv;
|
|
|
|
|
|
|
|
class WXDLLEXPORT wxDisplay : public wxDisplayBase
|
|
|
|
{
|
|
|
|
|
|
|
|
public:
|
|
|
|
wxDisplay ( size_t index = 0 );
|
|
|
|
|
|
|
|
virtual wxRect GetGeometry() const;
|
|
|
|
virtual int GetDepth() const;
|
|
|
|
virtual wxString GetName() const;
|
2003-12-13 03:53:08 +00:00
|
|
|
virtual wxArrayVideoModes
|
|
|
|
GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
|
|
|
|
|
|
|
|
virtual wxVideoMode GetCurrentMode() const;
|
|
|
|
|
|
|
|
virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
|
2003-06-01 16:03:24 +00:00
|
|
|
|
|
|
|
~wxDisplay();
|
|
|
|
|
|
|
|
private:
|
|
|
|
wxDisplayUnixPriv *m_priv;
|
|
|
|
|
|
|
|
DECLARE_NO_COPY_CLASS(wxDisplay);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_DISPLAY
|
|
|
|
|
|
|
|
#endif // _WX_GTK_DISPLAY_H_
|
|
|
|
|