summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 13:39:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 17:29:52 +0900
commita82ab33bed4a2b8d9f07338cc6e1d41aeab22d84 (patch)
tree75ab2f6558da427952a28cade63bc87615b7a38d /src/lib/elementary/elm_widget.h
parent4a6b52465df25a671f6298650182900e2f1407da (diff)
widget: Use rectangle in show_region
Also make it a property. It's asymmetric because of the force show argument, but the get is much cleaner. Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r--src/lib/elementary/elm_widget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 482490d896..73914af080 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -396,7 +396,7 @@ typedef struct _Elm_Widget_Smart_Data
396 /* "show region" coordinates. all widgets got those because this 396 /* "show region" coordinates. all widgets got those because this
397 * info may be set and queried recursively through the widget 397 * info may be set and queried recursively through the widget
398 * parenting tree */ 398 * parenting tree */
399 Evas_Coord rx, ry, rw, rh; 399 Eina_Rectangle show_region;
400 400
401 /* scrolling hold/freeze hints. all widgets got those because this 401 /* scrolling hold/freeze hints. all widgets got those because this
402 * info may be set and queried recursively through the widget 402 * info may be set and queried recursively through the widget
@@ -719,8 +719,8 @@ EAPI void elm_widget_focus_restore(Evas_Object *obj);
719 719
720EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled); 720EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled);
721EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj); 721EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj);
722EAPI void elm_widget_show_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Eina_Bool forceshow); 722EAPI void elm_widget_show_region_set(Evas_Object *obj, Eina_Rectangle sr, Eina_Bool forceshow);
723EAPI void elm_widget_show_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); 723EAPI Eina_Rectangle elm_widget_show_region_get(const Evas_Object *obj);
724EAPI Eina_Rectangle elm_widget_focus_region_get(const Evas_Object *obj); 724EAPI Eina_Rectangle elm_widget_focus_region_get(const Evas_Object *obj);
725EAPI void elm_widget_focus_region_show(Evas_Object *obj); 725EAPI void elm_widget_focus_region_show(Evas_Object *obj);
726EAPI void elm_widget_scroll_hold_push(Evas_Object *obj); 726EAPI void elm_widget_scroll_hold_push(Evas_Object *obj);