summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/graphics/gui/menuitemD.pngbin0 -> 1329 bytes
-rw-r--r--data/graphics/gui/menuitemF.pngbin0 -> 1530 bytes
-rw-r--r--data/graphics/gui/menuitemN.pngbin0 -> 1310 bytes
-rw-r--r--data/graphics/gui/menuitemP.pngbin0 -> 1436 bytes
-rw-r--r--src/Makefile.am2
-rw-r--r--src/gui/buddywindow.cpp3
6 files changed, 5 insertions, 0 deletions
diff --git a/data/graphics/gui/menuitemD.png b/data/graphics/gui/menuitemD.png
new file mode 100644
index 00000000..a9fe2222
--- /dev/null
+++ b/data/graphics/gui/menuitemD.png
Binary files differ
diff --git a/data/graphics/gui/menuitemF.png b/data/graphics/gui/menuitemF.png
new file mode 100644
index 00000000..84142a16
--- /dev/null
+++ b/data/graphics/gui/menuitemF.png
Binary files differ
diff --git a/data/graphics/gui/menuitemN.png b/data/graphics/gui/menuitemN.png
new file mode 100644
index 00000000..bf25dd61
--- /dev/null
+++ b/data/graphics/gui/menuitemN.png
Binary files differ
diff --git a/data/graphics/gui/menuitemP.png b/data/graphics/gui/menuitemP.png
new file mode 100644
index 00000000..060d5a34
--- /dev/null
+++ b/data/graphics/gui/menuitemP.png
Binary files differ
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()