This function does not receive the Widget object in the parameter
Evas_Object *obj, so it must not check its type with ELM_CHECK_WIDTYPE
See "Box Transition" test in the elementary_test
By: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54461
Effects:
Translation
Resizable Flip
Fade
Blend
The effects above retrives information about objects in the transit,
they need to release these informations if the object dies.
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54432
This effects must do the evas_object_{show, hide} at the end of the
effect
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54431
Bug: If the object does not belong to the transit, it was removing the
obj_data from it.
Bug: segfaut if you try to remove an object that do not belongs to any
transit
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54427
Bug: if the objects belongs to multiples transits, there is a problem
with the internal state of the object storage with the data_set
function. If a transit die, it will free this data, and the other
transit will crash.
Removing _elm_transit_object_remove_cb prototype
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54426
Removing math functions. Changing how auto_reverse works
Removing _tween_progress_calc
If the object dies, the del_cb does not need to be deleted
Coccinelle modifications
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54425
After you add an effect, if the effect's list stay empty, the transit
will die
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54423
If the transit object is removed inside some animation, there is a
problem. Now we set the transit to be deleted.
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54421
ELM_FX is now ELM_TRANSIT_EFFECT
Curve style like in edje
Changing names:
CURVE_IN -> TWEEN_DECELERATE
CURVE_OUT -> TWEEN_ACCELERATE
CURVE_IN_OUT -> TWEEN_SINUSOIDAL
Curve_Style -> Tween_Mode
Now, the calculation is done like in edje.
Changing function of type function() to function(void)
Elm_Transit: Changing calloc(1, to ELM_NEW
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54417
Now, if you set a negative number to repeat, it will repeat infinite
times.
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54416
After you add an object, if the objects list stay empty, the transit
will die
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54415
Intead of doing a list to restore information about an object, now using
evas_object_data{set, get, del}
Using evas_object_pass_events instead elm_object_disabled_set
This allows the event block to be setted in non widgets objects
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
SVN revision: 54412
"Do you come from the land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better take cover."
- Men at Work
commit msg suggested by glima =D
%hua
SVN revision: 54407
Suggested by k-s as part of our
"Beautiful, Consistent ELM API" effort.
colorpicker, diskpicker and flippicker should follow
fileselector name.
SVN revision: 54405
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
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
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
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
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
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
NB: there is no sane way of restraining the min/max size of an elm
widget right now. This is why the scrolled entry is now (hopefully
not for toooo long) with half the size of a box, not 60px in height
anymore.
SVN revision: 54151
Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.
We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.
As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.
Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.
I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.
If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().
At last, some getters were added.
SVN revision: 54145
Inform that the item was disabled, highlighted or selected.
If a toolbar icon is an edje it can receive this signal and change the
icon image to a disabled image.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54006
When functions to change icon or labels are called a signal is sent to
edje that can perform an animation.
By: Otavio Pontes <otavio@profusion.mobi>
SVN revision: 54005
Changes in Elementary Config application's UI now *persist*.
Not doing right now, but should be simple:
- profile deletion
- profile addition
SVN revision: 53977
This comes from a contributed widget from Samsung that was basically reproducing the code of elm_layout, so instead it was turned into a simple pre-made layout (could get more love, but once again I'm no artist).
In order to make its use simpler, previous commits introduced the signal hooks for elm_layout, text_set and some macros to make it easier to set icon/end and text for layouts like this one.
Also uglified a bit the test for Layout in order to show it working, but I intend to get it fixed again soon. Unless discomfitor wants to practice his Edje skills with it... just saying.
SVN revision: 53971
Author: Helen Fornazier <helen.fornazier@profusion.mobi>
Transit is designed to set the various effects for the Evas_Object
such like translation, rotation, etc. For using Effects, Create
transit and insert effects which are interesting.
Once effects are inserted into transit, transit will manage those
effects (ex: deleting).
SVN revision: 53927