summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2015-07-30 11:40:00 +0300
committerDaniel Hirt <daniel.hirt@samsung.com>2015-07-30 11:40:00 +0300
commit5d8b1e7c5e35d33488a1fa5d010ce3cb2fb65185 (patch)
treea494ede042f086fcddb2ae1a8dd0c5aa899dbbfa
parentb4d3f312fc1c0fe8b39cc69bb084ac98465483a2 (diff)
Saving changes.
-rw-r--r--src/lib/eo_preload.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/lib/eo_preload.c b/src/lib/eo_preload.c
index 0a6bc6f..04bb165 100644
--- a/src/lib/eo_preload.c
+++ b/src/lib/eo_preload.c
@@ -59,10 +59,13 @@ static void
59_rects_populate(Debug_Decorate *dec) 59_rects_populate(Debug_Decorate *dec)
60{ 60{
61 color_idx = 0; 61 color_idx = 0;
62 Eina_List *rects = _evas_textblock_par_rects_get(dec->obj); 62 Eina_List *rects;
63 Eina_Rectangle *rect; 63 Eina_Rectangle *rect;
64 Evas_Coord ox, oy; 64 Evas_Coord ox, oy;
65 evas_object_geometry_get(dec->obj, &ox, &oy, NULL, NULL); 65 evas_object_geometry_get(dec->obj, &ox, &oy, NULL, NULL);
66
67 /* Decorate Paragraphs */
68 rects = _evas_textblock_par_rects_get(dec->obj);
66 EINA_LIST_FREE(rects, rect) 69 EINA_LIST_FREE(rects, rect)
67 { 70 {
68 Debug_Rect *r = malloc(sizeof(Debug_Rect)); 71 Debug_Rect *r = malloc(sizeof(Debug_Rect));
@@ -82,6 +85,9 @@ _rects_populate(Debug_Decorate *dec)
82 85
83 eina_rectangle_free(rect); 86 eina_rectangle_free(rect);
84 } 87 }
88
89 /* Decorate Items */
90 int it_idx = 0; /* Maybe use this for text elements */
85} 91}
86 92
87/* Clears debug rectangles for given obj */ 93/* Clears debug rectangles for given obj */
@@ -146,6 +152,13 @@ _timer_cb(void *data)
146 return EINA_TRUE; 152 return EINA_TRUE;
147} 153}
148 154
155Eina_Bool
156_on_tracked_object_changed(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info)
157{
158
159 return EINA_TRUE;
160}
161
149static Eina_Bool 162static Eina_Bool
150_on_obj_del(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info) 163_on_obj_del(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info)
151{ 164{
@@ -201,6 +214,7 @@ _eo_add_internal_start(const char *file, int line, const Eo_Class *klass_id, Eo
201 if (eo_isa(ret, ELM_ENTRY_CLASS)) 214 if (eo_isa(ret, ELM_ENTRY_CLASS))
202 { 215 {
203 elm_object_tooltip_content_cb_set(ret, _textblock_tooltip_content_cb, NULL, NULL); 216 elm_object_tooltip_content_cb_set(ret, _textblock_tooltip_content_cb, NULL, NULL);
217 elm_object_tooltip_show_delay_set(ret, 0.0);
204 eo_do(ret, eo_event_callback_add(EVAS_OBJECT_EVENT_DEL, _on_obj_del, NULL)); 218 eo_do(ret, eo_event_callback_add(EVAS_OBJECT_EVENT_DEL, _on_obj_del, NULL));
205 } 219 }
206 } 220 }