00001 #ifndef _DISPLAYRESX_H_ 00002 #define _DISPLAYRESX_H_ 00003 00004 #include "DisplayRes.h" 00005 00006 class DisplayResX : public DisplayRes { 00007 public: 00008 DisplayResX(void); 00009 ~DisplayResX(void); 00010 00011 const vector<DisplayResScreen>& GetVideoModes(void) 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 mutable vector<DisplayResScreen> m_video_modes_unsorted; 00020 }; 00021 00022 #endif // _DISPLAYRESX_H_
1.5.5