aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets/editable.cpp
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-29 18:38:08 +0600
committerEugene Sandulenko2016-07-03 12:21:09 +0200
commitf22d11953d355f8b56d504301997eb4643c299bc (patch)
treeaa86cbedce8b769a9b8795d86f63cc8d6f30577d /gui/widgets/editable.cpp
parent559ca37dafea7fa07f2453ee9221df072c501b22 (diff)
downloadscummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.gz
scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.bz2
scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.zip
GUI: Add drawSquareClip()
Diffstat (limited to 'gui/widgets/editable.cpp')
-rw-r--r--gui/widgets/editable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/editable.cpp b/gui/widgets/editable.cpp
index 2d929113b1..83b6a7b84e 100644
--- a/gui/widgets/editable.cpp
+++ b/gui/widgets/editable.cpp
@@ -274,7 +274,7 @@ void EditableWidget::drawCaret(bool erase) {
x += getAbsX();
y += getAbsY();
- g_gui.theme()->drawCaret(Common::Rect(x, y, x + 1, y + editRect.height()), erase);
+ g_gui.theme()->drawCaretClip(Common::Rect(x, y, x + 1, y + editRect.height()), getBossClipRect(), erase);
if (erase) {
GUI::EditableWidget::String character;