diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-07-15 02:07:34 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-11 02:39:48 +0200 |
commit | f3c1994b573a8463ac6f0152b3baa7e3cbd37540 (patch) | |
tree | 9af293d78a389810e608f4f86983c74a4a5e8a07 /src | |
parent | d956102647a5b53dab359290568c6caabd5f75e0 (diff) | |
download | mana-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.tar.gz mana-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.tar.bz2 mana-f3c1994b573a8463ac6f0152b3baa7e3cbd37540.tar.xz mana-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')
-rw-r--r-- | src/gui/windowmenu.cpp | 14 |
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, |