From c73d9e5c444c7a263cc3507b371b21d0219bad83 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Tue, 29 Dec 2015 20:20:40 +0200 Subject: MAINT-5984 FIXED Incorrect cursor position with UI scale >1.0 --- indra/llrender/llfontgl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'indra/llrender/llfontgl.h') diff --git a/indra/llrender/llfontgl.h b/indra/llrender/llfontgl.h index 0988e99deb..7d0e53f60f 100755 --- a/indra/llrender/llfontgl.h +++ b/indra/llrender/llfontgl.h @@ -98,6 +98,15 @@ public: F32* right_x=NULL, BOOL use_ellipses = FALSE) const; + S32 render(const LLWString &text, S32 begin_offset, + const LLRectf& rect, + const LLColor4 &color, + HAlign halign = LEFT, VAlign valign = BASELINE, + U8 style = NORMAL, ShadowType shadow = NO_SHADOW, + S32 max_chars = S32_MAX, + F32* right_x=NULL, + BOOL use_ellipses = FALSE) const; + S32 render(const LLWString &text, S32 begin_offset, F32 x, F32 y, const LLColor4 &color, -- cgit v1.2.3