X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fdecorator%2Ftext-decorator.h;h=ad3037e1132569e7ae226f21624a44d39c1fe45d;hp=59b06e16a60f0e7a8491709b894a13e8a75fe754;hb=fdd98f05f6ca6fbb01b5f3b6cddbb09e121abf78;hpb=0a6dd76f25ef1121d3801a99d9b32084c8a48744 diff --git a/dali-toolkit/internal/text/decorator/text-decorator.h b/dali-toolkit/internal/text/decorator/text-decorator.h index 59b06e1..ad3037e1 100644 --- a/dali-toolkit/internal/text/decorator/text-decorator.h +++ b/dali-toolkit/internal/text/decorator/text-decorator.h @@ -83,6 +83,14 @@ enum HandleType HANDLE_TYPE_COUNT }; +// Types of decoration. +enum DecorationType +{ + NONE_LAYER, + ACTIVE_LAYER, + CURSOR_LAYER +}; + /** * @brief A Text Decorator is used to display cursors, handles, selection highlights and pop-ups. * @@ -122,9 +130,11 @@ public: /** * @brief Add a decoration to the parent UI control. * - * @param[in] decoration The actor displaying a decoration. + * @param[in] actor The actor displaying a decoration. + * @param[in] type Whether this decoration is a layer or not, which layer it is. + * @param[in] needsClipping Whether the actor needs clipping. */ - virtual void AddDecoration(Actor& actor, bool needsClipping) = 0; + virtual void AddDecoration(Actor& actor, DecorationType type, bool needsClipping) = 0; /** * @brief An input event from one of the handles.