diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-04 13:24:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-04 13:24:01 +0300 |
commit | 0c7a1466e8c2c2dd6e15779368c87b62b2da601f (patch) | |
tree | 24be0979382c8844c68365cac1d6de046da16681 /src/guichan/widgets | |
parent | eed0bccd09e5708eb9b629c14f69022e362f4aa4 (diff) | |
download | manaplus-0c7a1466e8c2c2dd6e15779368c87b62b2da601f.tar.gz manaplus-0c7a1466e8c2c2dd6e15779368c87b62b2da601f.tar.bz2 manaplus-0c7a1466e8c2c2dd6e15779368c87b62b2da601f.tar.xz manaplus-0c7a1466e8c2c2dd6e15779368c87b62b2da601f.zip |
Add text fileds cursor (caret) color.
New theme colors: CARET
Diffstat (limited to 'src/guichan/widgets')
-rw-r--r-- | src/guichan/widgets/textfield.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/guichan/widgets/textfield.cpp b/src/guichan/widgets/textfield.cpp index 7a2bde46e..52aefee54 100644 --- a/src/guichan/widgets/textfield.cpp +++ b/src/guichan/widgets/textfield.cpp @@ -96,14 +96,6 @@ namespace gcn void TextField::drawCaret(Graphics* graphics, int x) { - // Check the current clip area as a clip area with a different - // size than the widget might have been pushed (which is the - // case in the draw method when we push a clip area after we have - // drawn a border). - const Rectangle clipArea = graphics->getCurrentClipArea(); - - graphics->setColor(mForegroundColor); - graphics->drawLine(x, clipArea.height - 2, x, 1); } void TextField::mousePressed(MouseEvent& mouseEvent) |