1 #ifndef MSP_GRAPHICS_DISPLAY_H_
2 #define MSP_GRAPHICS_DISPLAY_H_
20 std::list<VideoMode> modes;
25 Display(const std::string &disp_name = std::string());
28 const Private &get_private() const { return *priv; }
30 void add_window(Window &);
31 void remove_window(Window &);
33 const std::list<VideoMode> &get_modes() const { return modes; }
34 const VideoMode &get_desktop_mode() const { return orig_mode; }
35 void set_mode(const VideoMode &);
36 void restore_mode() { set_mode(orig_mode); }
40 bool process_events();
45 } // namespace Graphics