]> git.tdb.fi Git - libs/gui.git/blobdiff - source/window.h
Support reconfiguring Windows on the fly
[libs/gui.git] / source / window.h
index 1047038366917854f776f22fae72de60e87ad480..2999a783fc137a1c3e1e67e6d01464c19286d530 100644 (file)
@@ -50,7 +50,9 @@ public:
        ~Window();
 
        void set_title(const std::string &);
+       void reconfigure(const WindowOptions &);
 
+       const WindowOptions &get_options() const { return options; }
        unsigned get_width() const  { return options.width; }
        unsigned get_height() const { return options.height; }
        WindowHandle get_handle() const { return window; }