1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: interface of wxVideoMode
4 // Author: wxWidgets team
5 // Licence: wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
11 Determines the sizes and locations of displays connected to the system.
19 @see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM()
25 Constructs this class using the given parameters.
27 wxVideoMode(int width
= 0, int height
= 0, int depth
= 0, int freq
= 0);
30 Returns true if this mode matches the other one in the sense that all
31 non zero fields of the other mode have the same value in this one
32 (except for refresh which is allowed to have a greater value).
34 bool Matches(const wxVideoMode
& other
) const;
37 Returns the screen width in pixels (e.g.\ 640), 0 means unspecified.
42 Returns the screen height in pixels (e.g.\ 480), 0 means unspecified.
44 int GetHeight() const;
47 Returns bits per pixel (e.g.\ 32), 1 is monochrome and 0 means
53 Returns true if the object has been initialized
58 bool operator==(const wxVideoMode
& m
) const;
59 bool operator!=(const wxVideoMode
& mode
) const;
64 The screen width in pixels (e.g.\ 640), 0 means unspecified.
69 The screen height in pixels (e.g.\ 480), 0 means unspecified.
74 Bits per pixel (e.g.\ 32), 1 is monochrome and 0 means
80 Refresh frequency in Hz, 0 means unspecified/unknown.
86 A global wxVideoMode instance used by wxDisplay.
88 const wxVideoMode wxDefaultVideoMode
;