*/
EAPI void eext_rotary_object_event_activated_set(Evas_Object *obj, Eina_Bool activated);
+/**
+ * @WEARABLE_ONLY
+ * @brief Get the activated status of the given object.
+ *
+ * @details This function gets the activated status of the given object.
+ * @ref eext_rotary_object_event_activated_set.
+ *
+ * @param[in] obj The object to get the activated status.
+ *
+ * @return @c EINA_TRUE if the given object is activated.
+ * @c EINA_FALSE otherwise.
+ *
+ * @if WEARABLE @since_tizen 5.5
+ * @endif
+ */
+EAPI Eina_Bool eext_rotary_object_event_activated_get(Evas_Object *obj);
+
/**
* @}
*/
}
}
+EAPI Eina_Bool
+eext_rotary_object_event_activated_get(Evas_Object *obj)
+{
+ if (obj == NULL)
+ return EINA_FALSE;
+
+ if (_activated_obj == NULL)
+ return EINA_FALSE;
+
+ if (_activated_obj == obj)
+ return EINA_TRUE;
+ else
+ return EINA_FALSE;
+}
+
#ifdef WITH_WAYLAND
static void
_rotary_rotate_event_free(void *udata EINA_UNUSED, void *fdata)