X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Ftoolkit-input-method-context.h;h=395ad4d3a58102c415068f5e9d874d463e9d35e0;hp=a56ea81084627c42b4bb0c691a13cc422d7955bb;hb=590ede8c5f4771821ff5ac3f3acef0d189525008;hpb=a2cdd50ec94555ef2ff893e6a7056f921b3266a5 diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h index a56ea81..395ad4d 100755 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-input-method-context.h @@ -102,10 +102,24 @@ public: */ enum class PreeditStyle { - NONE, ///< None style - UNDERLINE, ///< Underline substring style - REVERSE, ///< Reverse substring style - HIGHLIGHT ///< Highlight substring style + NONE, ///< None style + UNDERLINE, ///< Underline substring style + REVERSE, ///< Reverse substring style + HIGHLIGHT, ///< Highlight substring style + CUSTOM_PLATFORM_STYLE_1, ///< Custom style for platform + CUSTOM_PLATFORM_STYLE_2, ///< Custom style for platform + CUSTOM_PLATFORM_STYLE_3, ///< Custom style for platform + CUSTOM_PLATFORM_STYLE_4 ///< Custom style for platform + }; + + /** + * @brief This structure is for the preedit style types and indices. + */ + struct PreeditAttributeData + { + PreeditStyle preeditType; /// The preedit style type + unsigned int startIndex; /// The start index of preedit + unsigned int endIndex; /// The end index of preedit }; /** @@ -309,11 +323,11 @@ public: void SetPreeditStyle( PreeditStyle type ); /** - * @brief Gets the preedit type. + * @brief Gets the preedit attrs data. * - * @return The preedit style type + * @param[out] attrs The preedit attrs data. */ - PreeditStyle GetPreeditStyle() const; + void GetPreeditStyle( Vector& attrs ) const; public: