Commit Graph

1717 Commits

Author SHA1 Message Date
Bruno Dilly 1d23d0ae54 Perform an animation when changing label/icon from a toolbar item.
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
2010-10-29 18:40:59 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Gustavo Lima Chaves 0699115dae Fixing two buggers here:
- profile selection saving before we assure the dir is there
  - wrongly setting data dir at buffers



SVN revision: 54002
2010-10-29 17:32:16 +00:00
Gustavo Lima Chaves 1817b42e26 Ahh, the trailing whitespaces...
SVN revision: 54001
2010-10-29 17:32:06 +00:00
Gustavo Lima Chaves a00f33c009 warning--
SVN revision: 53989
2010-10-29 13:04:05 +00:00
Gustavo Lima Chaves 5113b69035 Elementary profiles managing revamped. Most importantly:
Changes in Elementary Config application's UI now *persist*.
Not doing right now, but should be simple:
- profile deletion
- profile addition



SVN revision: 53977
2010-10-28 20:57:44 +00:00
Iván Briano ab3b494248 I wonder how I managed to remove those before committing.
SVN revision: 53972
2010-10-28 17:46:47 +00:00
Iván Briano babe15679b Little titlebar pre-made layout goes in.
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
2010-10-28 17:23:53 +00:00
Iván Briano 7801aade62 And as Bruno Dilly pointed out, we already have hooks for these things, so better use them.
SVN revision: 53963
2010-10-28 15:54:35 +00:00
Iván Briano 16cead1e35 Wrap the signal functions in the layout and use them in the little macros for setting icons
SVN revision: 53958
2010-10-28 13:54:57 +00:00
Tiago Rezende Campos Falcao ca382f2316 Explicit the correct return value type
SVN revision: 53957
2010-10-28 13:38:59 +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
Carsten Haitzler ef82b1451c 1. need calls return runtime failure if elm doesnt have the feature.
2. elm config dont use desktops if no efreet.



SVN revision: 53945
2010-10-28 04:13:09 +00:00
Iván Briano 5074503bba content_get for layout and some macros to make it easier to set
things in common layouts


SVN revision: 53929
2010-10-27 17:41:25 +00:00
Tiago Rezende Campos Falcao 9bd54d59d6 Elm_Transit
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
2010-10-27 17:02:02 +00:00
Tiago Rezende Campos Falcao 3a6369174d Revert. Remove INVALID enum option
SVN revision: 53926
2010-10-27 17:01:58 +00:00
Iván Briano 51856aac90 Adding text_set/get to elm_layout.
SVN revision: 53925
2010-10-27 16:58:35 +00:00
Tiago Rezende Campos Falcao ba89544efc list, genlist and gengrid, if no item is selected
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

If no item is selected, pressing up it will select the first and down
will select the last item

SVN revision: 53924
2010-10-27 14:38:57 +00:00
Tiago Rezende Campos Falcao bc44338213 Deselect all items when press Esc
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

list, genlist, gengrid: Using _deselect_all_item

SVN revision: 53923
2010-10-27 14:38:54 +00:00
Tiago Rezende Campos Falcao dd8f59fc6f Setter isn't const
SVN revision: 53922
2010-10-27 14:38:51 +00:00
Tiago Rezende Campos Falcao 972ab9abb0 Add icon unsetter to elm_fileselector_entry
SVN revision: 53921
2010-10-27 14:38:48 +00:00
Tiago Rezende Campos Falcao 352893a5af Add missing getters to elm_button
SVN revision: 53920
2010-10-27 14:38:45 +00:00
Tiago Rezende Campos Falcao db336b896e Including EAPI method to .h
SVN revision: 53919
2010-10-27 14:38:43 +00:00
Tiago Rezende Campos Falcao b6524f2b20 Checkers for API consistence
SVN revision: 53918
2010-10-27 14:38:40 +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
Bruno Dilly f8f377cd5f Small fixes on elm toolbar docs
SVN revision: 53899
2010-10-26 13:15:51 +00:00
Bruno Dilly a544658e28 Add toolbar item data getter / setter
Useful for bindings


SVN revision: 53898
2010-10-26 13:15:32 +00:00
Rafael Fonseca de2fc0b261 Match Toolbar_Shrink_Mode enum changes.
SVN revision: 53897
2010-10-26 12:16:25 +00:00
Bruno Dilly 473d8bfc3f Add a new shrink mode to elm_toolbar: SHRINK_HIDE
And fix the docs related to shrink mode:
SHRINK_HIDE -> hide excess items
SHRINK_NONE -> set toolbar minimun size to fit all the items



SVN revision: 53895
2010-10-26 10:30:45 +00:00
Bruno Dilly 01d04e55e0 Change toolbar API for consistency with other widgets
BIG FAT WARNING: lots of changes on toolbar API

Trying to get a lib with easy to use API, I'm changing toolbar API
to be consistent with genlist / gengrid widgets and to be more concise.

Functions select_next, select_first, select_last, unselect, unselect_all
get all are gone.
You can do this calling a combination of the others functions.

This commit changes toolbar to use inlist, and previous items can be
get.

So now we have:
Elm_Toolbar_Item *elm_toolbar_first_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_last_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_item_next_get(const Elm_Toolbar_Item *it)
Elm_Toolbar_Item *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *it)
Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item)
void elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected)
Elm_Toolbar_Item *elm_toolbar_selected_item_get(const Evas_Object *obj)

With these functions you can iterate over the items list getting /
selecting the item you need.

Another big change is that elm_toolbar_item_add is gone. Now you can
insert items in the position you want, with the functions append,
prepend, insert after, insert before (a relative item).

If you don't like any changes or have a case of use for something
that should be different, please ping me.

At last, includes ELM_TOOLBAR_ITEM_CHECK_OR_RETURN on EAPI that
receives items.



SVN revision: 53894
2010-10-26 10:29:24 +00:00
Brett Nash 652cb23af2 elm_cnp_helper: Allow HTML->Text conversions on paste.
SVN revision: 53886
2010-10-26 06:10:46 +00:00
Gustavo Lima Chaves 1a0fae3aa9 Little changes at elm profile functios + some new free()-ing helpers.
SVN revision: 53878
2010-10-25 17:36:07 +00:00
Leandro Pereira 5ecd61282a elementary-config: Fix toolbar.
SVN revision: 53875
2010-10-25 16:17:24 +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 96da91bb0a elm AUTHORS += tiago
SVN revision: 53873
2010-10-25 14:34:18 +00:00
Christopher Michael 12abaef7eb Bottom shadow image (for background) is actually 8 pixels high, not 3,
so set the bottom shadow part to take that into account. Now bottom
shadow on background actually shows up ;)



SVN revision: 53870
2010-10-25 13:28:05 +00:00
Gustavo Lima Chaves b02dd546a4 Profile selection at Elementary config app.
New heading for persistent profile changes/editions.



SVN revision: 53868
2010-10-25 13:08:19 +00:00
Gustavo Lima Chaves 72e51fa553 Making scrolled entries respect min/max size hints set from the user.
SVN revision: 53867
2010-10-25 13:08:12 +00:00
Gustavo Lima Chaves 01fbdb4644 Indenting.
SVN revision: 53866
2010-10-25 13:08:04 +00:00
Iván Briano 7d2afc8104 Adding a Transition Layout example in elementary_test
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53865
2010-10-25 12:48:51 +00:00
Gustavo Sverzut Barbieri e763787e26 need to reset cached values when recalculating theme
SVN revision: 53843
2010-10-24 23:48:35 +00:00
Carsten Haitzler beb56366a4 keep flush sequence consistent.
SVN revision: 53792
2010-10-23 01:00:46 +00:00
Tiago Rezende Campos Falcao 73cca00118 Relloc with problems
SVN revision: 53788
2010-10-22 21:41:31 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Bruno Dilly 6e5c0431cd Sync authors in elm doc with AUTHORS
SVN revision: 53783
2010-10-22 20:12:03 +00:00
Bruno Dilly 1f1b687c24 Remove dead assignments
SVN revision: 53782
2010-10-22 20:11:31 +00:00
Iván Briano 3ec77727cc Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.


SVN revision: 53778
2010-10-22 18:29:51 +00:00
Tiago Rezende Campos Falcao f05ae82f73 Missing EAPI
SVN revision: 53771
2010-10-22 16:40:50 +00:00
Fabiano Fidêncio 2c10a5d7c1 warning--
* Add UNUSED to arguments no used
 * Add functions recently created to private.h

Patch by: "Fabiano Fidêncio" <fidencio@profusion.mobi>



SVN revision: 53763
2010-10-22 12:05:45 +00:00