Commit Graph

520 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 47c6288efc Safer use of Eina_Inlist.
Avoid doing casts on it, use EINA_INLIST to define the struct and
EINA_INLIST_GET() to access members, this way if you misused the types
compiler will be able to warn you.

Move most Eina_Inlist loops to EINA_INLIST_FOREACH(), this way it is
more clear and if we want to change something we just change the
macro.

Needs new code in Eina!!! (fix EINA_INLIST_GET() macro)



SVN revision: 39209
2009-02-25 16:22:29 +00:00
Gustavo Sverzut Barbieri 2e62b41b1b major warning + cast cleanup.
* casts: remove internal "Item" and use "Elm_XXXX_Item" for carousel,
   list, genlist and toolbar.

 * warning: fix const on lots of getter apis, the object should be
   const, and not the return! Of course lists that are returned and
   are not supposed to be modified are still returned as const, but
   maybe we should return iterators!

 * list/genlist: fix selected_set() to be a bit (marginally)
   faster. Do not operate if state has not changed and if it did
   changed we're sure we're not in the object->selected list.




SVN revision: 39208
2009-02-25 15:54:26 +00:00
Carsten Haitzler 017cc96515 fix next/prev bug.
SVN revision: 39186
2009-02-25 00:41:57 +00:00
Carsten Haitzler 31c76226ea and fix some genlist bugs i spotted!
SVN revision: 39177
2009-02-24 13:08:21 +00:00
Carsten Haitzler 8af44b2483 and back to 10k test, and only insert 8 items from the queue at a time.
SVN revision: 39089
2009-02-19 06:29:07 +00:00
Carsten Haitzler 20ab3d1d84 printf--
SVN revision: 39088
2009-02-19 06:02:56 +00:00
Carsten Haitzler 78b673c9cb fix some insertion/append/prepend stuff. wasn't working. hunted bug. now
insert queue is slow. need to check.



SVN revision: 39086
2009-02-19 04:37:06 +00:00
Carsten Haitzler f9fb1d3f0f make scroller stay in the exact pixel pos when resizign - unless at the end.
SVN revision: 39080
2009-02-18 13:42:56 +00:00
Carsten Haitzler cab8dc9942 handle dynamic theme and scale changes in genlist
SVN revision: 39079
2009-02-18 13:13:10 +00:00
Carsten Haitzler 145967f4ee insert and prepend calls work... at least in my tests.
SVN revision: 39077
2009-02-18 12:41:45 +00:00
Carsten Haitzler f5ae19e69f genlist items can enable/disable
SVN revision: 39074
2009-02-18 04:51:22 +00:00
Carsten Haitzler 385fcff490 add clear call. fix free to have less leaks
SVN revision: 39073
2009-02-18 04:27:49 +00:00
Carsten Haitzler 0c40d9a0a8 fix up some dynamic add/del and showing code.
SVN revision: 39072
2009-02-18 04:18:25 +00:00
Carsten Haitzler d6c75b5cad more genlist work.
SVN revision: 39059
2009-02-17 14:39:08 +00:00
Carsten Haitzler 00f0b4c9cc more genlist testing - deletign items works. not perfect - but working... in
small tests.



SVN revision: 39056
2009-02-17 07:50:35 +00:00
Carsten Haitzler 1d36bea662 use new fill mode, fix bug in object tracking and deletion - nasty one. more
genlist work too.



SVN revision: 39021
2009-02-15 02:53:56 +00:00
Carsten Haitzler bb9742a604 more work on genlist!
SVN revision: 39002
2009-02-12 13:39:43 +00:00
Carsten Haitzler 1099280784 fix some min size calc issues.
fix some theme size calc issues
make all widgets able to... do finger size! this way a ui can be tweaked with
1 value (finger size) if it is to be finger or mouse/stylus driven. and it
was so simple to add in.
work on genlist - beginning to display items and scroll.



SVN revision: 38995
2009-02-11 11:49:43 +00:00
Carsten Haitzler fc5d7b65e9 adjust slider theme a bit and test app. some skleton work on genlist.
SVN revision: 38992
2009-02-10 11:57:47 +00:00
Carsten Haitzler 86ebf4591c more work on slider - i think its complete now vertical mode works. might be
some buglts to clear up though.
fix scroller to scroll only at animator framerate.. using an animator making
scrolling much better.
begin genlist (geeric but complicated) list.



SVN revision: 38979
2009-02-09 11:23:59 +00:00