1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxVideoMode
4 // Author: wxWidgets team
6 // Licence: wxWindows licence
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);
31 Returns true if this mode matches the other one in the sense that all
32 non zero fields of the other mode have the same value in this one
33 (except for refresh which is allowed to have a greater value).
35 bool Matches(const wxVideoMode
& other
) const;
38 Returns the screen width in pixels (e.g. 640), 0 means unspecified.
43 Returns the screen height in pixels (e.g. 480), 0 means unspecified.
45 int GetHeight() const;
48 Returns bits per pixel (e.g. 32), 1 is monochrome and 0 means
54 Returns true if the object has been initialized
59 bool operator==(const wxVideoMode
& m
) const;
60 bool operator!=(const wxVideoMode
& mode
) const;
65 The screen width in pixels (e.g. 640), 0 means unspecified.
70 The screen height in pixels (e.g. 480), 0 means unspecified.
75 Bits per pixel (e.g. 32), 1 is monochrome and 0 means
81 Refresh frequency in Hz, 0 means unspecified/unknown.
87 A global wxVideoMode instance used by wxDisplay.
89 const wxVideoMode wxDefaultVideoMode
;