]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vidmode.h
wxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation...
[wxWidgets.git] / include / wx / vidmode.h
index e22c8d8f07f79430311a0b4159ea9ed4760ace3d..550bb3b4bc668c0c97b962139c2924c9ee773403 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     27.09.2003 (extracted from wx/display.h)
-// RCS-ID:      $Id$
 // Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 #define _WX_VMODE_H_
 
 // ----------------------------------------------------------------------------
-// wxVideoMode: a simple class containing video mode parameters for a display
+// wxVideoMode: a simple struct containing video mode parameters for a display
 // ----------------------------------------------------------------------------
 
-class WXDLLIMPEXP_CORE wxVideoMode
+struct WXDLLIMPEXP_CORE wxVideoMode
 {
-public:
     wxVideoMode(int width = 0, int height = 0, int depth = 0, int freq = 0)
     {
         w = width;
@@ -55,13 +53,12 @@ public:
     int GetWidth() const { return w; }
     int GetHeight() const { return h; }
     int GetDepth() const { return bpp; }
+    int GetRefresh() const { return refresh; }
 
     // returns true if the object has been initialized
     bool IsOk() const { return w && h; }
 
 
-protected:
-
     // the screen size in pixels (e.g. 640*480), 0 means unspecified
     int w, h;