diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-09-28 21:26:23 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-09-28 21:26:23 +0000 |
commit | eb8dc37bfa07e1185308bc8d4748d92c69af1783 (patch) | |
tree | 43f8b726cc7f2c071c0641fdacb187c747aaaf5a /src/gui/window.h | |
parent | e93e064373c382b80ecb37919335fbfe424efeea (diff) | |
download | mana-eb8dc37bfa07e1185308bc8d4748d92c69af1783.tar.gz mana-eb8dc37bfa07e1185308bc8d4748d92c69af1783.tar.bz2 mana-eb8dc37bfa07e1185308bc8d4748d92c69af1783.tar.xz mana-eb8dc37bfa07e1185308bc8d4748d92c69af1783.zip |
Save and load X, Y, Height, and Width to useful wins.
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 10 |
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 */ |