X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit-internal%2Fdali-toolkit-test-utils%2Ftoolkit-text-utils.h;h=6e30bbb35efa9fd404b3c6eb742ab6aaf1bfe55b;hb=bdbfbd90942156c5ecd2f2f1b3bfb3a8254e1cc3;hp=e4b7dddc7555e974f9ad5f309fc0599c837c1128;hpb=55e1976335d0098eff26d44a245de161a6a2a231;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit-internal/dali-toolkit-test-utils/toolkit-text-utils.h b/automated-tests/src/dali-toolkit-internal/dali-toolkit-test-utils/toolkit-text-utils.h index e4b7ddd..6e30bbb 100644 --- a/automated-tests/src/dali-toolkit-internal/dali-toolkit-test-utils/toolkit-text-utils.h +++ b/automated-tests/src/dali-toolkit-internal/dali-toolkit-test-utils/toolkit-text-utils.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_UTILS_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,11 +38,9 @@ namespace Text struct LayoutOptions { LayoutOptions() - : reorder( true ), - align( true ) + : align{ true } {} - bool reorder : 1; ///< Whether to reorder the bidirectional lines. bool align : 1; ///< Whether to align the lines. }; @@ -66,7 +64,8 @@ void CreateTextModel( const std::string& text, Size& layoutSize, ModelPtr& textModel, MetricsPtr& metrics, - bool markupProcessorEnabled ); + bool markupProcessorEnabled, + LineWrap::Mode wrapMode ); /** * @brief Configures the text @p controller similarly to the one configured by the text-label.