diff options
author | Alexander Tkachev | 2016-06-29 18:38:08 +0600 |
---|---|---|
committer | Eugene Sandulenko | 2016-07-03 12:21:09 +0200 |
commit | f22d11953d355f8b56d504301997eb4643c299bc (patch) | |
tree | aa86cbedce8b769a9b8795d86f63cc8d6f30577d /gui/widgets | |
parent | 559ca37dafea7fa07f2453ee9221df072c501b22 (diff) | |
download | scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.gz scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.tar.bz2 scummvm-rg350-f22d11953d355f8b56d504301997eb4643c299bc.zip |
GUI: Add drawSquareClip()
Diffstat (limited to 'gui/widgets')
-rw-r--r-- | gui/widgets/editable.cpp | 2 |
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; |