X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fcontrol-devel.h;h=63f5cf9505697bb2d43928ae014217241d165cbe;hb=95bc87993608242c8eaff49551ae85b4b78c4de7;hp=306ce2daabe3e733921656826c09ed049bee0382;hpb=50550b5dd051c5baebd26365991b50f155031dc8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/control-devel.h b/dali-toolkit/devel-api/controls/control-devel.h index 306ce2d..63f5cf9 100644 --- a/dali-toolkit/devel-api/controls/control-devel.h +++ b/dali-toolkit/devel-api/controls/control-devel.h @@ -75,11 +75,62 @@ enum * * @see DevelControl::State */ - SUB_STATE = BACKGROUND + 3 + SUB_STATE = BACKGROUND + 3, + + /** + * @brief The actor ID of the left focusable control. + * @details Name "leftFocusableActorId", type Property::INTEGER. + * + */ + LEFT_FOCUSABLE_ACTOR_ID = BACKGROUND + 4, + + /** + * @brief The actor ID of the right focusable control. + * @details Name "rightFocusableActorId", type Property::INTEGER. + * + */ + RIGHT_FOCUSABLE_ACTOR_ID = BACKGROUND + 5, + + /** + * @brief The actor ID of the up focusable control. + * @details Name "upFocusableActorId", type Property::INTEGER. + * + */ + UP_FOCUSABLE_ACTOR_ID = BACKGROUND + 6, + + /** + * @brief The actor ID of the down focusable control. + * @details Name "downFocusableActorId", type Property::INTEGER. + * + */ + DOWN_FOCUSABLE_ACTOR_ID = BACKGROUND + 7 }; } // namespace Property +/// @brief ResourceReady signal type; +typedef Signal ResourceReadySignalType; + +/** + * @brief This signal is emitted after all resources required + * by a control are loaded and ready. + * Most resources are only loaded when the control is placed on stage. + * + * A callback of the following type may be connected: + * @code + * void YourCallbackName( Control control ); + * @endcode + */ +ResourceReadySignalType& ResourceReadySignal( Control& control ); + +/** + * @brief Query if all resources required by a control are loaded and ready. + * Most resources are only loaded when the control is placed on stage. + * @return true if the resources are loaded and ready, false otherwise + * + */ +bool IsResourceReady( const Control& control ); + } // namespace DevelControl } // namespace Toolkit