1 #ifndef MSP_GBASE_DISPLAY_H_
2 #define MSP_GBASE_DISPLAY_H_
19 VideoMode(): width(0), height(0), rate(0) { }
20 VideoMode(unsigned w, unsigned h): width(w), height(h), rate(0) { }
29 std::list<VideoMode> modes;
34 Display(const std::string &disp_name=std::string());
37 const Private &get_private() const { return *priv; }
39 void add_window(Window &);
40 void remove_window(Window &);
42 const std::list<VideoMode> &get_modes() const { return modes; }
43 void set_mode(const VideoMode &);
44 void restore_mode() { set_mode(orig_mode); }
50 } // namespace Graphics