From 5517c2c6243f49b8af412525db1de94e905ab503 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Thu, 27 Sep 2018 18:15:21 +0900 Subject: [PATCH] widget item: fix since_tizen 2.3 to check profiles @tizen_fix Change-Id: I21d6d0cb9120df88bb7b56e6f62e41f36d2ccbeb --- src/lib/elm_widget_item.eo | 92 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 69 insertions(+), 23 deletions(-) diff --git a/src/lib/elm_widget_item.eo b/src/lib/elm_widget_item.eo index 0716575..9b7e6ae 100644 --- a/src/lib/elm_widget_item.eo +++ b/src/lib/elm_widget_item.eo @@ -18,7 +18,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, its parent window's canvas. It will instead be limited only by the size of the display. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] get { } @@ -38,7 +40,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: elm_object_tooltip_style_set() for more details. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] get { } @@ -61,7 +65,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, If this function is called twice for an object, a previously set cursor will be unset on the second call. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] get { } @@ -83,7 +89,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, Warning: Before you set a cursor style you should have defined a custom cursor previously on the item, with @.cursor.set - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] get { } @@ -104,7 +112,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, Note: By default, cursors will only be looked for between those provided by the rendering engine. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] get { } @@ -208,7 +218,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_order_get @const { [[Get highlight order - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -217,7 +229,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_order_set { [[Set highlight order - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -252,7 +266,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: elm_object_tooltip_text_set() for more details. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] params { text: const (char) *; [[The text to set in the content.]] @@ -275,7 +291,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: elm_object_tooltip_unset() for more details. See: @.tooltip_content_cb_set - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] } cursor_unset { @@ -289,7 +307,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: elm_object_cursor_unset() See: @.cursor.set - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] } part_content_unset { @@ -332,7 +352,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: @.signal_callback_add - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -357,7 +379,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_info_set { [[Set the text to read out when in accessibility mode - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] params { txt: const (char) *; [[The text that describes the widget to people with poor or no vision]] @@ -366,7 +390,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_object_get @const { [[Get an accessible object of the object item. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -387,7 +413,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, its own translatable strings, that should not be mixed with those of programs using the library. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -404,7 +432,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, will return the translation returned by $gettext(). To get the original string use this function. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -430,7 +460,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: @.part_text.set See: elm_policy() - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -464,7 +496,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: @.untrack See: @.track_get - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -479,7 +513,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: @.track See: @.track_get - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -498,7 +534,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: @.track See: @.track_get - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -528,7 +566,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, See: elm_object_tooltip_content_cb_set() for more details. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif ]] params { func: Elm_Tooltip_Item_Content_Cb @nullable; [[the function used to create the tooltip contents.]] @@ -540,7 +580,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_register { [[Register object item as an accessible object. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -549,7 +591,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_unregister { [[Unregister accessible object of the object item. - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] @@ -557,7 +601,9 @@ class Elm.Widget_Item (Eo.Base, Elm_Interface_Atspi_Accessible, access_order_unset { [[Unset highlight order - \@since_tizen 2.3 + \@if MOBILE \@since_tizen 2.3 + \@elseif WEARABLE \@since_tizen 2.3.1 + \@endif @since 1.8 ]] -- 2.7.4