diff options
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() |