1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxVideoMode
4 // Author: wxWidgets team
5 // RCS-ID: $Id: display.h 52634 2008-03-20 13:45:17Z VS $
6 // Licence: wxWindows license
7 /////////////////////////////////////////////////////////////////////////////
12 Determines the sizes and locations of displays connected to the system.
20 @see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM()
26 Constructs this class using the given parameters.
28 wxVideoMode(int width
= 0, int height
= 0, int depth
= 0, int freq
= 0);
30 bool operator==(const wxVideoMode
& m
) const
31 bool operator!=(const wxVideoMode
& mode
) const
34 Returns true if this mode matches the other one in the sense that all
35 non zero fields of the other mode have the same value in this one
36 (except for refresh which is allowed to have a greater value).
38 bool Matches(const wxVideoMode
& other
) const;
41 Returns the screen width in pixels (e.g. 640), 0 means unspecified.
46 Returns the screen height in pixels (e.g. 480), 0 means unspecified.
48 int GetHeight() const;
51 Returns bits per pixel (e.g. 32), 1 is monochrome and 0 means
57 Returns true if the object has been initialized
62 The screen width in pixels (e.g. 640), 0 means unspecified.
67 The screen height in pixels (e.g. 480), 0 means unspecified.
72 Bits per pixel (e.g. 32), 1 is monochrome and 0 means
78 Refresh frequency in Hz, 0 means unspecified/unknown.
84 A global wxVideoMode instance used by wxDisplay.
86 wxVideoMode wxDefaultVideoMode
;