X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Finput-style.h;h=5d7aeadb40e3816067dea4b7e708f3a03a176e8f;hb=00fdaec1c1d0ae69756e720ac5d3bc3acc5bd2a9;hp=a9e6eab0acc307c114122ba0b5784f7d1f103f27;hpb=c8f181e1ca529f7d92ba638ccedadd7dd51be7eb;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/input-style.h b/dali-toolkit/internal/text/input-style.h index a9e6eab..5d7aead 100644 --- a/dali-toolkit/internal/text/input-style.h +++ b/dali-toolkit/internal/text/input-style.h @@ -46,6 +46,7 @@ struct InputStyle width( TextAbstraction::FontWidth::NORMAL ), slant( TextAbstraction::FontSlant::NORMAL ), size( 0.f ), + isDefaultColor( true ), familyDefined( false ), weightDefined( false ), widthDefined( false ), @@ -64,11 +65,12 @@ struct InputStyle FontSlant slant; ///< The font's slant. float size; ///< The font's size. - bool familyDefined : 1; ///< Whether the font's family is defined. - bool weightDefined : 1; ///< Whether the font's weight is defined. - bool widthDefined : 1; ///< Whether the font's width is defined. - bool slantDefined : 1; ///< Whether the font's slant is defined. - bool sizeDefined : 1; ///< Whether the font's size is defined. + bool isDefaultColor : 1; ///< Whether the text's color is the default. + bool familyDefined : 1; ///< Whether the font's family is defined. + bool weightDefined : 1; ///< Whether the font's weight is defined. + bool widthDefined : 1; ///< Whether the font's width is defined. + bool slantDefined : 1; ///< Whether the font's slant is defined. + bool sizeDefined : 1; ///< Whether the font's size is defined. }; } // namespace Text