X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fbounded-paragraph-run.h;h=4b3150e10cac38a6f1dbed07256237e58dca2c29;hb=d19410c023c18c050ae226c72c6d79ebf9b0de80;hp=ec15ff4d590e272403f2a4ff07b0fc0595f1d774;hpb=82031ca68ee58a2f30f01af3992523d0bb8e5fa6;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/bounded-paragraph-run.h b/dali-toolkit/internal/text/bounded-paragraph-run.h index ec15ff4..4b3150e 100644 --- a/dali-toolkit/internal/text/bounded-paragraph-run.h +++ b/dali-toolkit/internal/text/bounded-paragraph-run.h @@ -48,13 +48,17 @@ struct BoundedParagraphRun BoundedParagraphRun() : characterRun{}, horizontalAlignment(Text::HorizontalAlignment::BEGIN), - horizontalAlignmentDefined{false} + relativeLineSize(1), + horizontalAlignmentDefined{false}, + relativeLineSizeDefined(false) { } CharacterRun characterRun; ///< The initial character index within the whole text and the number of characters of the run. Text::HorizontalAlignment::Type horizontalAlignment; ///< The paragraph horizontal alignment. Values "BEGIN" "CENTER" "END". + float relativeLineSize; ///< The relative line height to be used for this paragaraph. bool horizontalAlignmentDefined : 1; ///< Whether the horizontal alignment is defined. + bool relativeLineSizeDefined : 1; ///< Whether the relative line height is defined for this paragraph. }; } // namespace Text