Revert "Add dummy implementation of Tizen specific elm_config magnification." sandbox/antognolli/tizen
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 6 Feb 2014 17:39:20 +0000 (15:39 -0200)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 6 Feb 2014 17:39:20 +0000 (15:39 -0200)
This reverts commit 95ec1f9498a0cd91f0f85927d9059ecc6d1a77bf.

src/lib/elm_entry.c
src/lib/elm_entry_eo.h
src/lib/elm_entry_legacy.h

index 28c2ce492a5a55881e7be09dca3920830a4da7d0..09bca31e30dc641603b955f587a8fd2015aaf936 100644 (file)
@@ -5717,58 +5717,6 @@ _anchor_hover_end(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
 }
 /* END - ANCHOR HOVER */
 
-EAPI void
-elm_entry_magnifier_disabled_set(Evas_Object *obj, Eina_Bool disabled)
-{
-   ELM_ENTRY_CHECK(obj);
-   eo_do(obj, elm_obj_entry_magnifier_disabled_set(disabled));
-}
-
-static void
-_magnifier_disabled_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
-{
-   Eina_Bool ret = va_arg(*list, int);
-   Elm_Entry_Smart_Data *sd = _pd;
-
-   /* TODO: Forward port tizen specific magnification feature */
-}
-
-EAPI Eina_Bool
-elm_entry_magnifier_disabled_get(const Evas_Object *obj)
-{
-   ELM_ENTRY_CHECK(obj) EINA_FALSE;
-   Eina_Bool ret = EINA_FALSE;
-   eo_do((Eo *)obj, elm_obj_entry_magnifier_disabled_get(&ret));
-   return ret;
-}
-
-static void
-_magnifier_disabled_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
-{
-   Eina_Bool *ret = va_arg(*list, Eina_Bool *);
-   Elm_Entry_Smart_Data *sd = _pd;
-
-   /* TODO: Forward port tizen specific magnification feature */
-
-   if (ret) *ret = EINA_FALSE;
-}
-
-EAPI void
-elm_entry_magnifier_type_set(Evas_Object *obj, int type)
-{
-   ELM_ENTRY_CHECK(obj);
-   eo_do(obj, elm_obj_entry_magnifier_disabled_set(type));
-}
-
-static void
-_magnifier_type_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
-{
-   int ret = va_arg(*list, int);
-   Elm_Entry_Smart_Data *sd = _pd;
-
-   /* TODO: Forward port tizen specific magnification feature */
-}
-
 static void
 _elm_entry_smart_focus_next_manager_is(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
 {
@@ -5906,9 +5854,6 @@ _class_constructor(Eo_Class *klass)
         EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_STYLE_SET), _anchor_hover_style_set),
         EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_STYLE_GET), _anchor_hover_style_get),
         EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_END), _anchor_hover_end),
-        EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_DISABLED_SET), _magnifier_disabled_set),
-        EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_DISABLED_GET), _magnifier_disabled_get),
-        EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_TYPE_SET), _magnifier_type_set),
         EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_SET), _input_panel_layout_variation_set),
         EO_OP_FUNC(ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_GET), _input_panel_layout_variation_get),
         EO_OP_FUNC_SENTINEL
index 2c1418b7f0aaff9016147020493d54d72ba9c99d..9cf7f492050abb97af2563a686abc69facbf89b0 100644 (file)
@@ -93,9 +93,6 @@ enum
    ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_STYLE_SET,
    ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_STYLE_GET,
    ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_END,
-   ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_DISABLED_SET,
-   ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_DISABLED_GET,
-   ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_TYPE_SET,
    ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_SET,
    ELM_OBJ_ENTRY_SUB_ID_INPUT_PANEL_LAYOUT_VARIATION_GET,
    ELM_OBJ_ENTRY_SUB_ID_LAST
@@ -1353,39 +1350,3 @@ enum
  * @ingroup Entry
  */
 #define elm_obj_entry_anchor_hover_end() ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_ANCHOR_HOVER_END)
-
-/**
- * @def elm_obj_entry_magnifier_disabled_set
- *
- * This disables the entry's magnifier feature.
- *
- *
- * @see elm_entry_magnifier_disabled_set
- *
- * @ingroup Entry
- */
-#define elm_obj_entry_magnifier_disabled_set(disabled) ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_DISABLED_SET), EO_TYPECHECK(Eina_Bool, disabled)
-
-/**
- * @def elm_obj_entry_magnifier_disabled_get
- *
- * This returns whether the entry's magnifier feature is disabled.
- *
- *
- * @see elm_entry_magnifier_disabled_get
- *
- * @ingroup Entry
- */
-#define elm_obj_entry_magnifier_disabled_get(ret) ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_DISABLED_GET), EO_TYPECHECK(Eina_Bool, *ret)
-
-/**
- * @def elm_obj_entry_magnifier_type_set
- *
- * This sets the magnifier's type.
- *
- *
- * @see elm_entry_magnifier_type_set
- *
- * @ingroup Entry
- */
-#define elm_obj_entry_magnifier_type_set(type) ELM_OBJ_ENTRY_ID(ELM_OBJ_ENTRY_SUB_ID_MAGNIFIER_TYPE_SET), EO_TYPECHECK(int, type)
index ea34cd924fe797a70d258440020f1d604db2305e..40d1e47a90a24fa6c099d6d661ffecf7601cd877 100644 (file)
@@ -1168,24 +1168,6 @@ EAPI const char                 *elm_entry_anchor_hover_style_get(const Evas_Obj
  */
 EAPI void                        elm_entry_anchor_hover_end(Evas_Object *obj);
 
-/**
- * This disables the entry's magnifer feature.
- *
- * @param obj The entry object
- * @param disabled If true, the magnifier is not displayed
- */
-
-EAPI void                        elm_entry_magnifier_disabled_set(Evas_Object *obj, Eina_Bool disabled);
-/**
- * This returns whether the entry's magnifier feature is disabled.
- *
- * @param obj The entry object
- * @return If true, the feature is disabled
- */
-EAPI Eina_Bool                   elm_entry_magnifier_disabled_get(const Evas_Object *obj);
-
-EAPI void                        elm_entry_magnifier_type_set(Evas_Object *obj, int type);
-
 /**
  * Set the input panel layout variation of the entry
  *