Commit Graph

1808 Commits

Author SHA1 Message Date
Bruno Dilly 7ee0a5d64e Unpacking objects from holder table on elm config
Avoid packing object already packed when flipping



SVN revision: 54402
2010-11-10 12:11:28 +00:00
Bruno Dilly 3f8dbd2eb6 Add missing getters to elm_table
For padding and homogenous



SVN revision: 54399
2010-11-10 11:36:58 +00:00
Bruno Dilly 6e22d984ae Document recently added scroll,edge,X signals to elm_genlist
SVN revision: 54394
2010-11-10 03:01:15 +00:00
Bruno Dilly 715dbba805 This small patch allows to get a smart callback when the scrollers in an
elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
signals, backporting them to the list object.

The new smart callbacks called are:
 · "scroll,edge,top" - the list is scrolled until the top edge
 · "scroll,edge,bottom" - the list is scrolled until the bottom edge
 · "scroll,edge,left" - the list is scrolled until the left edge
 · "scroll,edge,right" - the list is scrolled until the right edge

SVN revision: 3



SVN revision: 54393
2010-11-10 02:48:59 +00:00
Bruno Dilly 6d30d387e8 Removing more_item from wd->items on elm_toolbar
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54385
2010-11-09 21:21:46 +00:00
Bruno Dilly 37a717a578 Change diskpicker items functions names
elm_diskpicker_item_prev/next ->
elm_diskpicker_item_prev_get/next_get

elm_diskpicker_item_selected_set(it) ->
elm_diskpicker_item_selected_set(it, bool selected)

elm_diskpicker_item_selected_get(obj) ->
elm_diskpicker_selected_item_get(obj)

Added bool elm_diskpicker_item_selected_get(it)
      item elm_diskpicker_first_item_get
      item elm_diskpicker_last_item_get



SVN revision: 54379
2010-11-09 20:27:32 +00:00
Bruno Dilly 317226eef6 Fix ingroup in elm_toolbar doc
SVN revision: 54378
2010-11-09 20:27:07 +00:00
Bruno Dilly 9d43ab9489 Change flippicker items functions names
elm_flippicker_item_prev/next -> elm_flippicker_item_prev_get/next_get
elm_flippicker_item_selected_set(it) ->
   elm_flippicker_item_selected_set(it, bool selected)

Added bool elm_flippicker_item_selected_get(it)



SVN revision: 54377
2010-11-09 20:26:47 +00:00
Bruno Dilly 8cbad3de66 Fix flippicker item selection
SVN revision: 54376
2010-11-09 20:26:22 +00:00
Bruno Dilly 1537411088 Add test for flippicker select / get items functions
It spots a bug on item selection



SVN revision: 54375
2010-11-09 20:25:57 +00:00
Bruno Dilly 681443ff0a Remove const from flippicker item functions return
SVN revision: 54374
2010-11-09 20:25:32 +00:00
Bruno Dilly 90dd15d911 Blacklist some false positives on elm test_setter.sh
SVN revision: 54373
2010-11-09 20:22:44 +00:00
Sebastian Dransfeld e3afcd4d8f Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Rafael Fonseca f01cc6f291 Respect finger size on elm_index widget.
SVN revision: 54370
2010-11-09 18:20:43 +00:00
Tiago Rezende Campos Falcao ece784efa9 Fix widgets in small finger size.
Fixed widgets:
* Button
* Diskpicker
* Radio
* Check
* Toggle

SVN revision: 54369
2010-11-09 18:17:24 +00:00
Carsten Haitzler 1fcddfebdb fix valgrind problems with elm menu. oooh not tracking things right.
bad elm menu! bad!



SVN revision: 54362
2010-11-09 10:41:09 +00:00
Carsten Haitzler 2fae4544b9 oops! item cache... has a bug. didnt actually delete old cb's.. was
edeleting from null! fix!



SVN revision: 54358
2010-11-09 06:28:26 +00:00
Carsten Haitzler 78cc8ef853 idea from seokjae but majorly changed patch - use on_hold as
originally intended for holding actions in this case, and also add
momentum acceleration at the same time.



SVN revision: 54356
2010-11-09 06:07:07 +00:00
Carsten Haitzler ba1745c1db get rid of carousel - empty junk we dont need.
SVN revision: 54354
2010-11-09 05:00:49 +00:00
Carsten Haitzler e7b5941a4b patch from ChunEon Park <chuneon.park@samsung.com> with formatting
fixes, compile fixes etc. etc. as well as a general cleanup of header
and location of typedefs and so on.



SVN revision: 54353
2010-11-09 04:58:54 +00:00
Bruno Dilly 0f4950bb1d Getting toolbar icon size in theme.
Uses icon_size from elm_config as fallback.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54347
2010-11-08 19:59:22 +00:00
Bruno Dilly 998d6de755 Adding functions to toolbar to set icon lookup order
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54346
2010-11-08 19:58:46 +00:00
Bruno Dilly a1b70711a7 Searching for icons in theme before fdo by default
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54345
2010-11-08 19:57:57 +00:00
Bruno Dilly b6002551fd Check for functions _elm_XXX_get on test_setter script
To avoid false positive on functions like elm_widget_item_cursor_get



SVN revision: 54337
2010-11-08 17:47:12 +00:00
Bruno Dilly 4cfed9e8c0 Remove hardcoded max icon size restrition on toolbar
If it was added to mask a bug, we are unmasking it, so we can
solve it and use the toolbar for programs that want more than
48 pixels.



SVN revision: 54336
2010-11-08 17:25:06 +00:00
Bruno Dilly e6178d5892 Checking widtype on eapi elm_toolbar_item_label_set
SVN revision: 54335
2010-11-08 16:55:26 +00:00
Bruno Dilly 69159eff55 Include toolbar_item_state_del on Elm.h
SVN revision: 54334
2010-11-08 16:44:31 +00:00
Bruno Dilly a737b92bd3 Adding some missing const on getters on elm
SVN revision: 54333
2010-11-08 16:39:07 +00:00
Bruno Dilly 093996bb5c elm_genlist longpressed signal documentation
By: 서주영 <juyung.seo@samsung.com>



SVN revision: 54329
2010-11-08 14:07:33 +00:00
Carsten Haitzler 99bda9b91d no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54299
2010-11-08 05:51:19 +00:00
Carsten Haitzler fc2ce6239b oops printf--
SVN revision: 54286
2010-11-08 05:38:53 +00:00
Carsten Haitzler a2afe41e34 fmting
SVN revision: 54285
2010-11-08 04:39:56 +00:00
Carsten Haitzler 703029e033 fix bug in glenlist 4 - item update. updates item vanishes.
SVN revision: 54284
2010-11-08 04:33:34 +00:00
Carsten Haitzler 84d429884f allo icons to be orphaned
SVN revision: 54218
2010-11-06 07:05:00 +00:00
Carsten Haitzler 957db2c37e back to 2000 items in test.
SVN revision: 54216
2010-11-06 06:19:05 +00:00
Carsten Haitzler 5b86ca6447 unrealized callback too.
SVN revision: 54215
2010-11-06 06:14:21 +00:00
Carsten Haitzler a43c1d9ed1 improve genlist item realize/nrealize by almost 2x. (4.7->2.7 sec for
processing of a genlist queue of 20,000 items). added genlist item
cache to do this. yay!. also wil improve runtime scrolling -
realiz/unrealize will be also equivalently faster, so less add/del
overhead for the edje objects in gnelist itself. the icons that apps
swallow in still get deleted and created. this is another matter for
anothr day. ant be solved inside of genlist itself. probably need an
unrealize callback per item and a way to steal your icons back from
the item.



SVN revision: 54214
2010-11-06 06:02:22 +00:00
Bruno Dilly 8e67572fad Fixing comments in gengrid.
By: Otavio Pontes <otavio@profusion.mobi



SVN revision: 54191
2010-11-05 18:25:04 +00:00
Bruno Dilly 90d1ad6b4c Emit different signals when changing states forward or backward.
This is used to perform diferent animations when going forward or
backward.

By:  Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54190
2010-11-05 18:23:59 +00:00
Bruno Dilly 8538a6fe3f Adding a no select mode to toolbar.
In no select mode, toolbar items don't stay selected after click.


SVN revision: 54189
2010-11-05 18:23:15 +00:00
Bruno Dilly 53aba73f94 Loading icon image from files if absolute path is provided
By: Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54188
2010-11-05 18:22:42 +00:00
Bruno Dilly 8a118ee12e Don't show more menu if there is only one button in it.
If there is only one item inside more menu and if this item is smaller
than more item, the toolbar wont show the more menu.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54187
2010-11-05 18:21:01 +00:00
Carsten Haitzler caaa5fb709 oops - printf--
SVN revision: 54175
2010-11-05 11:02:52 +00:00
Carsten Haitzler 2241b00d79 fix genlist bug - was MEANT to realzie items as they appear - it
realized a whole block. fix.



SVN revision: 54174
2010-11-05 11:02:08 +00:00
Carsten Haitzler e60e467053 fmting.
SVN revision: 54172
2010-11-05 09:44:05 +00:00
Carsten Haitzler c08c722195 do scale right for toolbar...
SVN revision: 54171
2010-11-05 09:43:13 +00:00
Davide Andreoli 2abf567a5f Make the scroller more "weighted" (or hard-to-drag) while you drag it
out of bounds, that is when the content is finished. In this way
 the user note that the content is at the end.

 All the others finger-scroll implementation (iphone,android) works this way ;)

 This is configurable by the 'thumbscroll_border_friction' config value,
 and by the 'ELM_THUMBSCROLL_BORDER_FRICTION' var.
 0.0 means: disable the friction
 0.5 is the default
 1.0 means: maximum friction

 I have tested this with every scroller in elm_test and seems to work
 well in all the occurence, if you see somthing strange in some scroller
 please let me know.

 DaveMDS
  



SVN revision: 54170
2010-11-05 09:31:51 +00:00
Carsten Haitzler 5400a9a7f1 elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).



SVN revision: 54169
2010-11-05 08:37:31 +00:00
Bruno Dilly 7db634e8f9 Fix missing ingroups on elm_layout docs
SVN revision: 54165
2010-11-05 00:47:19 +00:00
Bruno Dilly 7c5152ef83 Add cursor getters for elm widgets and items
SVN revision: 54164
2010-11-05 00:46:54 +00:00