diff options
author | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-16 12:33:36 +0000 |
---|---|---|
committer | Mateusz Kaduk <mateusz.kaduk@gmail.com> | 2005-05-16 12:33:36 +0000 |
commit | ef780231ea2d1d3a6f81c9825a0cc787ea62280f (patch) | |
tree | b2338e5d67b563c689a94729fc0991defc80740c /src | |
parent | a0ffe30ca0a3db2bb2bdec7289ac633a8bda6187 (diff) | |
download | mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.tar.gz mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.tar.bz2 mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.tar.xz mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.zip |
Added menuitem
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/gui/buddywindow.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4796655f..d1f9e6c1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -37,6 +37,8 @@ tmw_SOURCES = graphic/spriteset.cpp \ gui/listbox.h \ gui/login.cpp \ gui/login.h \ + gui/menuitem.h \ + gui/menuitem.cpp \ gui/minimap.cpp \ gui/minimap.h \ gui/newskill.cpp \ diff --git a/src/gui/buddywindow.cpp b/src/gui/buddywindow.cpp index b125f34c..f9c32be5 100644 --- a/src/gui/buddywindow.cpp +++ b/src/gui/buddywindow.cpp @@ -21,6 +21,7 @@ */ #include "buddywindow.h" +#include "menuitem.h" BuddyWindow::BuddyWindow(): Window("Buddys") @@ -36,6 +37,8 @@ BuddyWindow::BuddyWindow(): add(scrollArea); addBuddy("Usiu"); // for testing + MenuItem *item = new MenuItem("Test"); + add(item); } BuddyWindow::~BuddyWindow() |