X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fcursor-helper-functions.h;h=34a5f7bdc0d883cabaa3037f8be53bc3038db9f5;hp=f62165b1dd8add779d223b92f29b9212cbfdbe6a;hb=c8073b1370ab872ad2b2d6aee2ef25af6d5339eb;hpb=adf4c55964dedf76147852af876fb0ea99c41bff diff --git a/dali-toolkit/internal/text/cursor-helper-functions.h b/dali-toolkit/internal/text/cursor-helper-functions.h index f62165b..34a5f7b 100644 --- a/dali-toolkit/internal/text/cursor-helper-functions.h +++ b/dali-toolkit/internal/text/cursor-helper-functions.h @@ -50,6 +50,7 @@ struct CursorInfo : primaryPosition(), secondaryPosition(), lineOffset( 0.f ), + glyphOffset( 0.f ), lineHeight( 0.f ), primaryCursorHeight( 0.f ), secondaryCursorHeight( 0.f ), @@ -62,6 +63,7 @@ struct CursorInfo Vector2 primaryPosition; ///< The primary cursor's position (in text's coords). Vector2 secondaryPosition; ///< The secondary cursor's position (in text's coords). float lineOffset; ///< The vertical offset where the line containing the cursor starts. + float glyphOffset; ///< The difference of line ascender and glyph ascender. float lineHeight; ///< The height of the line where the cursor is placed. float primaryCursorHeight; ///< The primary cursor's height. float secondaryCursorHeight; ///< The secondary cursor's height.