summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-07-15 02:07:34 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-08-11 02:39:48 +0200
commitf3c1994b573a8463ac6f0152b3baa7e3cbd37540 (patch)
tree9af293d78a389810e608f4f86983c74a4a5e8a07 /src/gui/windowmenu.cpp
parentd956102647a5b53dab359290568c6caabd5f75e0 (diff)
downloadmana-client-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.tar.gz
mana-client-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.tar.bz2
mana-client-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.tar.xz
mana-client-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.zip
Reached the state where the menu bar is now using image buttons.
I had to adapt a bit the images given by Poison ivy to do that.
Diffstat (limited to 'src/gui/windowmenu.cpp')
-rw-r--r--src/gui/windowmenu.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/windowmenu.cpp b/src/gui/windowmenu.cpp
index 2595c819..1c5f2d77 100644
--- a/src/gui/windowmenu.cpp
+++ b/src/gui/windowmenu.cpp
@@ -50,19 +50,19 @@ WindowMenu::WindowMenu():
{
int x = 0, h = 0;
- addButton(":-)", x, h);
- addButton(N_("Status"), x, h);
- addButton(N_("Equipment"), x, h);
- addButton(N_("Inventory"), x, h);
+ addButton(":-)", x, h, "button-icon-smilies.png");
+ addButton(N_("Status"), x, h, "button-icon-status.png");
+ addButton(N_("Equipment"), x, h, "button-icon-equipment.png");
+ addButton(N_("Inventory"), x, h, "button-icon-inventory.png");
if (skillDialog->hasSkills())
- addButton(N_("Skills"), x, h);
+ addButton(N_("Skills"), x, h, "button-icon-skills.png");
// if (specialsWindow->hasSpecials())
- addButton(N_("Specials"), x, h);
+ addButton(N_("Specials"), x, h, "button-icon-specials.png");
addButton(N_("Social"), x, h, "button-icon-social.png");
- addButton(N_("Shortcut"), x, h);
+ addButton(N_("Shortcut"), x, h, "button-icon-shortcut.png");
addButton(N_("Setup"), x, h, "button-icon-setup.png");
setDimension(gcn::Rectangle(graphics->getWidth() - x - 3, 3,