From dd76a20acd16df90457eb7eb11006902f8e3290b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 14 Sep 2010 00:15:20 +0000 Subject: GUI: Fix caret undrawing. (Regression from r48551) Starting with r48551 the caret undrawing caused the text selection color in ListWidgets to be removed. It also added a slight offset to the character next to the undrawn caret. All this is fixed now. svn-id: r52716 --- gui/editable.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/editable.h') diff --git a/gui/editable.h b/gui/editable.h index 8ff5298511..4a2d98349e 100644 --- a/gui/editable.h +++ b/gui/editable.h @@ -54,6 +54,8 @@ protected: ThemeEngine::FontStyle _font; + ThemeEngine::TextInversionState _inversion; + public: EditableWidget(GuiObject *boss, int x, int y, int w, int h, const char *tooltip = 0, uint32 cmd = 0); EditableWidget(GuiObject *boss, const String &name, const char *tooltip = 0, uint32 cmd = 0); -- cgit v1.2.3