Add dummy implemention of Tizen specific elm_config magnification
authorRusty Lynch <rusty.lynch@intel.com>
Tue, 18 Dec 2012 00:58:24 +0000 (16:58 -0800)
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>
Tue, 13 Aug 2013 20:49:39 +0000 (17:49 -0300)
The Tizen elementary tree contains a magnification feature that for
some reason has not been pushed into upstream EFL.  Attempting to just
cherry pick the implementation into an up to date elementay tree will
require some additional porting effort since the codebase has evolved
so much since the Tizen tree was branched.  This change just adds dummy
implementations for each of the external methods so that the unmodified
tizen pre-installed applications run before the port is available.

src/lib/elm_entry.c
src/lib/elm_entry.h

index e1dbbef..5bd6a6a 100644 (file)
@@ -4094,3 +4094,21 @@ _entry_hover_anchor_clicked(void *data, Evas_Object *obj, void *event_info)
      evas_object_show(wd->anchor_hover.hover);
 }
 /* END - ANCHOR HOVER */
+
+EAPI void
+elm_entry_magnifier_disabled_set(Evas_Object *obj, Eina_Bool disabled)
+{
+  /* TODO: Forward port tizen specific magnification feature */
+}
+
+EAPI Eina_Bool
+elm_entry_magnifier_disabled_get(const Evas_Object *obj)
+{
+  /* TODO: Forward port tizen specific magnification feature */
+}
+
+EAPI void
+elm_entry_magnifier_type_set(Evas_Object *obj, int type)
+{
+  /* TODO: Forward port tizen specific magnification feature */
+}
index 4ace8a1..8a00bfa 100644 (file)
@@ -1773,5 +1773,23 @@ 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);
+
+/**
  * @}
  */