summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 20:29:23 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitc632452430cb3f886da38fa315cb27a3a3a10d2c (patch)
treebdaeac586877e77046ef38dd4ad7a97a6b4e7af0 /src/gui/palette.h
parentdbba47eabe087d503426b5c5862aaa9263861ea5 (diff)
downloadmv-c632452430cb3f886da38fa315cb27a3a3a10d2c.tar.gz
mv-c632452430cb3f886da38fa315cb27a3a3a10d2c.tar.bz2
mv-c632452430cb3f886da38fa315cb27a3a3a10d2c.tar.xz
mv-c632452430cb3f886da38fa315cb27a3a3a10d2c.zip
Allow get colors from Widget2.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index 51c60cb8f..e165e8901 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -69,6 +69,8 @@ class Palette
*/
const gcn::Color &getCharColor(const signed char c, bool &valid);
+ int getIdByChar(const signed char c, bool &valid);
+
/**
* Gets the color associated with the type. Sets the alpha channel
* before returning.