X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fstrikethrough-glyph-run.h;h=61536bcad5c7a491ec85181533da6e5fdd71b7b3;hp=34be0af83262db1236bca383cd564f84a2cad885;hb=HEAD;hpb=e029ad17187a0cc3749982788e16e5a5bbb65301 diff --git a/dali-toolkit/internal/text/strikethrough-glyph-run.h b/dali-toolkit/internal/text/strikethrough-glyph-run.h index 34be0af..61536bc 100644 --- a/dali-toolkit/internal/text/strikethrough-glyph-run.h +++ b/dali-toolkit/internal/text/strikethrough-glyph-run.h @@ -23,6 +23,7 @@ // INTERNAL INCLUDES #include +#include namespace Dali { @@ -35,9 +36,17 @@ namespace Text */ struct StrikethroughGlyphRun { - GlyphRun glyphRun; ///< The initial glyph index and the number of glyphs in 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 + */ + StrikethroughGlyphRun() + : glyphRun{}, + properties{} + { + } + + GlyphRun glyphRun; ///< The initial glyph index and the number of glyphs in the run. + StrikethroughStyleProperties properties; /// The properties of strikethrough style }; } // namespace Text