summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-16 12:33:36 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2005-05-16 12:33:36 +0000
commitef780231ea2d1d3a6f81c9825a0cc787ea62280f (patch)
treeb2338e5d67b563c689a94729fc0991defc80740c
parenta0ffe30ca0a3db2bb2bdec7289ac633a8bda6187 (diff)
downloadmana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.tar.gz
mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.tar.bz2
mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.tar.xz
mana-ef780231ea2d1d3a6f81c9825a0cc787ea62280f.zip
Added menuitem
-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()