~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/flooritem.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-05-18 21:06:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130518210629-3trtowluum0tekob
Tags: 1.3.5.12-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "gui/gui.h"
31
31
#include "gui/sdlfont.h"
 
32
#include "gui/userpalette.h"
32
33
 
33
34
#include "resources/iteminfo.h"
34
35
 
142
143
    {
143
144
        if (font && mAmount > 1)
144
145
        {
145
 
            graphics->setColor(gcn::Color(255, 255, 255, 100));
 
146
//            graphics->setColor(gcn::Color(255, 255, 255, 100));
 
147
            graphics->setColor(userPalette->getColor(
 
148
                UserPalette::FLOOR_ITEM_TEXT));
146
149
            font->drawString(graphics, toString(mAmount), x, y);
147
150
        }
148
151
    }