diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-21 19:01:16 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-21 19:01:16 +0000 |
commit | 963340edef64e5823e514d0c4bebe51fc428ba51 (patch) | |
tree | cfdb6ce0ec30d4e104623d501b7482f035465652 | |
parent | 41ca9a12e5a857706dd8e1027e680c3e86b50fc3 (diff) | |
download | mana-963340edef64e5823e514d0c4bebe51fc428ba51.tar.gz mana-963340edef64e5823e514d0c4bebe51fc428ba51.tar.bz2 mana-963340edef64e5823e514d0c4bebe51fc428ba51.tar.xz mana-963340edef64e5823e514d0c4bebe51fc428ba51.zip |
Added persistent positioning.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/gui/trade.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -23,6 +23,7 @@ leak in equipment sound. * src/resources/action.cpp: Fixed double-free of sprite actions. * data/maps/new_1-1.tmx: Added back a Lua script for testing. + * src/gui/trade.cpp: Added persistent positioning. 2007-10-20 Guillaume Melquiond <guillaume.melquiond@gmail.com> diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index cf3ad1a5..add7b76e 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -98,6 +98,8 @@ TradeWindow::TradeWindow(): add(mMoneyField); add(mMoneyLabel); + loadWindowState("Trade"); + gcn::Rectangle area = getChildrenArea(); int width = area.width; int height = area.height; |