Commit Graph

5230 Commits

Author SHA1 Message Date
Jaime Thomas 3e1edbcf4f Match the other changes.
SVN revision: 39221
2009-02-25 23:17:01 +00:00
Gustavo Sverzut Barbieri d7829ccd3c use EINA_LIST_FREE()
This macro helps releasing a list of elements in efficient and safe way.



SVN revision: 39217
2009-02-25 20:18:38 +00:00
Gustavo Sverzut Barbieri d1d91b99df Move eina list iterations to EINA_LIST_FOREACH variants.
By using these macros we can avoid errors and if we need to change
things, we do just in the macro definitions.



SVN revision: 39216
2009-02-25 19:50:45 +00:00
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 647ef9e4f0 that was silly. actually assign the val
SVN revision: 39204
2009-02-25 11:27:01 +00:00
Carsten Haitzler da3167a027 fix finger size scale with ql
SVN revision: 39203
2009-02-25 11:19:49 +00:00
Carsten Haitzler f7a18a3db9 add quicklauncher infra! elementary_testql uses this infra.
SVN revision: 39199
2009-02-25 11:00:07 +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 e6b518e7af comment--
SVN revision: 39175
2009-02-24 11:59:51 +00:00
Carsten Haitzler 03f44c4768 genlist theme issue - fixed.
SVN revision: 39174
2009-02-24 11:58:52 +00:00
Carsten Haitzler 7e31e6d212 radio widget working.
SVN revision: 39173
2009-02-24 09:23:51 +00:00
Carsten Haitzler 5a806c775b oops - how did that happen? no get state for toggle and check. added.
SVN revision: 39169
2009-02-24 01:23:18 +00:00
Carsten Haitzler 26310ad463 check looks good-ish now.
SVN revision: 39164
2009-02-23 13:30:31 +00:00
Carsten Haitzler fa0c07db79 todo stuff
scroller segv fix (list showed it).
check theme item placeholder. doing gfx.



SVN revision: 39161
2009-02-23 11:40:24 +00:00
Carsten Haitzler be9254a478 add ability for apps to extend their theme (adding more styles) or overlay it
forcibly (with their own customtheme implementing custom modifications of
their own).



SVN revision: 39158
2009-02-23 08:40:58 +00:00
Carsten Haitzler 87f728b766 begin check widget work, and make elm_theme use a path like normal unix paths
do with : - allow relative, absolute and ~/ files. otherwise as before.



SVN revision: 39156
2009-02-23 08:05:05 +00:00
Carsten Haitzler 15b7022242 a specific test for update and multiple/different icons etc.
SVN revision: 39108
2009-02-20 01:07:21 +00:00
Carsten Haitzler 2d303c2ce7 and demo focusing a specific widget, not just the first.
SVN revision: 39090
2009-02-19 07:05:12 +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 eb9349e44b oops- didnt add sub obj!
SVN revision: 39076
2009-02-18 07:10:42 +00:00
Carsten Haitzler d88c4d4cab make finger size match docs!
SVN revision: 39075
2009-02-18 05:32:47 +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 4aff7b184a handle errors and use eina error print.
SVN revision: 39066
2009-02-18 00:29:07 +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 8c6bdc7d38 images++
SVN revision: 38981
2009-02-09 12:48:29 +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
Carsten Haitzler a86ca90a14 horizontal is there. but man does it look wrong. need todo theme work.
SVN revision: 38973
2009-02-08 12:45:52 +00:00
Carsten Haitzler 55055feb3e slider... horizontal only done right now - but complete. looks decent methinks.
SVN revision: 38972
2009-02-08 12:34:58 +00:00
Cedric BAIL f53b4bea0f * elementary/configure.in,
* elementary/data/themes/Makefile.am,
	* elementary/data/objects/Makefile.am: Make configurable edje_cc binary (usefull when cross compiling).

	* elementary/src/lib/Elementary.h.in: Make libintl.h optional.



SVN revision: 38948
2009-02-05 10:23:04 +00:00
Carsten Haitzler a8043c0af7 and freee font path too.
SVN revision: 38915
2009-02-03 10:28:52 +00:00
Carsten Haitzler 77a09c957a env vars for font path, image and font cache and even font hintingt
SVN revision: 38914
2009-02-03 10:27:52 +00:00
Carsten Haitzler 40029378de remove a todo item
SVN revision: 38911
2009-02-03 05:54:46 +00:00
Carsten Haitzler 986fcca059 allow for all widgets.objects to have different scaling factors.
add tests for these
add tests for inheriting scaling factor from parent
fix test app to use list now instead of box+buttons (cleaner)



SVN revision: 38909
2009-02-03 05:09:03 +00:00
Carsten Haitzler 680daaa606 update .h.in todo
SVN revision: 38867
2009-01-31 23:23:51 +00:00
Carsten Haitzler 54f10e837c fix leak - no cleanup items in toolbar.
SVN revision: 38823
2009-01-28 00:48:43 +00:00
Carsten Haitzler 2706ed3038 add styles for inwin for mininmal and minimal_vertical
SVN revision: 38821
2009-01-28 00:28:20 +00:00