]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/display.h
added linear and concentric gradient fill functions (modified/fixed patch from Ryan...
[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
6b82ff6f
DW
17class wxRect;
18class wxString;
19class wxDisplayUnixPriv;
20
21class WXDLLEXPORT wxDisplay : public wxDisplayBase
22{
23
24 public:
25 wxDisplay (size_t index = 0);
26 ~wxDisplay();
27
28 virtual wxRect GetGeometry() const;
29 virtual int GetDepth() const;
30 virtual wxString GetName() const;
31 virtual wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const;
32 virtual wxVideoMode GetCurrentMode() const;
33
34 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode);
35
36
37 private:
38 DECLARE_NO_COPY_CLASS(wxDisplay)
39};
40
41#endif // wxUSE_DISPLAY
42
43#endif // _WX_DISPLAY_H_
44