X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fhidden-text.h;h=70d4a829ef07449b1ad7cab9521491b1839a54bf;hp=2480a4e6609f6f4cc1d4b08411d629350974ed68;hb=646440beeb663fc5efcccadeba73dd46016ed1b3;hpb=b97b29c76acefabbae2c0a4e9ecc261bf9dd8036 diff --git a/dali-toolkit/internal/text/hidden-text.h b/dali-toolkit/internal/text/hidden-text.h index 2480a4e..70d4a82 100644 --- a/dali-toolkit/internal/text/hidden-text.h +++ b/dali-toolkit/internal/text/hidden-text.h @@ -2,7 +2,7 @@ #define DALI_HIDDEN_TEXT_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. @@ -23,18 +23,15 @@ #include // INTERNAL INCLUDES -#include #include +#include namespace Dali { - namespace Toolkit { - namespace Text { - /** * Class to handle the hidden text */ @@ -44,7 +41,6 @@ public: class Observer { public: - /** * @brief Invoked when the time to show last character is expired */ @@ -55,28 +51,27 @@ public: * @brief Constructor * @param[in] observer The Observer pointer. */ - HiddenText( Observer* observer ); + HiddenText(Observer* observer); public: // Intended for internal use - /** * @brief Used to set options of hidden text * @param[in] map The property map describing the option */ - void SetProperties( const Property::Map& map ); + void SetProperties(const Property::Map& map); /** * @brief Retrieve property map of hidden text options * @param[out] map The hidden text option */ - void GetProperties( Property::Map& map ); + void GetProperties(Property::Map& map); /** * @brief Convert source text to destination text according to current option * @param[in] source The original text * @param[out] destination The applied text */ - void Substitute( const Vector& source, Vector& destination ); + void Substitute(const Vector& source, Vector& destination); /** * @brief Invoked when the timer is expired @@ -84,14 +79,13 @@ public: // Intended for internal use bool OnTick(); private: - - Timer mTimer; + Timer mTimer; Observer* mObserver; - int mHideMode; - int mSubstituteText; - int mDisplayDuration; - int mSubstituteCount; - Length mPreviousTextCount; + int mHideMode; + int mSubstituteText; + int mDisplayDuration; + int mSubstituteCount; + Length mPreviousTextCount; }; } // namespace Text