summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-09-28 20:09:25 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-09-28 20:09:25 +0000
commite93e064373c382b80ecb37919335fbfe424efeea (patch)
treec090ee89b74f1b92c58ec2641eeb9a9f80471ec7 /src/gui/inventorywindow.cpp
parentafaf7b68b8761268fdc54066e02cfe8df1d23dec (diff)
downloadmana-e93e064373c382b80ecb37919335fbfe424efeea.tar.gz
mana-e93e064373c382b80ecb37919335fbfe424efeea.tar.bz2
mana-e93e064373c382b80ecb37919335fbfe424efeea.tar.xz
mana-e93e064373c382b80ecb37919335fbfe424efeea.zip
Added window internal name to every window. Useful to later get and save X, Y, Height, and Width of these wins.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index b65979db..bb4e8a4e 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -46,6 +46,8 @@ InventoryWindow::InventoryWindow():
Window("Inventory")
{
setContentSize(322, 172);
+ setName("Inventory");
+
useButton = new Button("Use");
dropButton = new Button("Drop");