]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/display.h
more synonyms for UCS-2/4
[wxWidgets.git] / include / wx / os2 / display.h
CommitLineData
6b82ff6f
DW
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_DISPLAY_H_
13#define _WX_DISPLAY_H_
14
15#if wxUSE_DISPLAY
16
17#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
18 #pragma interface "display.h"
19#endif
20
21class wxRect;
22class wxString;
23class wxDisplayUnixPriv;
24
25class WXDLLEXPORT wxDisplay : public wxDisplayBase
26{
27
28 public:
29 wxDisplay (size_t index = 0);
30 ~wxDisplay();
31
32 virtual wxRect GetGeometry() const;
33 virtual int GetDepth() const;
34 virtual wxString GetName() const;
35 virtual wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
36 virtual wxVideoMode GetCurrentMode() const;
37
38 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
39
40
41 private:
42 DECLARE_NO_COPY_CLASS(wxDisplay)
43};
44
45#endif // wxUSE_DISPLAY
46
47#endif // _WX_DISPLAY_H_
48