3 This file is part of libmspgbase
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GBASE_DISPLAY_H_
9 #define MSP_GBASE_DISPLAY_H_
32 std::list<VideoMode> modes;
33 std::map<WindowHandle, Window *> windows;
36 Display(const std::string &disp_name=std::string());
39 ::Display *get_display() const { return display; }
41 void add_window(Window *);
42 void remove_window(Window *);
44 const std::list<VideoMode> &get_modes() const { return modes; }
45 void set_mode(const VideoMode &);
51 } // namespace Graphics