Commit Graph

67 Commits

Author SHA1 Message Date
Michael BOUCHAUD 168ea8ad80 elementary: remove const from elm_box_children_get. We need free it
SVN revision: 67605
2012-01-30 17:41:42 +00:00
Mike Blumenkrantz 6353f0fcec fix an infinite recursion bug and related crash in elm_box_recalculate
SVN revision: 65880
2011-12-05 02:57:40 +00:00
ChunEon Park be86dc2831 elementary/toolbar, table, box - removed *homongenous* APIs
SVN revision: 65603
2011-11-26 04:55:03 +00:00
Cedric BAIL 94102242f6 elementary: fix sub object usage.
SVN revision: 64299
2011-10-22 16:04:06 +00:00
Cedric BAIL 003b5d0812 elementary: forgotten child of elm_box.
SVN revision: 64174
2011-10-19 12:14:31 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Gustavo Sverzut Barbieri 20eb101d58 elm_box: emit child,removed and child,added, allow smart-recalculate of box.
* proxy signals from evas_object_box: child,removed and child,added. Both
   will carry event_info being the child element.
 * elm_box_recalculate() to force recalculation of internal box, thus
   applying the layout to children.

Thanks btdrucke for reporting!




SVN revision: 63630
2011-09-27 20:28:36 +00:00
Carsten Haitzler c739e60ab0 working on factory - fix fixme in box while i'm at it.
SVN revision: 62946
2011-08-29 12:52:41 +00:00
Iván Briano 3471b099a9 Expand docs for elm_box
SVN revision: 60774
2011-06-28 21:51:56 +00:00
Daniel Juyung Seo 04b491da11 Elementary: Changed homogenous to homogeneous.
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.


SVN revision: 59160
2011-05-04 04:53:39 +00:00
ChunEon Park 4a6aa80103 elementry/box - 0 -> EINA_FALSE
SVN revision: 59091
2011-05-02 01:20:11 +00:00
Daniel Juyung Seo 77450413d7 Elementary src/lib: Removed all trailing whitespaces.
SVN revision: 58492
2011-04-08 14:36:29 +00:00
ChunEon Park 5176a3f867 elementary / entry, list, scroller, fileselector_button, config, photocam, map, pan, bg, store, priv, pager, conform, box, clock, flipselector
fixed indentation, removed white spaces.



SVN revision: 58267
2011-04-01 19:08:56 +00:00
ChunEon Park 0369dbff50 elementary / calendar, button, colorselector, bg, cnp_helper, bubble, check, box, clock - removed white spaces
SVN revision: 58253
2011-04-01 11:35:07 +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
Tom Hacohen 62afe7cc3c Elementary box: fixed on-the-fly UI-mirroring.
By Aharon Hillel.

SVN revision: 56921
2011-02-10 15:13:02 +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
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
Iván Briano 7454518f05 elm_box.c: Fix in elm_box_layout_transition
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
2010-11-11 16:22:55 +00:00
Tiago Rezende Campos Falcao d938999c78 Add missing object type checkers.
The test test_decl now warn about missing API_ENTRY or
ELM_CHECK_WIDTYPE.

SVN revision: 53956
2010-10-28 13:38:55 +00:00
Tiago Rezende Campos Falcao 116cd3c6dc Setters/Getters fix 1.
Setters can't receive const pointers.
All setter need corresponding getter.

In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.

SVN revision: 53917
2010-10-27 14:38:37 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Christopher Michael a1a0cbc9c2 Add UNUSED where needed.
Fix some formatting snafus.



SVN revision: 53284
2010-10-12 03:46:11 +00:00
Tiago Rezende Campos Falcao d959e612eb Adding custom chain to focus.
Added set, get, unset, prepend and append (relative or not).

Set - overwrite the custom chain
Unset - Delete the custom chain
Get- Return the custom chain
Append - append after the relative object or in the end
Prepend - prepend before the relative object or in the start

SVN revision: 53115
2010-10-06 20:24:22 +00:00
Tiago Rezende Campos Falcao ef18ffa4f4 Set const where need in focus_next_get functions set
SVN revision: 53114
2010-10-06 20:24:19 +00:00
Tiago Rezende Campos Falcao 198ca1fd95 Rename focus method from cycle to next_get
SVN revision: 53112
2010-10-06 20:24:13 +00:00
Tiago Rezende Campos Falcao c3e3585e83 Optimized Linear Focus Chain
Before, the focus_cycle try pass the focus to next, and try again if
need loop the objects. Now, the focus cycle return possible next
object and if is necessary loop or not to focus this returned object.

SVN revision: 53111
2010-10-06 20:24:09 +00:00
Christopher Michael 8708cc7049 Fix nasty formatting.
SVN revision: 53009
2010-10-04 06:24:16 +00:00
Christopher Michael 688b6e2fac Fix return null in func returning void...oopsie ;)
SVN revision: 53008
2010-10-04 06:21:38 +00:00
Christopher Michael aef7e3d35a Add some missing box functions (padding & align set).
Use Eina_Bool's for evas_object_box functions.



SVN revision: 53006
2010-10-04 05:50:29 +00:00
Tiago Rezende Campos Falcao a0541d1687 Fix typo from rev52686
SVN revision: 52851
2010-09-28 14:15:23 +00:00
Gustavo Sverzut Barbieri 2a5e3d62c6 const! bad devilhorns...
SVN revision: 52779
2010-09-26 15:28:04 +00:00
Christopher Michael d5cb2b88f8 Add function to return the children of an elm_box.
SVN revision: 52753
2010-09-25 21:39:29 +00:00
Christopher Michael eff81910e4 Fix typo.
SVN revision: 52711
2010-09-25 03:17:19 +00:00
Tiago Rezende Campos Falcao 113ad55d2e Focus Linear Chain for some Widgets
Containers implemented (and with test):
* Win
* Box
* Scroller
* Layout
* Panel

SVN revision: 52686
2010-09-24 14:47:59 +00:00
Otávio Pontes 498de7e94d From: Otávio Pontes <otavio@profusion.mobi>
Subject: Re: [E-devel] Transition Layout for elm_box

There are 2 simple problems with the committed code. First, it would
be better to locate the struct _Elm_Box_Transition in elm_box.c
instead of Elementary.h.in, because users should create it with
elm_box_transition_new and changing its contents can be dangerous. And
second, in struct _Transition_Animation_Data, I declared 4 coordinate
variables as int, instead of using Evas_Coords.
I am sending both patches attached.



SVN revision: 52560
2010-09-22 00:33:17 +00:00
Iván Briano 8b390a9665 Creating a transition layout for elm_box.
This layout is used to perform an animation when changing layouts in box

    by Otavio Pontes <otavio@profusion.mobi>



SVN revision: 52542
2010-09-21 14:06:29 +00:00
Iván Briano 6879d7fdad Begins highlight on focused object.
There's still work to do here, particularly in the theme, but it has
something nice and fun to see the code working.
The idea behind this:
Window tracks focused object and sends the highlight object(s) to it. These
are simple edje objects, one on top, one below the focused widget for nice
effects. Widgets can choose to ignore the highlight and this will be sent to
the parent object, if it doesn't ignore it as well.
About the bottom object, it doesn't work now. For the most part, focused
widget will always be a member of some smart object, so stacking won't work
and the desired effect is nowhere to be seen. This will be worked out later.
To be done now:
 - Let the theme for a widget define its own highlight, disabling if needed
 the standard one for those objects.
 - Needed base in code to allow animations when switching focus. All in theme.
 - Properly test all widgets and fix some things that will most likely work
 in weird ways, given the nature of Evas/Edje and how Elementary makes use
 of them.
 - Forgot the rest, stay tuned, test, report, give ideas, plant a tree.

Work started by glima, continued with some refactors by me when he
decided he needed vacations.


SVN revision: 52524
2010-09-20 22:18:58 +00:00
Otávio Pontes 6a9ba35610 Fix misspelling in elementary documentation
Patch by: "Otávio Pontes" <otavio@profusion.mobi>


SVN revision: 52367
2010-09-17 13:37:36 +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
Carsten Haitzler df611db335 more wanring-- and safety checks.
SVN revision: 47096
2010-03-10 00:31:54 +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 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 24d6072ecc fix valgrind reported problems.
GENERAL WARNING:

do NOT delete sub-objects (elm_widget_sub_object_add) or resize object
(elm_widget_resize_object_set) from del_hook()!! These are deleted
automatically before this function is called, thus you might double
free.

Fixed all occurrences I've spotted with valgrind. Please do not add more :-)




SVN revision: 43682
2009-11-13 22:22:05 +00:00
Gustavo Sverzut Barbieri 7485ad2742 elm_box: fix move to evas_object_box and avoid double-deletion.
We must clear the box before, otherwise on delete it will
automatically delete all existing children, which would be deleted
right after with sub-objects.



SVN revision: 43675
2009-11-13 18:54:55 +00:00
Christopher Michael f719ff7119 Formatting.
SVN revision: 43599
2009-11-10 04:26:51 +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 baf4d22681 Elm box/table : Fix callback_del/add and memory leak
SVN revision: 43296
2009-10-26 10:11:14 +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