X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fstrikethrough-character-run.h;h=66214b77930e828d8462e561e8378e81a24a39ff;hb=6a219d0bbcfd016e24b5466d5fb1a666c92feae5;hp=3f0e1f4588e6ac9f44ad773f7807b389837dcbe5;hpb=120b951f49a8f1bb98adc557b9415dd044632e5d;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