00001 #ifndef _DISPLAYRESOSX_H_ 00002 #define _DISPLAYRESOSX_H_ 00003 00004 #include "DisplayRes.h" 00005 00006 class DisplayResOSX : public DisplayRes { 00007 public: 00008 DisplayResOSX(void); 00009 ~DisplayResOSX(void); 00010 00011 const vector<DisplayResScreen>& GetVideoModes() const; 00012 00013 protected: 00014 bool GetDisplaySize(int &width_mm, int &height_mm) const; 00015 bool SwitchToVideoMode(int width, int height, short framerate); 00016 00017 private: 00018 mutable vector<DisplayResScreen> m_video_modes; 00019 }; 00020 00021 #endif // _DISPLAYRESOSX_H_
1.5.5