X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-view-interface.h;h=24fcfffacea65619ab2400e3f6d3e49550e47d9f;hb=HEAD;hp=2dda239951ce67776b8c7bc69366eb9a1aff557d;hpb=076f84a43592f26ff0aa2bced54583f712800fe3;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-view-interface.h b/dali-toolkit/internal/text/text-view-interface.h index 2dda239..5fbbfea 100644 --- a/dali-toolkit/internal/text/text-view-interface.h +++ b/dali-toolkit/internal/text/text-view-interface.h @@ -23,6 +23,8 @@ // INTERNAL INCLUDES #include +#include +#include #include #include #include @@ -107,35 +109,35 @@ public: * * @return Pointer to the vector of colors. */ - virtual const Vector4* const GetColors() const = 0; + virtual const Vector4* GetColors() const = 0; /** * @brief Retrieves the vector of indices to the vector of colors. * * @return Pointer to a vector which stores for each glyph the index to the vector of colors. */ - virtual const ColorIndex* const GetColorIndices() const = 0; + virtual const ColorIndex* GetColorIndices() const = 0; /** * @brief Retrieves the vector of background colors. * * @return Pointer to the vector of background colors. */ - virtual const Vector4* const GetBackgroundColors() const = 0; + virtual const Vector4* GetBackgroundColors() const = 0; /** * @brief Retrieves the vector of indices to the vector of background colors. * * @return Pointer to a vector which stores for each glyph the index to the vector of background colors. */ - virtual const ColorIndex* const GetBackgroundColorIndices() const = 0; + virtual const ColorIndex* GetBackgroundColorIndices() const = 0; /** * @brief checks if there is background colors set using markup. * * @return boolean if there is background colors set using markup . */ - virtual bool const IsMarkupBackgroundColorSet() const = 0; + virtual bool IsMarkupBackgroundColorSet() const = 0; /** * @brief Retrieves the text color @@ -173,6 +175,13 @@ public: virtual bool IsUnderlineEnabled() const = 0; /** + * @brief checks if there is underline set using markup. + * + * @return boolean if there is underline set using markup. + */ + virtual bool IsMarkupUnderlineSet() const = 0; + + /** * @brief Returns the hyphens glyph info. * * @return hyphens glyph info. @@ -239,6 +248,13 @@ public: Length numberOfRuns) const = 0; /** + * @brief Retrieves the outline offset. + * + * @return The outline offset. + */ + virtual const Vector2& GetOutlineOffset() const = 0; + + /** * @brief Retrieve the outline color. * * @return The outline color. @@ -309,6 +325,13 @@ public: virtual bool IsStrikethroughEnabled() const = 0; /** + * @brief checks if there is strikethrough set using markup. + * + * @return boolean if there is strikethrough set using markup. + */ + virtual bool IsMarkupStrikethroughSet() const = 0; + + /** * @brief Retrieves the strikethrough height override * * @return Returns the override height for a strikethrough, 0 indicates that adaptor will determine the height @@ -323,6 +346,20 @@ public: virtual Length GetNumberOfStrikethroughRuns() const = 0; /** + * @brief Retrieves the number of bounded paragraph runs. + * + * @return The number of bounded paragraph runs. + */ + virtual Length GetNumberOfBoundedParagraphRuns() const = 0; + + /** + * @brief Retrieves the reference for bounded paragraph runs. + * + * @return The reference for bounded paragraph runs. + */ + virtual const Vector& GetBoundedParagraphRuns() const = 0; + + /** * @brief Retrieves the strikethrough runs. * * @param[out] strikethroughRuns Pointer to a buffer where the strikethrough runs are copied. @@ -340,7 +377,7 @@ public: * * @return characterSpacing. */ - virtual const float GetCharacterSpacing() const = 0; + virtual float GetCharacterSpacing() const = 0; /** * @brief The text buffer. @@ -355,6 +392,13 @@ public: * @return GetGlyphsToCharacters. */ virtual const Vector& GetGlyphsToCharacters() const = 0; + + /** + * @brief Returns whether cutout is enabled or not. + * + * @return The cutout state. + */ + virtual bool IsCutoutEnabled() const = 0; }; } // namespace Text