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 /////////////////////////////////////////////////////////////////////////////
13 Determines the sizes and locations of displays connected to the system.
21 @see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM()
27 Constructs this class using the given parameters.
29 wxVideoMode(int width
= 0, int height
= 0, int depth
= 0, int freq
= 0);
31 bool operator==(const wxVideoMode
& m
) const
32 bool operator!=(const wxVideoMode
& mode
) const
35 Returns true if this mode matches the other one in the sense that all
36 non zero fields of the other mode have the same value in this one
37 (except for refresh which is allowed to have a greater value).
39 bool Matches(const wxVideoMode
& other
) const;
42 Returns the screen width in pixels (e.g. 640), 0 means unspecified.
47 Returns the screen height in pixels (e.g. 480), 0 means unspecified.
49 int GetHeight() const;
52 Returns bits per pixel (e.g. 32), 1 is monochrome and 0 means
58 Returns true if the object has been initialized
63 The screen width in pixels (e.g. 640), 0 means unspecified.
68 The screen height in pixels (e.g. 480), 0 means unspecified.
73 Bits per pixel (e.g. 32), 1 is monochrome and 0 means
79 Refresh frequency in Hz, 0 means unspecified/unknown.
85 A global wxVideoMode instance used by wxDisplay.
87 wxVideoMode wxDefaultVideoMode
;