Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-28 Thread Michaël Bouchaud
Ok I go with genlist :) 2012/5/26 Carsten Haitzler ras...@rasterman.com On Sat, 26 May 2012 01:16:36 +0200 Michaël Bouchaud y...@efl.so said: my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-25 Thread Michaël Bouchaud
So what name could I use elm_gengrid_item_append_with_item_type, elm_gengrid_item_sorted_insert_with_item_type, ??? sorry but this week, I'm really out of inspiration ^^ 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com That was our first attempt. Anyhow gengrid will be merged into genlist

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-25 Thread Michaël Bouchaud
just kidding... But, I really need a way how to do this patch.In my point of view, use elm_gen_item_* API is the way how to patch it. I have a plan to make elm_genlist and elm_gengrid compliant with a elm_gen_item api, with some hooks (need to think about it... but really realisable with few

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-25 Thread Michaël Bouchaud
my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for elm_gen_item 2012/5/26 Michaël Bouchaud y...@efl.so just kidding... But, I really need a way how to do this patch.In my point of view, use elm_gen_item_* API is

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-25 Thread Michaël Bouchaud
Sure, the code between these layouts will not be merged in my plan 2012/5/26 Michaël Bouchaud y...@efl.so my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for elm_gen_item 2012/5/26 Michaël Bouchaud

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-25 Thread The Rasterman
On Sat, 26 May 2012 01:16:36 +0200 Michaël Bouchaud y...@efl.so said: my plan in exemple ... g = elm_gen_add(o); elm_gen_type_set(g, ELM_GEN_TYPE_LIST/GRID); and use elm_genlist_item as models .for elm_gen_item i don't see the use of that really. ultimately make just genlist BE gengrid.

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-24 Thread Michaël Bouchaud
Ok how to proceed create new one or break it ? I really dreams about a merge of elm_genlist_item and elm_gengrid_item apis into gen_item apis 2012/5/23 Carsten Haitzler ras...@rasterman.com On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-24 Thread Daniel Juyung Seo
yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not merged in elm 1.0. i am really sorry for that. On May 25, 2012 9:56 AM, Michaël Bouchaud y...@efl.so wrote: Ok how to proceed create new one or break it ?

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-24 Thread Michaël Bouchaud
So why not create a new prototype set of elm_gen_item apis and use it for gengrid. That's my question ? 2012/5/25 Daniel Juyung Seo seojuyu...@gmail.com yes the problem is that we need to break apis or add inconsistent apis. absolutely we cant break apis. anyhow genlist and gengrid were not

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-24 Thread Daniel Juyung Seo
That was our first attempt. Anyhow gengrid will be merged into genlist so we do not need to add up temporary api sets. That's why we removed elm_gen_xxx apis. Maybe the merge will be done before elm 2.0? Daniel Juyung Seo (SeoZ) On Fri, May 25, 2012 at 10:25 AM, Michaël Bouchaud y...@efl.so

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-23 Thread The Rasterman
On Wed, 9 May 2012 16:11:45 +0200 Michaël Bouchaud y...@efl.so said: 2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Ho damn ! I had in mind, that you will merge genlist and gengrid when I wrote this patch. As you said, we need to fix it with an item type enum. And use the same api like

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-09 Thread Michaël Bouchaud
2012/5/8 Daniel Juyung Seo seojuyu...@gmail.com Oh my god. Sorry to say this too late but this is wrong :( + item-is_group = !strcmp(item-gic-item_style, group_index); Group has to be another type of item which introduces item type enum. Parsing item style name is not good. We can't have

Re: [E-devel] E SVN: yoz IN trunk/elementary: data/themes/widgets src/bin src/lib

2012-05-08 Thread Daniel Juyung Seo
Oh my god. Sorry to say this too late but this is wrong :( + item-is_group = !strcmp(item-gic-item_style, group_index); Group has to be another type of item which introduces item type enum. Parsing item style name is not good. We can't have another group index style... We can't fix this now