X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fstrikethrough-character-run.h;h=66214b77930e828d8462e561e8378e81a24a39ff;hb=3e844ed708b1cbe03cd5bfe9ad202aad27bbe360;hp=3f0e1f4588e6ac9f44ad773f7807b389837dcbe5;hpb=04194fd795542d80b5cf7c1b954ca14593e536d4;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/strikethrough-character-run.h b/dali-toolkit/internal/text/strikethrough-character-run.h index 3f0e1f4..66214b7 100644 --- a/dali-toolkit/internal/text/strikethrough-character-run.h +++ b/dali-toolkit/internal/text/strikethrough-character-run.h @@ -23,6 +23,7 @@ // INTERNAL INCLUDES #include +#include namespace Dali { @@ -35,9 +36,17 @@ namespace Text */ struct StrikethroughCharacterRun { - CharacterRun characterRun; ///< The initial character index and the number of characters of the run. - Vector4 color; ///< The color of strikethrough. - bool isColorSet; ///< If the color of strikethrough is set. + /** + * Default constructor to set the default values of bitfields + */ + StrikethroughCharacterRun() + : characterRun{}, + properties{} + { + } + + CharacterRun characterRun; ///< The initial character index and the number of characters of the run. + StrikethroughStyleProperties properties; /// The properties of strikethrough style }; } // namespace Text