1 #include <msp/strings/format.h>
3 #include "display_private.h"
11 unsupported_video_mode::unsupported_video_mode(const VideoMode &mode):
12 runtime_error(format("%dx%d", mode.width, mode.height))
16 void Display::add_window(Window &wnd)
18 priv->windows[wnd.get_private().window] = &wnd;
21 void Display::remove_window(Window &wnd)
23 priv->windows.erase(wnd.get_private().window);
30 while(process_events()) ;
33 } // namespace Graphics