X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fanchor.h;h=f23f08a7c8b4bfe7b2e12c7c1b9b769ca4a91037;hb=8272ed044bd7789ad9abedae32a470018df04364;hp=d2c73849bb07cf07f07d392ee8fc0f300d1ad960;hpb=ee67cff961ec6b3003586c542dc473dd980c18c9;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/anchor.h b/dali-toolkit/internal/text/anchor.h index d2c7384..f23f08a 100644 --- a/dali-toolkit/internal/text/anchor.h +++ b/dali-toolkit/internal/text/anchor.h @@ -35,6 +35,11 @@ struct Anchor CharacterIndex startIndex; ///< The character's start index of the anchor within the string. CharacterIndex endIndex; ///< The character's end index of the anchor within the string. char* href; ///< The url path + + bool isClicked = false; ///< Whether the anchor is clicked or not. + Vector4 clickedColor = Color::DARK_MAGENTA; ///< The color of the anchor when clicked. + uint32_t colorRunIndex; ///< RunIndex of color run, used to change color when clicked. + uint32_t underlinedCharacterRunIndex; ///< RunIndex of underline run, used to change color when clicked. }; } // namespace Text