namespace Msp {
namespace Graphics {
-WindowOptions::WindowOptions():
- x(0),
- y(0),
- user_position(false),
- width(640),
- height(480),
- fullscreen(false),
- fullscreen_monitor(0),
- fullscreen_exclusive(true),
- resizable(false)
-{ }
-
-
Window::Window(Display &dpy, unsigned w, unsigned h, bool fs):
display(dpy)
{
void Window::init()
{
- visible = false;
- kbd_autorepeat = true;
- touch_input = false;
- resizing = false;
- moving = false;
priv = new Private;
if(options.fullscreen && !options.fullscreen_monitor)