diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 17:06:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 17:06:02 +0300 |
commit | 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (patch) | |
tree | f1acb027394af1aec49790354df97da4665488b7 /src/guichan/widget.cpp | |
parent | a7d7346b9eb3fa62a8912e31d5c00f8e05390425 (diff) | |
download | ManaVerse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.gz ManaVerse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.bz2 ManaVerse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.xz ManaVerse-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.zip |
another fixes from cpplint.
Diffstat (limited to 'src/guichan/widget.cpp')
-rw-r--r-- | src/guichan/widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp index dcd64371e..d1150dbf0 100644 --- a/src/guichan/widget.cpp +++ b/src/guichan/widget.cpp @@ -110,8 +110,8 @@ namespace gcn { BLOCK_START("Widget::drawFrame") const Color &faceColor = getBaseColor(); - Color highlightColor = faceColor + 0x303030; - Color shadowColor = faceColor - 0x303030; + Color highlightColor = faceColor + Color(0x303030); + Color shadowColor = faceColor - Color(0x303030); const int alpha = getBaseColor().a; const int width = getWidth() + getFrameSize() * 2 - 1; const int height = getHeight() + getFrameSize() * 2 - 1; |