summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget2.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-22 14:21:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-22 14:21:27 +0300
commit48646db55005a0da079bd2c945875dc8225e2f86 (patch)
tree4d7b18cb201682cbb32f1f1677a0935a8e7928a4 /src/gui/widgets/widget2.h
parent9c12fcdfe590f34543fcecc2691b625c408f1746 (diff)
downloadmv-48646db55005a0da079bd2c945875dc8225e2f86.tar.gz
mv-48646db55005a0da079bd2c945875dc8225e2f86.tar.bz2
mv-48646db55005a0da079bd2c945875dc8225e2f86.tar.xz
mv-48646db55005a0da079bd2c945875dc8225e2f86.zip
Move color into gui dir.
Diffstat (limited to 'src/gui/widgets/widget2.h')
-rw-r--r--src/gui/widgets/widget2.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/widget2.h b/src/gui/widgets/widget2.h
index c6317702f..ff565815f 100644
--- a/src/gui/widgets/widget2.h
+++ b/src/gui/widgets/widget2.h
@@ -32,16 +32,16 @@ class Widget2
{
}
- inline const gcn::Color &getThemeColor(const int type,
- const int alpha = 255)
- const A_WARN_UNUSED
+ inline const Color &getThemeColor(const int type,
+ const int alpha = 255)
+ const A_WARN_UNUSED
{
return Theme::getThemeColor(mPaletteOffset + type, alpha);
}
- inline const gcn::Color &getThemeCharColor(const signed char c,
- bool &valid)
- const A_WARN_UNUSED
+ inline const Color &getThemeCharColor(const signed char c,
+ bool &valid)
+ const A_WARN_UNUSED
{
const int colorId = Theme::getThemeIdByChar(c, valid);
if (valid)
@@ -71,7 +71,7 @@ class Widget2
}
}
- void setForegroundColor2(const gcn::Color &color)
+ void setForegroundColor2(const Color &color)
{
mForegroundColor2 = color;
}
@@ -85,7 +85,7 @@ class Widget2
}
int mPaletteOffset;
- gcn::Color mForegroundColor2;
+ Color mForegroundColor2;
};
extern RenderType openGLMode;