summaryrefslogtreecommitdiff
path: root/src/flooritem.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 16:28:38 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 16:29:31 +0300
commit2b8e0b02338400b215b73cec900ffa1fddbac60a (patch)
tree0920d2980bf60aeeb5b9a44140f4537353ced0d9 /src/flooritem.cpp
parentdc8422dbac2c45a082153240138d699c1bfc3b88 (diff)
downloadmanaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.tar.gz
manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.tar.bz2
manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.tar.xz
manaverse-2b8e0b02338400b215b73cec900ffa1fddbac60a.zip
Move user defined colors enum into separate file.
Diffstat (limited to 'src/flooritem.cpp')
-rw-r--r--src/flooritem.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flooritem.cpp b/src/flooritem.cpp
index 664beecf8..a3ad4385c 100644
--- a/src/flooritem.cpp
+++ b/src/flooritem.cpp
@@ -24,6 +24,8 @@
#include "configuration.h"
+#include "enums/gui/usercolorid.h"
+
#include "render/graphics.h"
#include "gui/gui.h"
@@ -166,7 +168,7 @@ void FloorItem::draw(Graphics *const graphics,
if (font && mAmount > 1)
{
const Color &color = userPalette->getColor(
- UserPalette::FLOOR_ITEM_TEXT);
+ UserColorId::FLOOR_ITEM_TEXT);
font->drawString(graphics,
color, color,
toString(mAmount),