1 #ifndef MSP_GRAPHICS_DISPLAY_H_
2 #define MSP_GRAPHICS_DISPLAY_H_
21 std::list<Monitor> monitors;
22 Monitor *primary_monitor;
23 std::list<VideoMode> modes;
27 Display(const std::string &disp_name = std::string());
30 const Private &get_private() const { return *priv; }
32 void add_window(Window &);
33 void remove_window(Window &);
35 const std::list<Monitor> &get_monitors() const { return monitors; }
36 const std::list<VideoMode> &get_modes() const { return modes; }
37 const VideoMode &get_desktop_mode() const;
38 void set_mode(const VideoMode &, bool = false);
41 const VideoMode *find_matching_mode(const VideoMode &) const;
46 bool process_events();
51 } // namespace Graphics