Commit Graph

131 Commits

Author SHA1 Message Date
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Cedric BAIL 1b16692029 elementary: cleanup a little bit the slideshow.
SVN revision: 64061
2011-10-14 05:21:55 +00:00
ChunEon Park b80a338147 elementary/slideshow - removed white space and shadow var. fixed indentation
SVN revision: 62909
2011-08-28 07:18:28 +00:00
Michael BOUCHAUD ac5468e003 elementary: slideshow fix cache build
SVN revision: 62859
2011-08-26 13:54:12 +00:00
Gustavo Lima Chaves 4619bd37a5 [elementary] Documentation for the slideshow widget.
SVN revision: 61813
2011-07-27 19:38:43 +00:00
Daniel Juyung Seo 5aaefc4e46 Elementary slideshow: Fixed warnings. Removed unnecessary line.
SVN revision: 59309
2011-05-10 12:59:57 +00:00
Michael BOUCHAUD 874f8d098e elementary: add 2 method to slideshow item_nth_get and count_get
SVN revision: 59308
2011-05-10 09:06:51 +00:00
Michael BOUCHAUD c3ce0db67a elementary: fix slideshow with loop attribute set to false
SVN revision: 59307
2011-05-10 08:38:02 +00:00
Daniel Juyung Seo 742c6189bb Elementary slideshow: Fixed doxygen typo.
SVN revision: 59254
2011-05-06 23:29:55 +00:00
Michael BOUCHAUD 9647cbcdd6 elementary: add item_sorted_insert in slideshow
SVN revision: 59239
2011-05-06 10:22:32 +00:00
Daniel Juyung Seo 929052b111 Elementary slideshow: Fixed warnings, fixed spacing and removed unnecessary blank lines.
SVN revision: 58826
2011-04-22 12:06:00 +00:00
Michael BOUCHAUD f58b34afea elementary: add the possibility to set the amount of cached items in a slideshow
SVN revision: 58821
2011-04-22 09:19:25 +00:00
ChunEon Park 9420b44918 elementary/segment_control, panes, photocam, photo, win, toolbar, thumb, slideshow, spinner - updated signal callbacks.
made them use signal callbacks description table. 
removed never-called signals
updated doxygen. 




SVN revision: 58816
2011-04-22 00:42:32 +00:00
ChunEon Park 902a467b7e Elementary / genlist, slider, radio, win toolbar, thumb, toggle, scroller, slideshow, spinner
updated signall callback list in each doxygen 



SVN revision: 58342
2011-04-05 02:04:28 +00:00
ChunEon Park 711b428aae elementary / slider, radio, separator, photocam, photo, store, scroller, slideshow, spinner, progressbar - removed white spacesw
SVN revision: 58250
2011-04-01 11:24:15 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
Daniel Juyung Seo 11033734f3 Elementary doxygen: Fixed for the consistency with the other widget's
document format.

Patch by Jihoon Kim <jihoon48.kim@samsung.com>


SVN revision: 58007
2011-03-23 00:40:47 +00:00
Tom Hacohen c04d8990f0 Elementary: Added on-the-fly UI-mirroing support to all of the widgets
SVN revision: 56846
2011-02-09 16:14:02 +00:00
Michael BOUCHAUD 324ba596d5 elementary: use the right item for event when the slideshow item change
SVN revision: 56824
2011-02-08 22:23:00 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Michael BOUCHAUD 1b6d65550b elementary: add a smart callback to slideshow to be notified when current item change
SVN revision: 56336
2011-01-27 22:58:28 +00:00
Michael BOUCHAUD 338cd44b00 elementary: and this fix me :p
SVN revision: 56245
2011-01-20 20:07:57 +00:00
Michael BOUCHAUD 3ce02c7b92 elementary: fix bug on keyboard events in slideshow timeout are not respected
SVN revision: 56243
2011-01-20 19:44:12 +00:00
Jihoon Kim a9b51873bd From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] Change the second parameter type of
elm_slidershow_timeout_set

Most of APIs related to timeout_set / get uses double type as parameter,
but elm_slidershow uses integer type.

For uniformity, the second parameter type of elm_slideshow_timeout_set
is changed into double type.



SVN revision: 56015
2011-01-10 05:27:15 +00:00
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +00:00
Tiago Rezende Campos Falcao a609cc1b69 Elementary patch for supporting keypad
Author: Jihoon Kim <jihoon48.kim@samsung.com>

SVN revision: 55062
2010-11-29 13:56:33 +00:00
Tiago Rezende Campos Falcao 60b1523200 Add checkers to slidershow items
SVN revision: 54096
2010-11-02 11:27:04 +00:00
Tiago Rezende Campos Falcao 15d0643b10 Getters should received const pointers
Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874
2010-10-25 14:34:22 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Tiago Rezende Campos Falcao f05ae82f73 Missing EAPI
SVN revision: 53771
2010-10-22 16:40:50 +00:00
Bruno Dilly fcccd7dd5a Clean elm of null pointers dereferences
SVN revision: 53399
2010-10-14 14:12:26 +00:00
Tiago Rezende Campos Falcao 59e7d34f2c slider, slideshow and spinner with keyboard arrows
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

elm_slider now respond to the keyborad arrows depends on its position.
If it is in a horizontal mode, than its value will change by pressing
left and right, other wise it will respond by pressing up and down

elm_slideshow: go to next and previous with keyboard arrows

elm_spinner: respond to left and right keys in an animated way

SVN revision: 52816
2010-09-27 21:13:41 +00:00
Tiago Rezende Campos Falcao 68c1638c16 Focus suport for some widgets
Widgets:
* check
* radio
* slider
* toggle
* spinner
* slideshow

Author:    Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 52599
2010-09-22 17:45:46 +00:00
Carsten Haitzler 68f5b4119b oooh big cleanup. internal elm widget api cleaned up a bit.
SVN revision: 52178
2010-09-13 07:56:23 +00:00
Gustavo Sverzut Barbieri 9ed8bf92be Use elm_widget_item common base.
This patch changes all Elm_*_Item to use new infrastructure of
Elm_Widget_Item. This patch is basically a find-and-replace, but even
that was a bit tricky since every code had different names for the
same things, particularly for "view" and "widget" the names ranged
from "o"/"obj" to "base"/"o", quite confusing!

It is worth noting that Genlist and variants that adopted its "item
class" style such as Gengrid and Slideshow already provide a "del()"
callback there and I'm keeping them, however we should reconsider if
it is good to remove them and use elm_widget_item_del_cb_set()
instead. The drawback is that onde would have to set it, while the
other is done automatically when you create the object with the
class. Nonetheless this patch already introduces support to use
elm_widget_item_pre_notify_del(), but it will be void in such code as
nobody ever sets it.

Some new setters and getters were introduced to normalize code... and
they would be required once people write python-bindings for them,
like index and carousel.




SVN revision: 52118
2010-09-10 02:05:45 +00:00
Christopher Michael bc583d718c Lots of fixes:
Add UNUSED where needed.
  Remove unused variables.
  Fix lots of compiler warnings.
  Formatting.



SVN revision: 51320
2010-08-18 19:18:42 +00:00
Lucas De Marchi 54531a69ed FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Nicolas Aguirre 16dd75499b Enable transition between previous item and the current when elm_slideshow_show is called.
SVN revision: 50431
2010-07-22 16:13:40 +00:00
Jonathan Atton 17288ba690 elm_slideshow:
* remove printf
* no more realize the current item in item_add(). The last item is always and it is the previous item of the first item, consequently a new item was built each time a item vas added :/

SVN revision: 50386
2010-07-20 18:30:22 +00:00
Jonathan Atton c2ad5fd00c elm_slideshow: pre-calcul the next and the previous items, very usefull if the object is big (like a photo)
SVN revision: 50385
2010-07-20 18:26:22 +00:00
Jonathan Atton a9538e68d0 elm_slideshow: use itc-del to delete the data and not the object.
SVN revision: 50383
2010-07-20 16:36:31 +00:00
Jonathan Atton 2ad9cb0ad5 Elm_Slideshow : rollback, remove the possibility to have more than 1 item display at the same time. We need a specific widget to do this with specifics animations.
SVN revision: 50269
2010-07-15 17:09:59 +00:00
Jonathan Atton 974c982095 Elm_Slideshow: Delete correct objects at the correct time. The expose layout bug in specifics condition.
SVN revision: 50263
2010-07-15 09:30:52 +00:00
Gustavo Sverzut Barbieri 7f8627f801 fix widgets that were forcing style to be "default".
SVN revision: 50257
2010-07-14 21:14:52 +00:00
Jonathan Atton 3eaecdafbd Elm_Slideshow:
- Add a new layout : expose
- Add a way to display more than 1 slide at a time, the number of slides displayed is defined in the layout

SVN revision: 50256
2010-07-14 21:12:58 +00:00
Jonathan Atton b8e248f29c Add a list of "layout" to elm_slideshow. A layout is like a "sub-style". For example the content can take all the slideshow widget (~fullscreen) or not. I do not have finish to work on it.
SVN revision: 50247
2010-07-14 09:07:43 +00:00
Rafael Fonseca e2c8e29aa8 From: Rafael Fonseca <rfonseca@profusion.mobi>
Subject: [E-devel] [PATCH] [Elementary] Fix flickering issue on
elm_slideshow

Hey guys,

the attached patch solves the issue of the previous image flickering 
after the transition is over on elm_slideshow.



SVN revision: 50190
2010-07-12 01:15:52 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Carsten Haitzler d888b71dba theme -> can specify a new theme for an object andit gets inherited. need to
add tests.



SVN revision: 48771
2010-05-12 01:03:46 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Iván Briano 7c413d98dd Assorted fixes to slideshow in lib and externals
Patch by Thiago Masaki


SVN revision: 47845
2010-04-08 20:16:21 +00:00
Gustavo Lima Chaves 07702cd2f3 Elm slideshow as edje external, by Masaki.
SVN revision: 47780
2010-04-05 20:23:30 +00:00
Gustavo Sverzut Barbieri 06d14ed245 const and -Wextra, come on guys! :-/
SVN revision: 47409
2010-03-24 03:06:00 +00:00
Carsten Haitzler 5ceae54321 fix more runtime wornings... added ELM_ERROR_ABORT! :)
SVN revision: 47195
2010-03-14 03:48:22 +00:00
Gustavo Sverzut Barbieri e01d72fe26 Use eina_stringshare_replace to avoid crashes.
By: Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 47187
2010-03-13 21:01:26 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 58f0a50c45 more warning -- - and fix a lot of formatting in elm_map and some bugs lurking.
SVN revision: 47082
2010-03-09 16:27:46 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Gustavo Sverzut Barbieri fca2fb30c9 fix most llvm/gcc real bugs.
SVN revision: 46762
2010-03-02 01:27:08 +00:00
Jonathan Atton 0ea2b23bfa Elm_Slideshow : add item_data_get()
SVN revision: 44696
2009-12-23 17:10:18 +00:00
Jonathan Atton 3de84a0229 Elm slideshow : resize the next and previous loaded object because if the size is 0 some widget like photocam will load nothing
SVN revision: 44645
2009-12-22 09:57:35 +00:00
Jonathan Atton aa2b072351 Elm slideshow : fix item_del
SVN revision: 44644
2009-12-22 09:34:29 +00:00
Jonathan Atton fca192b469 Elm menu, slideshow and notify: remove warnings
SVN revision: 43993
2009-11-25 21:06:23 +00:00
Jonathan Atton f0dbbfd01a Elm slideshow s/item_build/item_realize
SVN revision: 43346
2009-10-30 12:05:31 +00:00
Jonathan Atton 1895a9ec7d Elm slideshow : fix preload
SVN revision: 43344
2009-10-30 11:58:03 +00:00
Jonathan Atton 5a04f07e9d Elm slideshow: fix preload and memory leak
SVN revision: 43340
2009-10-29 17:58:16 +00:00
Jonathan Atton cfed8739bc elm slideshow : add elm_slideshow_items_get() and preload the next and the previous object.
SVN revision: 43339
2009-10-29 17:26:52 +00:00
Jonathan Atton 7be1d94aa2 Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Jonathan Atton 947f7ffd37 Elm genlist: add elm_genlist_item_middle_bring_in/show(item)). Elm slideshow : fix a problem with the timer
SVN revision: 43087
2009-10-14 21:57:46 +00:00
Jonathan Atton 1df3d50ea1 Elm : fix the svn after devilhorns made a re-indent. And add 2 new methods in the slideshow, thank to captainigloo
SVN revision: 43043
2009-10-12 22:00:14 +00:00
Jonathan Atton 5ac89d0727 Elm slideshow: Now theslideshow use the same way than the genlist widget: callbacks to create/delete the items
SVN revision: 43039
2009-10-12 20:02:56 +00:00
Jonathan Atton c61b56a1a2 elm slideshow : rewrite it. Now the slideshow display a list of Evas_Object* . This is more clean than the previous hack.
SVN revision: 43020
2009-10-11 17:18:44 +00:00
Jonathan Atton ba714b567c elm notify : some fix. hoversel :add items_get()
SVN revision: 42879
2009-10-04 23:05:50 +00:00
Jonathan Atton 4de8463e0c elm slideshow : keep the ratio
SVN revision: 42801
2009-09-29 14:07:18 +00:00
Christopher Michael 9a25a4bb87 Fix some really nasty formatting.
SVN revision: 42752
2009-09-28 03:07:20 +00:00
Jonathan Atton 9541fa5df3 elm slideshow timer fixed
SVN revision: 42710
2009-09-26 12:25:34 +00:00
Jonathan Atton 0898a51735 elm slideshow new animation
SVN revision: 42695
2009-09-25 10:43:41 +00:00
Iván Briano 5b6f2d5b2d Delete timer if it's there when slideshow dies
SVN revision: 42688
2009-09-25 02:35:24 +00:00
Jonathan Atton 294fb4b6eb elementary slideshow : add a timer
SVN revision: 42670
2009-09-24 09:43:05 +00:00
Jonathan Atton 82a9eb4bc5 elementary, new widget: slideshow. See elementary_test
SVN revision: 42660
2009-09-23 22:56:47 +00:00