X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fwindow.cpp;h=79cfb7d99833029a0827064c5f74bde8fd3f8899;hb=294c354ae3b1f26887c37f866f082e52c08d80f1;hp=dde92491ee1a1ce8d3035ec7d3bbeaf2dc0ba3ca;hpb=2ed9d7a0a96638bdf0614c1cf858719e7ced40d3;p=libs%2Fgui.git diff --git a/source/graphics/window.cpp b/source/graphics/window.cpp index dde9249..79cfb7d 100644 --- a/source/graphics/window.cpp +++ b/source/graphics/window.cpp @@ -8,19 +8,6 @@ using namespace std; 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) { @@ -40,11 +27,6 @@ Window::Window(Display &dpy, const WindowOptions &opts): void Window::init() { - visible = false; - kbd_autorepeat = true; - touch_input = false; - resizing = false; - moving = false; priv = new Private; if(options.fullscreen && !options.fullscreen_monitor)