From c632452430cb3f886da38fa315cb27a3a3a10d2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2012 20:29:23 +0300 Subject: Allow get colors from Widget2. --- src/gui/palette.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/palette.h') 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. -- cgit v1.2.3-60-g2f50