summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_grid.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:00 -0500
commit2caaf09ea2545a85b92e8c4ac71c678b90b9cdd8 (patch)
tree94149341ca4a1233a9146b151e1bbd0ebdc992be /src/lib/evas/canvas/evas_object_grid.c
parentf90366595736b568f1c15bb7810f5c3e38260157 (diff)
evas_grid: remove mirrored property
use efl_ui_base property
Diffstat (limited to 'src/lib/evas/canvas/evas_object_grid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index f323384..5c4cda9 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -480,13 +480,13 @@ _evas_grid_children_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv)
480} 480}
481 481
482EOLIAN static Eina_Bool 482EOLIAN static Eina_Bool
483_evas_grid_mirrored_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv) 483_evas_grid_efl_ui_base_mirrored_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv)
484{ 484{
485 return priv->is_mirrored; 485 return priv->is_mirrored;
486} 486}
487 487
488EOLIAN static void 488EOLIAN static void
489_evas_grid_mirrored_set(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, Eina_Bool mirrored) 489_evas_grid_efl_ui_base_mirrored_set(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, Eina_Bool mirrored)
490{ 490{
491 mirrored = !!mirrored; 491 mirrored = !!mirrored;
492 if (priv->is_mirrored != mirrored) 492 if (priv->is_mirrored != mirrored)
@@ -496,4 +496,16 @@ _evas_grid_mirrored_set(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, Eina_Bool mirro
496 } 496 }
497} 497}
498 498
499EAPI void
500evas_object_grid_mirrored_set(Evas_Grid *obj, Eina_Bool mirrored)
501{
502 efl_ui_mirrored_set(obj, mirrored);
503}
504
505EAPI Eina_Bool
506evas_object_grid_mirrored_get(const Evas_Grid *obj)
507{
508 return efl_ui_mirrored_get(obj);
509}
510
499#include "canvas/evas_grid.eo.c" 511#include "canvas/evas_grid.eo.c"