Re: [E-devel] [PATCH] ecore/ecore_fb: Tweaks in _ecore_fb_size_get
On Wed, 21 Mar 2012 22:29:48 +0530 Vikram Narayanan vikram...@gmail.com said: On 3/21/2012 3:28 PM, Carsten Haitzler (The Rasterman) wrote: On Sat, 17 Mar 2012 15:16:49 +0530 Vikram Narayananvikram...@gmail.com said: As the width and height are defined as static, no need to initialize it again to zero. Also removed checks for 'valid pointers' as it is redundant. question... why did you make these changes? did you get warnings or something from a compiler (that i've never seen), or is this just being pedantic or what? curious. :) The closest answer is pedantic. :) Was just compiling the e17 from sources and just noticed this one. I leave it to the community to decide whether or not they are interested in these type of patches :) cool. sure - i just want to know why really. well a deeper why. if its some code checking/analysis tool that has bitched - it'd be nice to know about it and what it is etc. so in future we might use it or something... as such this is indeed just some pedantics and doesn't actually concretely improve the code (fixes bug, adds speed-up (worth talking about) etc. but... it is nevertheless correct, and so it doesnt make the code any harder to follow... in svn it goes. thanks! :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hi, I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? depends on what your widget is exactly. u can create private widgets... but the widget api for elm is explicitly unstable (elm_widget.h) and marked and documented as such. Could someone explain me a difference between elm_*.c, elc_*.c, elu_*.c and els_*.c. Is this documented somewhere? I'm not sure which one to take as template for my new widget. elm == widgets/core elc == collection widgets - widgets that pretty much glue existing widgets together in a useful collection elu == utils els == smart objects (not widgets). regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, Mar 22, 2012 at 7:09 AM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hi, I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? depends on what your widget is exactly. u can create private widgets... but the widget api for elm is explicitly unstable (elm_widget.h) and marked and documented as such. Could someone explain me a difference between elm_*.c, elc_*.c, elu_*.c and els_*.c. Is this documented somewhere? I'm not sure which one to take as template for my new widget. elm == widgets/core elc == collection widgets - widgets that pretty much glue existing widgets together in a useful collection elu == utils els == smart objects (not widgets). that's really something to add in the documentation section, like developping your own widgets, or something like that Vincent -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally.
Thank you for your response. I have attached revised patch. Please review this again, Thanks :) 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 18:19:26 +0900 cnook kimci...@gmail.com said: Dear All, Hello. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. Sincerely, Shinwoo Kim. change: (wd-list !wd-list_visible) to ((wd-list) (!wd-list_visible)) change: if(list_size.x = rect.w || list_size.y = rect.h) to if ((list_size.x = rect.w) || (list_size.y = rect.h)) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel elc_ctxpopup.c.using.list.internally.r2 Description: Binary data -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, 22 Mar 2012 07:19:10 +0100 Vincent Torri vincent.to...@gmail.com said: On Thu, Mar 22, 2012 at 7:09 AM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hi, I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? depends on what your widget is exactly. u can create private widgets... but the widget api for elm is explicitly unstable (elm_widget.h) and marked and documented as such. Could someone explain me a difference between elm_*.c, elc_*.c, elu_*.c and els_*.c. Is this documented somewhere? I'm not sure which one to take as template for my new widget. elm == widgets/core elc == collection widgets - widgets that pretty much glue existing widgets together in a useful collection elu == utils els == smart objects (not widgets). that's really something to add in the documentation section, like developping your own widgets, or something like that it's actually not in the docs because at this stage its highly discouraged. your widgets WILL break over newer releases of elm. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Genlist] Tree effect bug fix
I make new one using _item_position and resolved blank bug. Please review again. Thanks Joey 2012/3/21 Daniel Juyung Seo seojuyu...@gmail.com I got issue when I applied this patch. When I expanded items in the lower part, I got some blank items after auto scrolling. Can you please fix this? And I have one comment. Instead of this, evas_object_resize(VIEW(it), it-item-w, it-item-h); evas_object_move(VIEW(it), it-item-scrl_x, it-item-scrl_y); evas_object_show(VIEW(it)); You can use _item_position(). Thank you. Daniel Juyung Seo (SeoZ) On Mon, Mar 19, 2012 at 4:27 PM, chanwook jung jchanw...@gmail.com wrote: Dear all, I found some bugs in tree effect. flickering, emit signal to unrealize item... so I fix it. Thanks, Chanwook -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Index: src/lib/elm_genlist.c === --- src/lib/elm_genlist.c (revision 69556) +++ src/lib/elm_genlist.c (working copy) @@ -77,6 +77,7 @@ struct Elm_Gen_Item_Type Eina_Bool move_effect_enabled : 1; Eina_Bool decorate_mode_item_realized : 1; Eina_Bool tree_effect_finished : 1; /* tree effect */ + Eina_Bool tree_effect_hideme : 1; /* item hide for tree effect */ }; struct _Item_Block @@ -2179,7 +2180,15 @@ _item_realize(Elm_Gen_Item *it, //evas_event_thaw(evas_object_evas_get(it-wd-obj)); //evas_event_thaw_eval(evas_object_evas_get(it-wd-obj)); if (!calc) - evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it); + { +if (it-item-tree_effect_hideme) + { + if (it-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE) + edje_object_signal_emit(VIEW(it), elm,state,hide, ); + it-item-tree_effect_hideme = EINA_FALSE; + } +evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it); + } if ((!calc) (it-wd-decorate_mode) (it-item-type != ELM_GENLIST_ITEM_GROUP)) { @@ -2481,13 +2490,19 @@ _item_block_position(Item_Block *itb, it-item-scrl_y); else { - if (it-item-mode_view) - _item_position(it, it-item-mode_view, - it-item-scrl_x, - it-item-scrl_y); - else - _item_position(it, VIEW(it), it-item-scrl_x, - it-item-scrl_y); + if (!it-wd-tree_effect_enabled || + (it-wd-move_effect_mode == ELM_GENLIST_TREE_EFFECT_NONE) || + ((it-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE) + (it-item-old_scrl_y == it-item-scrl_y))) + { + if (it-item-mode_view) +_item_position(it, it-item-mode_view, + it-item-scrl_x, + it-item-scrl_y); + else +_item_position(it, VIEW(it), it-item-scrl_x, + it-item-scrl_y); + } } it-item-old_scrl_y = it-item-scrl_y; } @@ -3000,6 +3015,19 @@ _pan_calculate(Evas_Object *obj) { git-item-want_realize = EINA_FALSE; } + + if (sd-wd-tree_effect_enabled (sd-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE)) + { +if (!sd-wd-tree_effect_animator) + { + _item_tree_effect_before(sd-wd-expanded_item); + evas_object_raise(sd-wd-alpha_bg); + evas_object_show(sd-wd-alpha_bg); + sd-wd-start_time = ecore_time_get(); +
Re: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally.
On Thu, 22 Mar 2012 16:40:39 +0900 Kim Shinwoo kimcinoo@gmail.com said: looks like its the exact same patch as before :) Thank you for your response. I have attached revised patch. Please review this again, Thanks :) 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 18:19:26 +0900 cnook kimci...@gmail.com said: Dear All, Hello. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. Sincerely, Shinwoo Kim. change: (wd-list !wd-list_visible) to ((wd-list) (!wd-list_visible)) change: if(list_size.x = rect.w || list_size.y = rect.h) to if ((list_size.x = rect.w) || (list_size.y = rect.h)) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com #include Elementary.h #define EXPAND(o) evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND) #define FILL(o) evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL) static Evas_Object *_item_content_get(void *data, Evas_Object *obj, const char *part); static void _on_done(void *data, Evas_Object *obj, void *event_info); static Elm_Genlist_Item_Class genlist_class = { .item_style = default, .func.content_get = _item_content_get, .func.del = NULL}; static Evas_Object *list; static void _btn_add_cb(void *data, Evas_Object *obj, void *event_info) { elm_genlist_item_append(list, genlist_class, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); } static Evas_Object *_item_content_get(void *data, Evas_Object *obj, const char *part) { Evas_Object *label; char timebuf[256]; double ts; if (strcmp(part, elm.swallow.icon)) return NULL; printf(called for part %s\n, part); label = elm_label_add(obj); evas_object_show(label); EXPAND(label); ts = ecore_time_get(); strftime(timebuf, sizeof(timebuf), [%H:%M:%S], localtime((time_t[]){ ts })); elm_object_text_set(label, timebuf); return label; } int main(int argc, char *argv[]) { Evas_Object *win, *box; Evas_Object *btn; unsigned int j; Elm_Object_Item *li = NULL; elm_init(argc, argv); win = elm_win_util_standard_add(Elm Playground, Elm Playground - List append test); evas_object_show(win); evas_object_smart_callback_add(win, delete,request, _on_done, NULL); box = elm_box_add(win); evas_object_show(box); EXPAND(box); FILL(box); btn = elm_button_add(box); evas_object_show(btn); elm_object_text_set(btn, Add item); evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, 0.0); evas_object_smart_callback_add(btn, clicked, _btn_add_cb, NULL); elm_box_pack_end(box, btn); list = elm_genlist_add(box); evas_object_show(list); EXPAND(list); FILL(list); for (j = 0; j 20; j++) { li = elm_genlist_item_append(list, genlist_class, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); } elm_genlist_item_show(li, ELM_GENLIST_ITEM_SCROLLTO_IN); elm_box_pack_end(box, list); elm_win_resize_object_add(win, box); evas_object_resize(win, 200, 400); elm_run(); elm_shutdown(); return 0; } static void _on_done(void *data, Evas_Object *obj, void *event_info) { elm_exit(); } -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally.
OMG. I checked and revised whole elc_ctxpopup.c file to follow the coding style as bellows. Add parenthesis around all conditions: if (a) ... if (!a) ... if ((a) (b))... if ((!a) (b))... Please review the attached patch. Thanks! 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 16:40:39 +0900 Kim Shinwoo kimcinoo@gmail.com said: looks like its the exact same patch as before :) Thank you for your response. I have attached revised patch. Please review this again, Thanks :) 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 18:19:26 +0900 cnook kimci...@gmail.com said: Dear All, Hello. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. Sincerely, Shinwoo Kim. change: (wd-list !wd-list_visible) to ((wd-list) (!wd-list_visible)) change: if(list_size.x = rect.w || list_size.y = rect.h) to if ((list_size.x = rect.w) || (list_size.y = rect.h)) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com elc_ctxpopup.c.using.list.internally.r3 Description: Binary data -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally.
On Thu, 22 Mar 2012 17:41:49 +0900 Kim Shinwoo kimcinoo@gmail.com said: i STILL see a if() (vs if ().. notice the SPACE) :) OMG. I checked and revised whole elc_ctxpopup.c file to follow the coding style as bellows. Add parenthesis around all conditions: if (a) ... if (!a) ... if ((a) (b))... if ((!a) (b))... Please review the attached patch. Thanks! 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 16:40:39 +0900 Kim Shinwoo kimcinoo@gmail.com said: looks like its the exact same patch as before :) Thank you for your response. I have attached revised patch. Please review this again, Thanks :) 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 18:19:26 +0900 cnook kimci...@gmail.com said: Dear All, Hello. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. Sincerely, Shinwoo Kim. change: (wd-list !wd-list_visible) to ((wd-list) (!wd-list_visible)) change: if(list_size.x = rect.w || list_size.y = rect.h) to if ((list_size.x = rect.w) || (list_size.y = rect.h)) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally.
AH!! sorry for this. now the patch follows.. - 1 space before parenthesis for keywords: if, for, while, switch Thanks for your response 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 17:41:49 +0900 Kim Shinwoo kimcinoo@gmail.com said: i STILL see a if() (vs if ().. notice the SPACE) :) OMG. I checked and revised whole elc_ctxpopup.c file to follow the coding style as bellows. Add parenthesis around all conditions: if (a) ... if (!a) ... if ((a) (b))... if ((!a) (b))... Please review the attached patch. Thanks! 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 16:40:39 +0900 Kim Shinwoo kimcinoo@gmail.com said: looks like its the exact same patch as before :) Thank you for your response. I have attached revised patch. Please review this again, Thanks :) 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 18:19:26 +0900 cnook kimci...@gmail.com said: Dear All, Hello. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. Sincerely, Shinwoo Kim. change: (wd-list !wd-list_visible) to ((wd-list) (!wd-list_visible)) change: if(list_size.x = rect.w || list_size.y = rect.h) to if ((list_size.x = rect.w) || (list_size.y = rect.h)) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com elc_ctxpopup.c.using.list.internally.r4 Description: Binary data -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_list behavior
On Mon, 19 Mar 2012 01:55:47 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: bug in list - it didnt force a canvas calc. done. fixed. :) Hey everyone, I found more unexpected behavior in elm. This time it's about list_append, directly followed by list_item_bring_in. It just does not work. Nothing happens. I wrote a small example and added a solution/workaround which should either be integrated into elm or into examples/docs. Basically all that is necessary is a main loop iteration between the _append and the _bring_in calls. -- Leif -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_list behavior
On Sun, 18 Mar 2012 21:17:10 -0400 Michael Blumenkrantz michael.blumenkra...@gmail.com said: On Mon, 19 Mar 2012 01:55:47 +0100 Leif Middelschulte leif.middelschu...@gmail.com wrote: Hey everyone, I found more unexpected behavior in elm. This time it's about list_append, directly followed by list_item_bring_in. It just does not work. Nothing happens. I wrote a small example and added a solution/workaround which should either be integrated into elm or into examples/docs. Basically all that is necessary is a main loop iteration between the _append and the _bring_in calls. this is obvious: object creation in elm is async, and so it is not guaranteed (or likely) that any object you create will be visible/realized until it signals that it has been created with a smart callback. genlist/gengrid both have realized/unrealized callbacks, so the solution is likely going to be adding a similar mechanism to regular list. all in all, list is developed on less than gengrid, and gengrid is not worked on at all. I don't know why you're wasting your time with it (unless you didn't know, in which case consider yourself Enlightened now :)) list vs genlist. list is sync. genlist is async + queued. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally.
On Thu, 22 Mar 2012 18:44:40 +0900 Kim Shinwoo kimcinoo@gmail.com said: in svn! :) AH!! sorry for this. now the patch follows.. - 1 space before parenthesis for keywords: if, for, while, switch Thanks for your response 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 17:41:49 +0900 Kim Shinwoo kimcinoo@gmail.com said: i STILL see a if() (vs if ().. notice the SPACE) :) OMG. I checked and revised whole elc_ctxpopup.c file to follow the coding style as bellows. Add parenthesis around all conditions: if (a) ... if (!a) ... if ((a) (b))... if ((!a) (b))... Please review the attached patch. Thanks! 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 16:40:39 +0900 Kim Shinwoo kimcinoo@gmail.com said: looks like its the exact same patch as before :) Thank you for your response. I have attached revised patch. Please review this again, Thanks :) 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 18:19:26 +0900 cnook kimci...@gmail.com said: Dear All, Hello. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. Sincerely, Shinwoo Kim. change: (wd-list !wd-list_visible) to ((wd-list) (!wd-list_visible)) change: if(list_size.x = rect.w || list_size.y = rect.h) to if ((list_size.x = rect.w) || (list_size.y = rect.h)) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elm_map] Add line, polygon, circle, scale overlay
On Thu, 22 Mar 2012 15:20:05 +0900 Bluezery ohpo...@gmail.com said: ok- i'll let this in as it is an addition that doesnt break api.. but i'm not going to feel too happy about adding more api from now on until after release. Hello, This patch adds new overlay APIs (line, polygon, circle, scale) for elm_map. These overlays are adhered to map even though zooming, panning. You can test these by doing elementary_test -- click mouse right -- overlay I attached circle scale png files used for circle and scale overlays. Thanks. -- BRs, Kim. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. That's my fault. I misunderstood the meaning of realized in the context. I thought elements would be immediately added and that the realized callback would be called once they were really added (since it's async). I came to this conclusion because of the error I noticed in elm_list (newly added item couldn't be scrolled to, because it (maybe) wasn't there yet). Anyway, is there an event, to register for that, that makes it possible to scroll the newly added element? -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Genlist] Tree effect bug fix
I modified code for target. 2012/3/22 chanwook jung jchanw...@gmail.com I make new one using _item_position and resolved blank bug. Please review again. Thanks Joey 2012/3/21 Daniel Juyung Seo seojuyu...@gmail.com I got issue when I applied this patch. When I expanded items in the lower part, I got some blank items after auto scrolling. Can you please fix this? And I have one comment. Instead of this, evas_object_resize(VIEW(it), it-item-w, it-item-h); evas_object_move(VIEW(it), it-item-scrl_x, it-item-scrl_y); evas_object_show(VIEW(it)); You can use _item_position(). Thank you. Daniel Juyung Seo (SeoZ) On Mon, Mar 19, 2012 at 4:27 PM, chanwook jung jchanw...@gmail.com wrote: Dear all, I found some bugs in tree effect. flickering, emit signal to unrealize item... so I fix it. Thanks, Chanwook -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Index: src/lib/elm_genlist.c === --- src/lib/elm_genlist.c (revision 69556) +++ src/lib/elm_genlist.c (working copy) @@ -77,6 +77,7 @@ struct Elm_Gen_Item_Type Eina_Bool move_effect_enabled : 1; Eina_Bool decorate_mode_item_realized : 1; Eina_Bool tree_effect_finished : 1; /* tree effect */ + Eina_Bool tree_effect_hideme : 1; /* item hide for tree effect */ }; struct _Item_Block @@ -2179,7 +2180,15 @@ _item_realize(Elm_Gen_Item *it, //evas_event_thaw(evas_object_evas_get(it-wd-obj)); //evas_event_thaw_eval(evas_object_evas_get(it-wd-obj)); if (!calc) - evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it); + { +if (it-item-tree_effect_hideme) + { + if (it-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE) + edje_object_signal_emit(VIEW(it), elm,state,hide, ); + it-item-tree_effect_hideme = EINA_FALSE; + } +evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it); + } if ((!calc) (it-wd-decorate_mode) (it-item-type != ELM_GENLIST_ITEM_GROUP)) { @@ -2481,13 +2490,19 @@ _item_block_position(Item_Block *itb, it-item-scrl_y); else { - if (it-item-mode_view) - _item_position(it, it-item-mode_view, - it-item-scrl_x, - it-item-scrl_y); - else - _item_position(it, VIEW(it), it-item-scrl_x, - it-item-scrl_y); + if (!it-wd-tree_effect_enabled || + (it-wd-move_effect_mode == ELM_GENLIST_TREE_EFFECT_NONE) || + ((it-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE) + (it-item-old_scrl_y == it-item-scrl_y))) + { + if (it-item-mode_view) +_item_position(it, it-item-mode_view, + it-item-scrl_x, + it-item-scrl_y); + else +_item_position(it, VIEW(it), it-item-scrl_x, + it-item-scrl_y); + } } it-item-old_scrl_y = it-item-scrl_y; } @@ -3000,6 +3015,19 @@ _pan_calculate(Evas_Object *obj) { git-item-want_realize = EINA_FALSE; } + + if (sd-wd-tree_effect_enabled (sd-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE)) + { +if (!sd-wd-tree_effect_animator) + { + _item_tree_effect_before(sd-wd-expanded_item); + evas_object_raise(sd-wd-alpha_bg); +
Re: [E-devel] Screen Resolution - Restore on Login
2012/3/22 Jeff Hoogland jeffhoogl...@linux.com: Fixed as in it was removed or it now works? Either way thanks! Building the update now. I wasn't accurate here. Fixed, as in it works now :-) On Wed, Mar 21, 2012 at 6:42 PM, Leif Middelschulte leif.middelschu...@gmail.com wrote: 2012/3/21 Jeff Hoogland jeffhoogl...@linux.com: Can we please get the restore on login option in the screen resolution tool to actually work or else remove it until it is functional? It causes confusion among users every now and then with it being there, but not functioning. Fixed in r69547. -- ~Jeff Hoogland http://jeffhoogland.com/ Thoughts on Technology http://jeffhoogland.blogspot.com/, Tech Blog Bodhi Linux http://bodhilinux.com/, Enlightenment for your Desktop -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- ~Jeff Hoogland http://jeffhoogland.com/ Thoughts on Technology http://jeffhoogland.blogspot.com/, Tech Blog Bodhi Linux http://bodhilinux.com/, Enlightenment for your Desktop -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch][elm_map] Remove unused codes
Hello, Now, Elm_Map_Marker, Elm_Map_Marker_Class, Elm_Map_Group_Class, Marker_Bubble are not used anymore. So I removed all things related those in elm_map. Please review this patch. Thanks -- BRs, Kim. Index: src/lib/elm_map.c === --- src/lib/elm_map.c (리비전 69564) +++ src/lib/elm_map.c (작업 사본) @@ -26,8 +26,6 @@ typedef struct _Overlay_Line Overlay_Lin typedef struct _Overlay_Polygon Overlay_Polygon; typedef struct _Overlay_Circle Overlay_Circle; typedef struct _Overlay_Scale Overlay_Scale; -typedef struct _Marker_Group Marker_Group; -typedef struct _Marker_Bubble Marker_Bubble; typedef struct _Path_Node Path_Node; typedef struct _Path_Waypoint Path_Waypoint; typedef struct _Route_Dump Route_Dump; @@ -116,11 +114,9 @@ struct _Delayed_Data Elm_Map_Zoom_Mode mode; int zoom; double lon, lat; - Eina_List *markers; Eina_List *overlays; }; -// Map Tile source // FIXME: Currently tile size must be 256*256 // and the map size is pow(2.0, z) * (tile size) struct _Source_Tile @@ -134,14 +130,12 @@ struct _Source_Tile Elm_Map_Module_Tile_Scale_Func scale_cb; }; -// Map Route Source struct _Source_Route { const char *name; Elm_Map_Module_Route_Url_Func url_cb; }; -// Map Name Source struct _Source_Name { const char *name; @@ -261,73 +255,6 @@ struct _Elm_Map_Overlay Overlay_Group *grp; }; -struct _Elm_Map_Marker_Class -{ - const char *style; - struct _Elm_Map_Marker_Class_Func - { -Elm_Map_Marker_Get_Func get; -Elm_Map_Marker_Del_Func del; //if NULL the object will be destroyed with evas_object_del() -Elm_Map_Marker_Icon_Get_Func icon_get; - } func; -}; - -struct _Elm_Map_Group_Class -{ - Widget_Data *wd; - - Eina_List *markers; - int zoom_displayed; // display the group if the zoom is = to zoom_display - int zoom_grouped; // group the markers only if the zoom is = to zoom_groups - const char *style; - void *data; - struct - { -Elm_Map_Group_Icon_Get_Func icon_get; - } func; - - Eina_Bool hide : 1; -}; - -struct _Marker_Bubble -{ - Widget_Data *wd; - Evas_Object *pobj; - Evas_Object *obj, *sc, *bx; -}; - -struct _Elm_Map_Marker -{ - Widget_Data *wd; - Elm_Map_Marker_Class *clas; - Elm_Map_Group_Class *group_clas; - double longitude, latitude; - Evas_Coord w, h; - Evas_Object *obj; - - Evas_Coord x, y; - Eina_Bool grouped : 1; - Eina_Bool leader : 1; // if marker is group leader - Marker_Group *group; - - Marker_Bubble *bubble; - Evas_Object *content; - void *data; -}; - -struct _Marker_Group -{ - Widget_Data *wd; - Elm_Map_Group_Class *clas; - Evas_Coord w, h; - Evas_Object *obj; - - Evas_Coord x, y; - Eina_List *markers; - - Marker_Bubble *bubble; -}; - struct _Elm_Map_Route { Widget_Data *wd; @@ -440,7 +367,7 @@ struct _Widget_Data Evas_Object *scr; Evas_Object *ges; Evas_Object *pan_smart; - Evas_Object *sep_maps_markers; // Tiles are below this and overlays are on top + Evas_Object *sep_maps_overlays; // Tiles are below this and overlays are on top Evas_Map *map; Eina_Array *src_tile_mods; @@ -466,8 +393,6 @@ struct _Widget_Data int zoom; double zoom_detail; - double prev_lon, prev_lat; - Evas_Coord ox, oy; struct { int w, h; // Current pixel width, heigth of a grid @@ -509,12 +434,6 @@ struct _Widget_Data Eina_Bool wheel_disabled : 1; - unsigned int markers_max_num; - Eina_Bool paused_markers : 1; - Eina_List *group_classes; - Eina_List *marker_classes; - Eina_List *markers; - Eina_List *routes; Eina_List *track; Eina_List *names; @@ -627,7 +546,7 @@ static const Evas_Smart_Cb_Description _ }; static void -_edj_marker_size_get(Widget_Data *wd, Evas_Coord *w, Evas_Coord *h) +_edj_overlay_size_get(Widget_Data *wd, Evas_Coord *w, Evas_Coord *h) { EINA_SAFETY_ON_NULL_RETURN(wd); EINA_SAFETY_ON_NULL_RETURN(w); @@ -789,419 +708,6 @@ _region_show(void *data) } static void -_bubble_update(Marker_Bubble *bubble, Eina_List *contents) -{ - EINA_SAFETY_ON_NULL_RETURN(bubble); - EINA_SAFETY_ON_NULL_RETURN(contents); - - Eina_List *l; - Evas_Object *c; - - elm_box_clear(bubble-bx); - EINA_LIST_FOREACH(contents, l, c) elm_box_pack_end(bubble-bx, c); -} - -static void -_bubble_place(Marker_Bubble *bubble) -{ - EINA_SAFETY_ON_NULL_RETURN(bubble); - - Evas_Coord x, y, w, h; - Evas_Coord xx, yy, ww, hh; - const char *s; - - if ((!bubble-obj) || (!bubble-pobj)) return; - evas_object_geometry_get(bubble-pobj, x, y, w, NULL); - - s = edje_object_data_get(bubble-obj, size_w); - if (s) ww = atoi(s); - else ww = 0; - - edje_object_size_min_calc(bubble-obj, NULL, hh); - s = edje_object_data_get(bubble-obj, size_h); - if (s) h = atoi(s); - else h = 0; - if (hh h) hh = h; - - xx = x + (w / 2) - (ww / 2); - yy = y - hh; - -
Re: [E-devel] elm_genlist scrollto bottom
On Thu, 22 Mar 2012 12:15:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. That's my fault. I misunderstood the meaning of realized in the context. I thought elements would be immediately added and that the realized callback would be called once they were really added (since it's async). I came to this conclusion because of the error I noticed in elm_list (newly added item couldn't be scrolled to, because it (maybe) wasn't there yet). Anyway, is there an event, to register for that, that makes it possible to scroll the newly added element? the code as i attached it. use show or bring_in - your choice. i fixed the bug in svn. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Thu, Mar 22, 2012 at 7:14 AM, Enlightenment SVN no-re...@enlightenment.org wrote: Log: From: cnook kimci...@gmail.com Subject: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list internally. The patch is for using elm_list as a item controller of elc_ctxpopup. I have learned that there was an opinion to change the internal structure of ctxpopup using the list. It would be able to match up to your expectation. but it is just a draft version of using list in ctxpopup. So, It would be pretty good to me if you give any feedback on this. Thanks. My 1st rewrite of the 1st drop-in of this widget used list as its building block. The widget was then renamed and reverted back to what it looked like originally in code, so I stopped following it. Author: raster Date: 2012-03-22 03:14:58 -0700 (Thu, 22 Mar 2012) New Revision: 69561 Trac: http://trac.enlightenment.org/e/changeset/69561 Modified: trunk/elementary/src/lib/elc_ctxpopup.c Modified: trunk/elementary/src/lib/elc_ctxpopup.c === --- trunk/elementary/src/lib/elc_ctxpopup.c 2012-03-22 10:10:29 UTC (rev 69560) +++ trunk/elementary/src/lib/elc_ctxpopup.c 2012-03-22 10:14:58 UTC (rev 69561) @@ -7,9 +7,7 @@ struct _Elm_Ctxpopup_Item { ELM_WIDGET_ITEM; - const char *label; - Evas_Object *icon; - Evas_Smart_Cb func; + Elm_Object_Item *list_item; }; struct _Widget_Data @@ -17,16 +15,15 @@ Evas_Object *parent; Evas_Object *base; Evas_Object *content; + Evas_Object *list; Evas_Object *box; Evas_Object *arrow; - Evas_Object *scr; Evas_Object *bg; - Eina_List *items; Elm_Ctxpopup_Direction dir; Elm_Ctxpopup_Direction dir_priority[4]; - Evas_Coord max_sc_w, max_sc_h; Eina_Bool horizontal:1; Eina_Bool visible:1; + Eina_Bool list_visible:1; Eina_Bool finished:1; }; @@ -36,7 +33,6 @@ static void _freeze_off(void *data, Evas_Object *obj, void *event_info); static void _hold_on(void *data, Evas_Object *obj, void *event_info); static void _hold_off(void *data, Evas_Object *obj, void *event_info); -static void _scroller_size_reset(Widget_Data *wd); static void _on_focus_hook(void *data, Evas_Object *obj); static Eina_Bool _event_hook(Evas_Object *obj, Evas_Object *src, @@ -55,7 +51,6 @@ Evas *e, Evas_Object *obj, void *event_info); -static void _item_sizing_eval(Elm_Ctxpopup_Item *item); static void _adjust_pos_x(Evas_Coord_Point *pos, Evas_Coord_Point *base_size, Evas_Coord_Rectangle *hover_area); @@ -118,28 +113,16 @@ Evas *e, Evas_Object *obj, void *event_info); -static void _scroller_resize(void *data, - Evas *e, - Evas_Object *obj, - void *event_info); static void _ctxpopup_move(void *data, Evas *e, Evas_Object *obj, void *event_info); static void _restack(void *data, Evas *e, Evas_Object *obj, void *event_info); -static void _item_select_cb(void *data, Evas_Object *obj, -const char *emission, -const char *source); -static void _item_icon_set(Elm_Ctxpopup_Item *item, Evas_Object *icon); -static void _item_label_set(Elm_Ctxpopup_Item *item, const char *label); -static void _item_new(Elm_Ctxpopup_Item *item, char *group_name); static void _content_del(void *data, Evas *e, Evas_Object *obj, void *event_info); static void _list_del(Widget_Data *wd); -static void _list_new(Evas_Object *obj); -static void _remove_items(Widget_Data * wd); static void _disable_hook(Evas_Object *obj); static void _signal_emit_hook(Evas_Object *obj, const char *emission, const char *source); static void _signal_callback_add_hook(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func_cb, void *data); @@ -158,8 +141,8 @@ { Widget_Data *wd = elm_widget_data_get(obj); - if ((!wd) || (!wd-scr)) return; - elm_object_scroll_freeze_push(wd-scr); + if ((!wd) || (!wd-list)) return; + elm_widget_scroll_freeze_push(wd-list); } static void @@ -168,8 +151,8 @@ { Widget_Data *wd = elm_widget_data_get(obj); - if ((!wd) || (!wd-scr)) return; - elm_object_scroll_freeze_pop(wd-scr); + if ((!wd) || (!wd-list)) return; + elm_widget_scroll_freeze_pop(wd-list); } static void @@ -177,8 +160,8 @@ { Widget_Data *wd = elm_widget_data_get(obj); - if ((!wd) || (!wd-scr)) return; - elm_object_scroll_hold_push(wd-scr); + if
Re: [E-devel] create custom elementary widget
On Thu, Mar 22, 2012 at 3:19 AM, Vincent Torri vincent.to...@gmail.comwrote: On Thu, Mar 22, 2012 at 7:09 AM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hi, I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? depends on what your widget is exactly. u can create private widgets... but the widget api for elm is explicitly unstable (elm_widget.h) and marked and documented as such. Could someone explain me a difference between elm_*.c, elc_*.c, elu_*.c and els_*.c. Is this documented somewhere? I'm not sure which one to take as template for my new widget. elm == widgets/core elc == collection widgets - widgets that pretty much glue existing widgets together in a useful collection elu == utils els == smart objects (not widgets). that's really something to add in the documentation section, like developping your own widgets, or something like that It will be done, don't worry. Vincent -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Lima Chaves Senior Developer ProFUSION embedded systems http://profusion.mobi -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 12:15:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. That's my fault. I misunderstood the meaning of realized in the context. I thought elements would be immediately added and that the realized callback would be called once they were really added (since it's async). I came to this conclusion because of the error I noticed in elm_list (newly added item couldn't be scrolled to, because it (maybe) wasn't there yet). Anyway, is there an event, to register for that, that makes it possible to scroll the newly added element? the code as i attached it. use show or bring_in - your choice. i fixed the bug in svn. thanks for almost fixing the issue ;-) What I want: - Be able to scroll through the list - Scroll to a new element, when it's appended But the code you provided hides the issue a bit and doesn't work as you probably think it does. I attached the code to expose it. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Leif #include Elementary.h #define EXPAND(o) evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND) #define FILL(o) evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL) static Evas_Object *_item_content_get(void *data, Evas_Object *obj, const char *part); static void _item_content_free(void *data, Evas_Object *obj); static void _on_done(void *data, Evas_Object *obj, void *event_info); static Elm_Genlist_Item_Class genlist_class = { .item_style = default, .func.content_get = _item_content_get, .func.del = _item_content_free}; static Evas_Object *list; static int i = 0; static void _btn_add_cb(void *data, Evas_Object *obj, void *event_info) { Elm_Object_Item *li = NULL; int *d; d = malloc(sizeof(int)); *d = i++; li = elm_genlist_item_append(list, genlist_class, d, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); elm_genlist_item_bring_in(li, ELM_GENLIST_ITEM_SCROLLTO_IN); } static void _btn_add_iterate_cb(void *data, Evas_Object *obj, void *event_info) { Elm_Object_Item *li = NULL; int *d; d = malloc(sizeof(int)); *d = i++; li = elm_genlist_item_append(list, genlist_class, d, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); ecore_main_loop_iterate(); elm_genlist_item_bring_in(li, ELM_GENLIST_ITEM_SCROLLTO_IN); } static void _item_content_free(void *data, Evas_Object *obj) { free(data); } static Evas_Object *_item_content_get(void *data, Evas_Object *obj, const char *part) { Evas_Object *label; int *n = (int*)data; char buf[256]; if (!n || strcmp(part, elm.swallow.icon)) return NULL; printf(called for part %s\n, part); label = elm_label_add(obj); evas_object_show(label); EXPAND(label); snprintf(buf, sizeof(buf), Item %i, *n); elm_object_text_set(label, buf); return label; } int main(int argc, char *argv[]) { Evas_Object *win, *box; Evas_Object *btn; int *d; Elm_Object_Item *li = NULL; elm_init(argc, argv); win = elm_win_util_standard_add(Elm Playground, Elm Playground - List append test); evas_object_show(win); evas_object_smart_callback_add(win, delete,request, _on_done, NULL); box = elm_box_add(win); evas_object_show(box); EXPAND(box); FILL(box); btn = elm_button_add(box); evas_object_show(btn); elm_object_text_set(btn, Add, Bring in); evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, 0.0); evas_object_smart_callback_add(btn, clicked, _btn_add_cb, NULL); elm_box_pack_end(box, btn); btn = elm_button_add(box); evas_object_show(btn); elm_object_text_set(btn, Add, Iterate, Bring in); evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, 0.0); evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, 0.0); evas_object_smart_callback_add(btn, clicked, _btn_add_iterate_cb, NULL); elm_box_pack_end(box, btn); list = elm_genlist_add(box); evas_object_show(list); EXPAND(list); FILL(list); for (i = 0; i 20; i++) { d = malloc(sizeof(int)); *d = i; li = elm_genlist_item_append(list, genlist_class, d,
Re: [E-devel] create custom elementary widget
Am Wed, 21 Mar 2012 18:54:39 -0300 schrieb Gustavo Chaves: On Wed, Mar 21, 2012 at 6:30 PM, Andreas Volz li...@brachttal.net wrote: Hi, Hi. I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? No. Just create it inside your application's code. Just include elm_widget.h, define ELM_INTERNAL_API_ARGESFSDFEFC so it won't bitch at you, and use the elm_widget_* api to assemble it, just like the other ones. Hm, but I would need to do an external to include it in edj files. I don't think this would work if I do it exclusive in my applications. How do I inform edje external about the presence of my new widget? Do I've to register it somewhere? regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, Mar 22, 2012 at 6:06 PM, Andreas Volz li...@brachttal.net wrote: Am Wed, 21 Mar 2012 18:54:39 -0300 schrieb Gustavo Chaves: On Wed, Mar 21, 2012 at 6:30 PM, Andreas Volz li...@brachttal.net wrote: Hi, Hi. I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? No. Just create it inside your application's code. Just include elm_widget.h, define ELM_INTERNAL_API_ARGESFSDFEFC so it won't bitch at you, and use the elm_widget_* api to assemble it, just like the other ones. Hm, but I would need to do an external to include it in edj files. I don't think this would work if I do it exclusive in my applications. How do I inform edje external about the presence of my new widget? Do I've to register it somewhere? Edje EXTERNAL has nothing to do with Elementary widgets. What Elementary does is to register its widgets as externals, but every library or application can do that! It is a regular shared object placed in the expected directory following the API. Consider using emotion as an example: http://trac.enlightenment.org/e/browser/trunk/emotion/src/edje_external -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, 22 Mar 2012 18:30:57 -0300 Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Thu, Mar 22, 2012 at 6:15 PM, Andreas Volz li...@brachttal.net wrote: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. Oh really? Was that a designer requirement? Can you fire the designer? :-) http://24.media.tumblr.com/tumblr_m0xzvepOGl1rrju89o1_r1_400.png Man, this is awful... wouldn't use this approach for any user interface... even more for a car (those were pictures from cars, right?) I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. Yes, you better create your own widget to do that. As said before, you can use the elm_widget API to get that, but be aware of API changes even after 1.0. To tell you the truth, what elm_widget gives you is the focus chain. If you don't need the focus chain to work, then just have an elm_layout and make it an edje, you can swallow smart objects in it, etc. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
Am Thu, 22 Mar 2012 22:54:12 +0100 schrieb Leif Middelschulte: 2012/3/22 Andreas Volz li...@brachttal.net: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. Have you had a look at the rotating knob cedric (iirc) put in as an example? Have a look at his presentation at FOSDEM. Looks to me like a job for edje maps + signals :-) No, I don't know this example. Could you give me a link? And yes, I thought about edje maps + signals. But this way I need to place each character at a fixed place on the rotary and same for the selector. As there are several different rotators (chars, special chars, language variants, numbers,...) there are need for many, many hand placed edje objects. In an special widget I would calculate the selection char position from a math calculation around the circle. Not depending on how many chars/numbers placed around given by the widget API. Or am I wrong? Is this maybe possible to solve with some LUA script inside edje? regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, 22 Mar 2012 23:27:01 +0100 Andreas Volz li...@brachttal.net wrote: Am Thu, 22 Mar 2012 22:54:12 +0100 schrieb Leif Middelschulte: 2012/3/22 Andreas Volz li...@brachttal.net: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. Have you had a look at the rotating knob cedric (iirc) put in as an example? Have a look at his presentation at FOSDEM. Looks to me like a job for edje maps + signals :-) No, I don't know this example. Could you give me a link? And yes, I thought about edje maps + signals. But this way I need to place each character at a fixed place on the rotary and same for the selector. As there are several different rotators (chars, special chars, language variants, numbers,...) there are need for many, many hand placed edje objects. In an special widget I would calculate the selection char position from a math calculation around the circle. Not depending on how many chars/numbers placed around given by the widget API. Or am I wrong? Is this maybe possible to solve with some LUA script inside edje? Yes, it could be done with Lua edje scripts, as in that case the Lua script is entirely responsible for the placement of widgets. It could do suitable maths calculations just fine. The example edje Lua script does something similar to fill up a rectangle with bubbles. Look at the bubbles/lua group in trunk/edje/src/examples/lua_script.edc. Speed is not an issue, that bubbles code is from an embedded project I'm working on that runs on a x486. Maybe showing us a video of it in use might help, but I agree with others that it looks like a hard to use user interface. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
Check trunk/EXAMPLES/elementary/volume_knob_slider from raoul. This looks very similar and I like that. Daniel Juyung Seo (SeoZ) On Fri, Mar 23, 2012 at 7:27 AM, Andreas Volz li...@brachttal.net wrote: Am Thu, 22 Mar 2012 22:54:12 +0100 schrieb Leif Middelschulte: 2012/3/22 Andreas Volz li...@brachttal.net: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. Have you had a look at the rotating knob cedric (iirc) put in as an example? Have a look at his presentation at FOSDEM. Looks to me like a job for edje maps + signals :-) No, I don't know this example. Could you give me a link? And yes, I thought about edje maps + signals. But this way I need to place each character at a fixed place on the rotary and same for the selector. As there are several different rotators (chars, special chars, language variants, numbers,...) there are need for many, many hand placed edje objects. In an special widget I would calculate the selection char position from a math calculation around the circle. Not depending on how many chars/numbers placed around given by the widget API. Or am I wrong? Is this maybe possible to solve with some LUA script inside edje? regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
Hello, On Thu, Mar 22, 2012 at 12:38 AM, Leif Middelschulte leif.middelschu...@gmail.com wrote: 2012/3/21 Daniel Juyung Seo seojuyu...@gmail.com: Oh.. Genlist is designed to handle this kind of situation without trick. It's a genlist bug. In case you have more than 34 items, genlist will handle this correctly. What an arbitraty number, isn't it?! That's due to genlist internals. Default block size(32) + additional item (1) = 33. So 1st ~ 33rd and 34th~ items will do different behavior internally. Whoever designed this needs to be spanked. I will fix this soon. (very busy at the moment.) Even in your example, it seems like it would use 'show' insted of 'bring in' (no animation). Someone broke genlist :( Genlist patches need to be reviewed intensively. If a wrong patch goes in, it's hard to fix it long time later. Genlist is kind of complicated. (not just complicated, it's chaos) So you don't even need to use realized callback. Genlist will do all the things for you. What will it do for me? I mean, I don't want to to keep scrolling to the bottom element. I want to be able to scroll the list, but make it scroll down, when a new element is inserted. You can just add an item and bring that item. Do not need to add callbacks or whatever. But only when genlist is not broken :( It was working before when I checked it last time. I attached a sample code. Thank you. Thank you, for your quick reply :-) No problem :) Daniel Juyung Seo (SeoZ) Daniel Juyung Seo (SeoZ) On Wed, Mar 21, 2012 at 11:32 PM, Leif Middelschulte leif.middelschu...@gmail.com wrote: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
On Thu, Mar 22, 2012 at 10:08 PM, Carsten Haitzler ras...@rasterman.com wrote: On Thu, 22 Mar 2012 12:15:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. That's my fault. I misunderstood the meaning of realized in the context. I thought elements would be immediately added and that the realized callback would be called once they were really added (since it's async). I came to this conclusion because of the error I noticed in elm_list (newly added item couldn't be scrolled to, because it (maybe) wasn't there yet). Anyway, is there an event, to register for that, that makes it possible to scroll the newly added element? Hello, the code as i attached it. use show or bring_in - your choice. i fixed the bug in svn. Thanks for the fix. This kind of bug is hard to be exposed before someone reports it. Daniel Juyung Seo (SeoZ) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
On Fri, Mar 23, 2012 at 12:42 AM, Leif Middelschulte leif.middelschu...@gmail.com wrote: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 12:15:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. That's my fault. I misunderstood the meaning of realized in the context. I thought elements would be immediately added and that the realized callback would be called once they were really added (since it's async). I came to this conclusion because of the error I noticed in elm_list (newly added item couldn't be scrolled to, because it (maybe) wasn't there yet). Anyway, is there an event, to register for that, that makes it possible to scroll the newly added element? the code as i attached it. use show or bring_in - your choice. i fixed the bug in svn. thanks for almost fixing the issue ;-) Hello, What I want: - Be able to scroll through the list - Scroll to a new element, when it's appended It smells like a bug in genlist. Once you scroll the list and click Add, Bring in, it will work. But when you click Add, Bring in right after the application launch, it points to a wrong item. I will to dig into this later when I have time or someone else can do this for me. Thanks. Daniel Juyung Seo (SeoZ) But the code you provided hides the issue a bit and doesn't work as you probably think it does. I attached the code to expose it. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler) ras...@rasterman.com -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, 22 Mar 2012 22:15:06 +0100 Andreas Volz li...@brachttal.net said: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. is that meant to be touch driven, or hardware dial driven? regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elm_genlist scrollto bottom
On Thu, 22 Mar 2012 16:42:32 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Thu, 22 Mar 2012 12:15:58 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Carsten Haitzler ras...@rasterman.com: On Wed, 21 Mar 2012 15:32:41 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: Hello there, thanks to mike, I switched from elm_list to elm_genlist for my little project, for which I need to scroll to the bottom most element of a list, once it's realized. Turns out that genlist can't do this, while elm_list can _if_ you iterate the main loop once. Code that demonstrates it is attached. wtf? why are u bringing in the item when its realized? the behavior is totally bunk as a result. add all the items then just bring in the last one. elm_genlist_item_show() works just fine. bring_in has a bug. attached code that works with item_show. That's my fault. I misunderstood the meaning of realized in the context. I thought elements would be immediately added and that the realized callback would be called once they were really added (since it's async). I came to this conclusion because of the error I noticed in elm_list (newly added item couldn't be scrolled to, because it (maybe) wasn't there yet). Anyway, is there an event, to register for that, that makes it possible to scroll the newly added element? the code as i attached it. use show or bring_in - your choice. i fixed the bug in svn. thanks for almost fixing the issue ;-) What I want: - Be able to scroll through the list - Scroll to a new element, when it's appended But the code you provided hides the issue a bit and doesn't work as you probably think it does. I attached the code to expose it. well i fixed the issue of brigning in new items initially added. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, 22 Mar 2012 11:20:45 -0300 Gustavo Chaves gl...@profusion.mobi said: On Thu, Mar 22, 2012 at 3:19 AM, Vincent Torri vincent.to...@gmail.comwrote: On Thu, Mar 22, 2012 at 7:09 AM, Carsten Haitzler ras...@rasterman.com wrote: On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hi, I've some special widgets which I couldn't assemble from other existing widgets (rotary). So I like to create a new one. Could you tell me the way how to do this? Should I create a new one in elementary/src/lib/ (I won't commit it without permission!) or is there some elementary-extras library in PROTO? Or should I create a private lib on top of elementary for my special widgets? depends on what your widget is exactly. u can create private widgets... but the widget api for elm is explicitly unstable (elm_widget.h) and marked and documented as such. Could someone explain me a difference between elm_*.c, elc_*.c, elu_*.c and els_*.c. Is this documented somewhere? I'm not sure which one to take as template for my new widget. elm == widgets/core elc == collection widgets - widgets that pretty much glue existing widgets together in a useful collection elu == utils els == smart objects (not widgets). that's really something to add in the documentation section, like developping your own widgets, or something like that It will be done, don't worry. if you read elm_widget.h ... you'll see its documented. it just isn't published because it is a BAD IDEA TO DO THIS. it shouldn't be encouraged. not until we have a better object model in place. tom is working on that. -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Thu, 22 Mar 2012 22:54:12 +0100 Leif Middelschulte leif.middelschu...@gmail.com said: 2012/3/22 Andreas Volz li...@brachttal.net: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. Have you had a look at the rotating knob cedric (iirc) put in as an example? Have a look at his presentation at FOSDEM. Looks to me like a job for edje maps + signals :-) that's what i was thinking andreas may have meant by rotary but its not. that knob is just a slider with a knob/circular design. andreas's thing is more like the index widget, with a circular layout. index widget is linear, not circular though, and frankly circular layouts are a real pain to do (or to do well). regards Andreas -- Technical Blog http://andreasvolz.wordpress.com/ -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] create custom elementary widget
On Fri, 23 Mar 2012 09:59:10 +0900 Carsten Haitzler (The Rasterman) ras...@rasterman.com wrote: On Thu, 22 Mar 2012 22:15:06 +0100 Andreas Volz li...@brachttal.net said: Am Thu, 22 Mar 2012 15:09:05 +0900 schrieb Carsten Haitzler (The Rasterman): On Wed, 21 Mar 2012 22:30:27 +0100 Andreas Volz li...@brachttal.net said: rotary.. what? Hmm, how should I explain it? Maybe some pictures tell more then words: http://www.vag-tec.com/public/images/pictures/2G-audi-bluetooth-large.jpg http://www.vwcruise.com/resources/mmi%2B3g%2Bphone%2Bsearch.jpg I need a widget that is able to display numbers and chars like on this picture as chooser. For sure it should be flexible for multi language input what doesn't make it easier. I don't see an option to realize this only on top of the existing widgets. If you've a better idea, please tell me. is that meant to be touch driven, or hardware dial driven? You type with your steering wheel and horn? -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world. signature.asc Description: PGP signature -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elm_map] Remove unused codes
Thanks, in SVN! http://trac.enlightenment.org/e/changeset/69571 Daniel Juyung Seo (SeoZ) On Thu, Mar 22, 2012 at 9:38 PM, Bluezery ohpo...@gmail.com wrote: Hello, Now, Elm_Map_Marker, Elm_Map_Marker_Class, Elm_Map_Group_Class, Marker_Bubble are not used anymore. So I removed all things related those in elm_map. Please review this patch. Thanks -- BRs, Kim. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] size hints
hi, I have finally created a size hints page on the wiki as I've said I would do for as long as I've been with the project, and it can now be found here: http://trac.enlightenment.org/e/wiki/SizeHints and is linked to in very large letters from the top of here: http://trac.enlightenment.org/e/wiki/DevDocs comments/rages welcome -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] size hints
Like. On Fri, Mar 23, 2012 at 11:46 AM, Michael Blumenkrantz michael.blumenkra...@gmail.com wrote: hi, I have finally created a size hints page on the wiki as I've said I would do for as long as I've been with the project, and it can now be found here: http://trac.enlightenment.org/e/wiki/SizeHints and is linked to in very large letters from the top of here: http://trac.enlightenment.org/e/wiki/DevDocs comments/rages welcome -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] size hints
I'm loving it! Great job! Thanks. Daniel Juyung Seo (SeoZ) On Fri, Mar 23, 2012 at 11:46 AM, Michael Blumenkrantz michael.blumenkra...@gmail.com wrote: hi, I have finally created a size hints page on the wiki as I've said I would do for as long as I've been with the project, and it can now be found here: http://trac.enlightenment.org/e/wiki/SizeHints and is linked to in very large letters from the top of here: http://trac.enlightenment.org/e/wiki/DevDocs comments/rages welcome -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] size hints
There are somethings to be improved, but it's a start and will motivate me to help. Thanks :-) On Thursday, March 22, 2012, Michael Blumenkrantz michael.blumenkra...@gmail.com wrote: hi, I have finally created a size hints page on the wiki as I've said I would do for as long as I've been with the project, and it can now be found here: http://trac.enlightenment.org/e/wiki/SizeHints and is linked to in very large letters from the top of here: http://trac.enlightenment.org/e/wiki/DevDocs comments/rages welcome -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch][elm_map] Bug fix
Hello, This is simple bug fix patch Callback parameter should be Widget_Data, not Evas_Object. Thanks. -- BRs, Kim. Index: src/lib/elm_map.c === --- src/lib/elm_map.c (리비전 69574) +++ src/lib/elm_map.c (작업 사본) @@ -4284,9 +4284,9 @@ elm_map_wheel_disabled_set(Evas_Object * EINA_SAFETY_ON_NULL_RETURN(wd); if ((!wd-wheel_disabled) (disabled)) - evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); + evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, wd); else if ((wd-wheel_disabled) (!disabled)) - evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, obj); + evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_WHEEL, _mouse_wheel_cb, wd); wd-wheel_disabled = !!disabled; #else (void) obj; -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Genlist] Tree effect bug fix
I changed the code for performance. 2012/3/22 chanwook jung jchanw...@gmail.com I modified code for target. 2012/3/22 chanwook jung jchanw...@gmail.com I make new one using _item_position and resolved blank bug. Please review again. Thanks Joey 2012/3/21 Daniel Juyung Seo seojuyu...@gmail.com I got issue when I applied this patch. When I expanded items in the lower part, I got some blank items after auto scrolling. Can you please fix this? And I have one comment. Instead of this, evas_object_resize(VIEW(it), it-item-w, it-item-h); evas_object_move(VIEW(it), it-item-scrl_x, it-item-scrl_y); evas_object_show(VIEW(it)); You can use _item_position(). Thank you. Daniel Juyung Seo (SeoZ) On Mon, Mar 19, 2012 at 4:27 PM, chanwook jung jchanw...@gmail.com wrote: Dear all, I found some bugs in tree effect. flickering, emit signal to unrealize item... so I fix it. Thanks, Chanwook -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel Index: src/lib/elm_genlist.c === --- src/lib/elm_genlist.c (revision 69571) +++ src/lib/elm_genlist.c (working copy) @@ -77,6 +77,7 @@ struct Elm_Gen_Item_Type Eina_Bool move_effect_enabled : 1; Eina_Bool decorate_mode_item_realized : 1; Eina_Bool tree_effect_finished : 1; /* tree effect */ + Eina_Bool tree_effect_hideme : 1; /* item hide for tree effect */ }; struct _Item_Block @@ -2179,7 +2180,15 @@ _item_realize(Elm_Gen_Item *it, //evas_event_thaw(evas_object_evas_get(it-wd-obj)); //evas_event_thaw_eval(evas_object_evas_get(it-wd-obj)); if (!calc) - evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it); + { +if (it-item-tree_effect_hideme) + { + if (it-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE) + edje_object_signal_emit(VIEW(it), elm,state,hide, ); + it-item-tree_effect_hideme = EINA_FALSE; + } +evas_object_smart_callback_call(WIDGET(it), SIG_REALIZED, it); + } if ((!calc) (it-wd-decorate_mode) (it-item-type != ELM_GENLIST_ITEM_GROUP)) { @@ -2482,13 +2491,19 @@ _item_block_position(Item_Block *itb, it-item-scrl_y); else { - if (it-item-mode_view) - _item_position(it, it-item-mode_view, - it-item-scrl_x, - it-item-scrl_y); - else - _item_position(it, VIEW(it), it-item-scrl_x, - it-item-scrl_y); + if (!it-wd-tree_effect_enabled || + (it-wd-move_effect_mode == ELM_GENLIST_TREE_EFFECT_NONE) || + ((it-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE) + (it-item-old_scrl_y == it-item-scrl_y))) + { + if (it-item-mode_view) +_item_position(it, it-item-mode_view, + it-item-scrl_x, + it-item-scrl_y); + else +_item_position(it, VIEW(it), it-item-scrl_x, + it-item-scrl_y); + } } it-item-old_scrl_y = it-item-scrl_y; } @@ -2991,6 +3006,19 @@ _pan_calculate(Evas_Object *obj) { git-item-want_realize = EINA_FALSE; } + + if (sd-wd-tree_effect_enabled (sd-wd-move_effect_mode != ELM_GENLIST_TREE_EFFECT_NONE)) + { +if (!sd-wd-tree_effect_animator) + { +
Re: [E-devel] create custom elementary widget
On Fri, 23 Mar 2012 11:02:09 +1000 David Seikel onef...@gmail.com said: You type with your steering wheel and horn? that'd explain the kind of driving i see in korea. :) -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elm_map] Bug fix
This patch seems to change behaviour of the callbacks, by returning a different callback param. Widget_Data makes sense, but are you sure it doesn't affect exisiting users of this API ? On Fri, Mar 23, 2012 at 1:00 PM, Bluezery ohpo...@gmail.com wrote: Hello, This is simple bug fix patch Callback parameter should be Widget_Data, not Evas_Object. Thanks. -- BRs, Kim. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elm_map] Bug fix
On Fri, 23 Mar 2012 14:16:40 +0900 Sanjeev BA eflel...@gmail.com said: no - its callbacks that are internal - not called TO api users. this patch is fine. This patch seems to change behaviour of the callbacks, by returning a different callback param. Widget_Data makes sense, but are you sure it doesn't affect exisiting users of this API ? On Fri, Mar 23, 2012 at 1:00 PM, Bluezery ohpo...@gmail.com wrote: Hello, This is simple bug fix patch Callback parameter should be Widget_Data, not Evas_Object. Thanks. -- BRs, Kim. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- - Codito, ergo sum - I code, therefore I am -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel