summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-21 19:01:16 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-21 19:01:16 +0000
commit963340edef64e5823e514d0c4bebe51fc428ba51 (patch)
treecfdb6ce0ec30d4e104623d501b7482f035465652
parent41ca9a12e5a857706dd8e1027e680c3e86b50fc3 (diff)
downloadmana-client-963340edef64e5823e514d0c4bebe51fc428ba51.tar.gz
mana-client-963340edef64e5823e514d0c4bebe51fc428ba51.tar.bz2
mana-client-963340edef64e5823e514d0c4bebe51fc428ba51.tar.xz
mana-client-963340edef64e5823e514d0c4bebe51fc428ba51.zip
Added persistent positioning.
-rw-r--r--ChangeLog1
-rw-r--r--src/gui/trade.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b8334e4..00132908 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;