diff options
-rw-r--r-- | data/graphics/gui/menuitemD.png | bin | 0 -> 1329 bytes | |||
-rw-r--r-- | data/graphics/gui/menuitemF.png | bin | 0 -> 1530 bytes | |||
-rw-r--r-- | data/graphics/gui/menuitemN.png | bin | 0 -> 1310 bytes | |||
-rw-r--r-- | data/graphics/gui/menuitemP.png | bin | 0 -> 1436 bytes | |||
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/gui/buddywindow.cpp | 3 |
6 files changed, 5 insertions, 0 deletions
diff --git a/data/graphics/gui/menuitemD.png b/data/graphics/gui/menuitemD.png Binary files differnew file mode 100644 index 00000000..a9fe2222 --- /dev/null +++ b/data/graphics/gui/menuitemD.png diff --git a/data/graphics/gui/menuitemF.png b/data/graphics/gui/menuitemF.png Binary files differnew file mode 100644 index 00000000..84142a16 --- /dev/null +++ b/data/graphics/gui/menuitemF.png diff --git a/data/graphics/gui/menuitemN.png b/data/graphics/gui/menuitemN.png Binary files differnew file mode 100644 index 00000000..bf25dd61 --- /dev/null +++ b/data/graphics/gui/menuitemN.png diff --git a/data/graphics/gui/menuitemP.png b/data/graphics/gui/menuitemP.png Binary files differnew file mode 100644 index 00000000..060d5a34 --- /dev/null +++ b/data/graphics/gui/menuitemP.png 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() |