summaryrefslogtreecommitdiff
path: root/src/gui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/window.h')
-rw-r--r--src/gui/window.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/window.h b/src/gui/window.h
index 057981ef..05d9291b 100644
--- a/src/gui/window.h
+++ b/src/gui/window.h
@@ -169,6 +169,16 @@ class Window : public gcn::Window
*/
std::string getWindowName();
+ /**
+ * Read the X, Y, and Width and Height for resizables
+ * in the config based on its internal name.
+ * That function let the values set with set{X, Y, Height, width}()
+ * if no config value is found.
+ * Don't forget to set these default values and resizable before
+ * calling this function.
+ */
+ void loadWindowState();
+
protected:
gcn::Container *chrome; /**< Contained container */