]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/unix/displayx11.h
Fixes for WinCE build caused by my last commit.
[wxWidgets.git] / include / wx / unix / displayx11.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: displayx11.h
3// Purpose: wxDisplay class for Unix/X11
4// Author: Brian Victor
5// Modified by:
6// Created: 12/05/02
7// RCS-ID: $Id$
8// Copyright: (c) wxWidgets team
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_DISPLAYX11_H_
13#define _WX_DISPLAYX11_H_
14
15#if wxUSE_DISPLAY
16
17class wxRect;
18class wxString;
19class wxDisplayUnixPriv;
20
21class WXDLLEXPORT wxDisplay : public wxDisplayBase
22{
23
24 public:
25 wxDisplay ( size_t index = 0 );
26
27 virtual wxRect GetGeometry() const;
28 virtual int GetDepth() const;
29 virtual wxString GetName() const;
30 virtual wxArrayVideoModes
31 GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
32
33 virtual wxVideoMode GetCurrentMode() const;
34
35 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
36
37 ~wxDisplay();
38
39 private:
40 wxDisplayUnixPriv *m_priv;
41
42 DECLARE_NO_COPY_CLASS(wxDisplay)
43};
44
45#endif // wxUSE_DISPLAY
46
47#endif // _WX_GTK_DISPLAY_H_
48