X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Fdevel-api%2Ftext%2Ftext-enumerations-devel.h;h=a74af4315da100c1f9e45e92d3b9d1c3f64917e6;hb=656f6eec4881d0305fc1322a0531cadd816287dc;hp=4e9b278f61f784a69761df2353f77466ab8feb28;hpb=1e5f8e03bf0dfd40c9efd641d915dd1173eae4e5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/text/text-enumerations-devel.h b/dali-toolkit/devel-api/text/text-enumerations-devel.h index 4e9b278..a74af43 100644 --- a/dali-toolkit/devel-api/text/text-enumerations-devel.h +++ b/dali-toolkit/devel-api/text/text-enumerations-devel.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_ENUMERATIONS_DEVEL_H /* - * Copyright (c) 2017 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. @@ -20,16 +20,12 @@ namespace Dali { - namespace Toolkit { - namespace DevelText { - namespace TextDirection { - enum Type { LEFT_TO_RIGHT, @@ -40,7 +36,6 @@ enum Type namespace VerticalLineAlignment { - enum Type { TOP, @@ -49,6 +44,17 @@ enum Type }; } // namespace VerticalLineAlignment +namespace LineWrap +{ +enum Mode +{ + WORD, + CHARACTER, + HYPHENATION, // HYPHENATION mode will add hyphen and move part of the word to the next line. + MIXED // MIXEd mode will apply WORD mode, if failed try HYPHENATION mode, if failed try CHARACTER. +}; + +} // namespace LineWrap } // namespace DevelText