Commit Graph

1489 Commits

Author SHA1 Message Date
Carsten Haitzler 84d429884f allo icons to be orphaned
SVN revision: 54218
2010-11-06 07:05:00 +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
Bruno Dilly b8200447ef Add bounce getter for remaining widgets
SVN revision: 54163
2010-11-05 00:45:59 +00:00
Bruno Dilly c7005dd59b Small fix on entry load file
In case a file can't be completely read, return what could be read so
far.



SVN revision: 54152
2010-11-04 13:59:42 +00:00
Gustavo Lima Chaves e5cd3976c0 Reverting size hints hacks the right way at scrolled entry + calling
it from theme hook.



SVN revision: 54150
2010-11-04 13:51:02 +00:00
Gustavo Lima Chaves 0313861979 Just adding more readability to eet data descriptor filling.
SVN revision: 54149
2010-11-04 13:50:54 +00:00
Bruno Dilly 77fbb50118 Add bounce setter/getter to elm_photocam
By: Li Suxia <suxia.li@samsung.com>



SVN revision: 54146
2010-11-04 12:19:00 +00:00
Bruno Dilly 81b68b08a9 Remove elm_notepad
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
2010-11-04 11:56:15 +00:00
Otavio Pontes eff9c70829 Calling callback when grid has changed.
Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54130
2010-11-03 18:31:31 +00:00
Otavio Pontes aec1fcd220 Calling callback 'unrealized' when an item is unrealized.
Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54129
2010-11-03 18:30:48 +00:00
Tiago Rezende Campos Falcao c911a2c5b2 Fix scrolled entry sizing eval when change style
SVN revision: 54126
2010-11-03 17:22:42 +00:00
Tiago Rezende Campos Falcao e486aeaed7 Use common checker to item in flippicker
SVN revision: 54099
2010-11-02 11:27:13 +00:00
Tiago Rezende Campos Falcao 1890443707 Add checkers to carousel items
SVN revision: 54098
2010-11-02 11:27:10 +00:00
Tiago Rezende Campos Falcao d7a4b3a6c1 Add checkers to genlist items
SVN revision: 54097
2010-11-02 11:27:07 +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 d28298faa4 Add checkers to index items
SVN revision: 54095
2010-11-02 11:27:02 +00:00
Tiago Rezende Campos Falcao 9abd5ca805 Add checkers to toolbar items
SVN revision: 54094
2010-11-02 11:26:59 +00:00
Tiago Rezende Campos Falcao 5ef35174ba Add checkers to list items
SVN revision: 54093
2010-11-02 11:26:56 +00:00
Tiago Rezende Campos Falcao 2374b34c2a Add checkers to menu items
SVN revision: 54092
2010-11-02 11:26:53 +00:00
Tiago Rezende Campos Falcao a6183287d3 Add checkers to hoversel items
SVN revision: 54091
2010-11-02 11:26:50 +00:00
Tiago Rezende Campos Falcao 1d4a864966 Add checkers to gengrid items
SVN revision: 54090
2010-11-02 11:26:47 +00:00
Tiago Rezende Campos Falcao af5625cca4 Add test and checker to widget items
SVN revision: 54089
2010-11-02 11:26:44 +00:00
Gustavo Lima Chaves 6e5d1db8ce Fallbacking to software X11 on all engines, now.
SVN revision: 54083
2010-11-01 21:10:21 +00:00
Gustavo Lima Chaves e5ddc241f4 New elm config app's option: engine setting.
SVN revision: 54082
2010-11-01 21:10:14 +00:00
Gustavo Lima Chaves e667a17bc8 Switching elm config's engine variable from enum to string ptr.
SVN revision: 54081
2010-11-01 21:10:07 +00:00
Gustavo Lima Chaves a012c4b511 Sentinel was never used and was wasting space for subs array.
SVN revision: 54080
2010-11-01 21:10:01 +00:00
Gustavo Lima Chaves 78fddffd9a Just shutting gcc up.
SVN revision: 54079
2010-11-01 21:09:55 +00:00
Bruno Dilly ab792e1e8f elm clean up
SVN revision: 54076
2010-11-01 12:44:30 +00:00
Carsten Haitzler baf0b67a9d more dirent usage. nix.
SVN revision: 54019
2010-10-30 06:22:14 +00:00
Carsten Haitzler 661ef90a8e grrr - dont reply on non-portable or abstracted info in dirent. eina
fixed.



SVN revision: 54016
2010-10-30 05:48:31 +00:00
Carsten Haitzler 32c2779ac4 mapbuf -> hide/show content absolutely if mapbuf is hidden/shown and
add test.



SVN revision: 54014
2010-10-30 04:01:09 +00:00
Bruno Dilly 1712bf1148 Add functions to create states for elm_toolbar_items.
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54009
2010-10-29 18:57:55 +00:00
Bruno Dilly f94f6fb3ee Send signal informing changes in icon state.
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
2010-10-29 18:42:01 +00:00
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 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 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 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
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
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
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
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 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
Carsten Haitzler 3efeab6dda and clean up more little bits of "could be better" code.
SVN revision: 53759
2010-10-22 03:09:53 +00:00
Carsten Haitzler dca18eeec3 don't need to del timer - just return false and set timer handle to
null. also justin case - del timer ebfore adding one...



SVN revision: 53758
2010-10-22 03:05:25 +00:00
Carsten Haitzler 12601f2d35 oh much formatting cleanups and removal of excessive casting to make
it trimmer and more readable.



SVN revision: 53757
2010-10-22 03:01:53 +00:00
Carsten Haitzler 5d81594429 fix doc.
SVN revision: 53756
2010-10-22 02:50:57 +00:00
Rafael Fonseca a7790e9dd7 Better way of setting bounce from profile.
Change pointed out by k-s.



SVN revision: 53744
2010-10-21 19:57:43 +00:00
Rafael Fonseca dd5b3ae608 Misspelling threshhold -> threshold as pointed out by glima.
SVN revision: 53740
2010-10-21 19:35:12 +00:00
Rafael Fonseca a5b772f9a5 Use shrink mode info from profile on elm_toolbar.
The default shrink mode for desktops is Scroll and for mobiles is Menu.



SVN revision: 53738
2010-10-21 19:24:43 +00:00
Rafael Fonseca 6a16cad7d6 Get icon_size from profile.
Toolbar and Carousel widgets now use the default icon_size set in the profile.



SVN revision: 53735
2010-10-21 18:59:45 +00:00
Tiago Rezende Campos Falcao 36c799be6a Including missing EAPI methods in Elementary.h
SVN revision: 53734
2010-10-21 18:58:46 +00:00
Tiago Rezende Campos Falcao 6bea70c4e4 Improve Focus manager.
In Window show, the focus is given to first focusable object, or to
window if no exist focusable object. So, suggest create the widgets
before show the window.

If pager is focused, it give the focus to top page in each promote.

SVN revision: 53733
2010-10-21 18:58:43 +00:00
Tiago Rezende Campos Falcao ece2114120 Review type checkers in main and widget
SVN revision: 53732
2010-10-21 18:58:40 +00:00
Tiago Rezende Campos Falcao 0fd89213af Review elm_theme. int -> Eina_Bool
SVN revision: 53731
2010-10-21 18:58:37 +00:00
Rafael Fonseca 3eaa37aa3b Use bounce information from profile in the scrollers.
Instead of just setting the bounce property to its scroller, each widget now
first checks in the profile used whether bounce is enabled or not.



SVN revision: 53730
2010-10-21 18:54:47 +00:00
Rafael Fonseca 61a5564850 Use profile configuration on fileselectors.
The profile now defines the default value for expand and inwin modes. The
fileselectors tests were changed to reflect that.

Note that the default for desktops is expand mode enabled and inwin disabled
and for mobiles is the opposite.



SVN revision: 53728
2010-10-21 18:40:49 +00:00
Rafael Fonseca 99191cda20 Improve Elementary's profiles.
This is still a work in progress. The idea is to have two different profiles:
one to be used on desktops and another for mobiles. To make it possible, I've
added some fields to the config struct and in the following commits the widgets
will start using that configuration so when they are created the default
configuration of the profile is applied.



SVN revision: 53726
2010-10-21 18:26:14 +00:00
Bruno Dilly d084f59aa5 void *'s need no cast: Part II
SVN revision: 53717
2010-10-21 15:32:04 +00:00
Carsten Haitzler 3b955f3a91 void *'s need no cast.
SVN revision: 53715
2010-10-21 14:20:51 +00:00
김지훈 53e6cfcc75 patch from: 김지훈 <jihoon48.kim@samsung.com>
Subject: elementary patch

In this elementary patch. type casting is used in elm_colorpicker.

In addition, Elementary.h.in is modified for indentation.



SVN revision: 53708
2010-10-21 08:01:52 +00:00
Carsten Haitzler e05bdd09d7 aaah fix non quicklaunch mode too.
SVN revision: 53703
2010-10-21 04:05:35 +00:00
Carsten Haitzler ebf05b3c57 revert!!!!!!!
SVN revision: 53702
2010-10-21 01:10:30 +00:00
Brett Nash 6f84ff97e1 cnp_helper: Format fixes.
SVN revision: 53698
2010-10-20 22:33:58 +00:00
Brett Nash d68df4168d Save HTML content as well.
Patch from 장효영 <hyoyoung.chang@samsung.com>

SVN revision: 53697
2010-10-20 22:32:47 +00:00
Leandro Pereira d617653e47 [Elementary] Disallow adding more than one separator item in a row.
(This fixes certain cases not covered by r53466)

SVN revision: 53696
2010-10-20 21:30:05 +00:00
Leandro Pereira a8b171115c [Elementary] Add menu buttons as submenus in Elm_Toolbar "More" button.
Previously, if there were buttons with menus in the toolbar, they would be
added but not its menu items.  Even though this is working fine, this is a
hack, since Elm_Menu should really offer reparenting or something like that
-- and this will destroy and recreate the whole menu structure on every
toolbar resize.

SVN revision: 53695
2010-10-20 21:30:03 +00:00
Leandro Pereira 5174660ea7 [Elementary] Use elm_icon_standard_set() on Elm_Menu items.
This breaks the API *and* the ABI, but this should be consistent with
Elm_Toolbar.  We'll probably need a tweak here and there, but I really
think Elm_Menu should be rewritten.

SVN revision: 53694
2010-10-20 21:30:00 +00:00
Tiago Rezende Campos Falcao fff738fbe8 Removing more warnings
Using: -Werror -W -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat
-Wformat-security -Wmissing-format-attribute -Wpointer-arith
-Wreturn-type -Wundef -Wwrite-strings

SVN revision: 53683
2010-10-20 17:15:14 +00:00
Gustavo Lima Chaves d197de1f28 Missing const here.
SVN revision: 53681
2010-10-20 16:51:26 +00:00
Gustavo Lima Chaves b577a405d6 Raster?
SVN revision: 53680
2010-10-20 16:51:20 +00:00
Leandro Pereira ed008d269c [Elementary] Elm_Icon cleanups.
SVN revision: 53675
2010-10-20 15:35:45 +00:00
Carsten Haitzler 35e9272f4d quicklaunch works again. yes - it's semi-broken. but it works.
SVN revision: 53669
2010-10-20 14:12:17 +00:00
Carsten Haitzler 0105319ea7 fix eina warning.
SVN revision: 53666
2010-10-20 13:56:07 +00:00
Tiago Rezende Campos Falcao a6b162d647 Hide hidden object in pager.
SVN revision: 53661
2010-10-20 12:38:32 +00:00
Tiago Rezende Campos Falcao e24786292f CTRL+F12 generate dot dump file in DEBUG
SVN revision: 53660
2010-10-20 12:38:30 +00:00
Tiago Rezende Campos Falcao b8ac8c0e80 Added focus_direction_go entry in API.
Also, exported the focus_cycle.

SVN revision: 53659
2010-10-20 12:38:27 +00:00
Gustavo Lima Chaves c04d655155 Taking off dangling (and achieved) TODOs and fixing booboo.
SVN revision: 53653
2010-10-20 12:05:39 +00:00
Gustavo Lima Chaves 3e5a28fdf9 There you are. Appedix of last commit.
SVN revision: 53646
2010-10-20 00:21:34 +00:00
Gustavo Lima Chaves 559604aade Removing unecessary code.
SVN revision: 53645
2010-10-19 23:08:48 +00:00
Gustavo Lima Chaves a8ac37368d New widget: Hoverlist.
This is one more widget whose idea came from Samsung Electronics.  Its
first name was "context popup". There was no common agreement on a
name for it, so... Trator mode, for now (using hoversel as a pattern).
If you have a better name suggestion for it, just change it -- but
soon, due to releasing plans (in a mailbox near in a jiffy).

While for hoversels you populate slots with thingies to later choose
one of them, which will hover up for you, with hoverlists you get a
single hovering list. It will smartly place this -- unique -- list
onto a fitting place inside its parent widget view. Just call
evas_object_show() on it, anytime you want (like for notifies).



SVN revision: 53644
2010-10-19 20:21:53 +00:00
Gustavo Lima Chaves c530774aaf Hooking elm_hover into signal_{emit,callback_add,callback_del}().
SVN revision: 53643
2010-10-19 20:21:03 +00:00
Gustavo Lima Chaves 770b0df365 New hover direction: "smart".
This injects some inteligence into hovers which can then be shared
between other composed hover widgets. Also introducing four new
swallow slots one can place content at: the diagonal corners. Just
gotta fill all the styles with those, but no time right now.



SVN revision: 53642
2010-10-19 20:20:28 +00:00
Gustavo Lima Chaves 442cb3b9da Introducing item_disabled_set() for elm_lists, too.
I'm not implementing the default list themes WRT to it right now,
though, I get back to it soon (just implementing it for a new widget).



SVN revision: 53641
2010-10-19 20:19:57 +00:00
Gustavo Lima Chaves 7d4f42fe00 New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.

This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).

Also, I'm introducing a new mode for Elementary lists: expand.



SVN revision: 53640
2010-10-19 20:19:12 +00:00
Bruno Dilly b74069f814 Fix some Wextra complains on elm edje-externals
SVN revision: 53637
2010-10-19 18:25:57 +00:00
Bruno Dilly a109dce782 Fix some wextra complains on elm lib
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Tiago Rezende Campos Falcao 6e9551b087 Review Elm_fileselector_button.
Removed the selected_{get,set} because is the same of path_{get,set}.

Now it uses elm_button like hoversel.

SVN revision: 53622
2010-10-19 14:17:14 +00:00
Tiago Rezende Campos Falcao 0e436c7431 Clean hoversel_add
SVN revision: 53621
2010-10-19 14:17:11 +00:00
Tiago Rezende Campos Falcao 97cba4930e Review Els_Icon
Adding getters (with const args). And replace tests if is edje object by
pre-existent bool variable.

SVN revision: 53620
2010-10-19 14:17:08 +00:00
Tiago Rezende Campos Falcao b0694a1817 Include docs to focus cycle.
SVN revision: 53618
2010-10-19 14:17:03 +00:00
Iván Briano 2cf8a9766d We do not use this code, so we don't need to keep it there commented and all.
SVN revision: 53599
2010-10-19 12:26:44 +00:00
Bruno Dilly acaaedb9b7 Use eina_stringshare_strlen on diskpicker
Spotted by k-s



SVN revision: 53594
2010-10-19 11:11:38 +00:00
Bruno Dilly f3fa723f2d elm_diskpicker: save (list_len - 3) strlen calls
demarchi-- for reducing performance just to solve a comparison between
signed and unsigned.



SVN revision: 53591
2010-10-19 10:48:11 +00:00
Brian Wang 85faa571ef Delete swipe timer when genlist is cleared
The swipe cancel timer isn't deleted in elm_genlist_clear right now. That will
cause invalid access later on.

Patch by: Brian Wang <brian.wang.0721@gmail.com>



SVN revision: 53589
2010-10-19 02:23:58 +00:00
Lucas De Marchi 4b7e285cf8 warnings--
* Remove warnings caused by comparison between signed and unsigned values
 * Remove a comparison of unsigned expression < 0 that is always false



SVN revision: 53588
2010-10-19 02:17:37 +00:00
Bruno Dilly 9e09bbc80a Fixes for clang warnings
SVN revision: 53576
2010-10-18 18:15:59 +00:00
Iván Briano 0016872d45 Kill double declaration.
Patch by Fidencio again, after I stupidly forgot to remove it in the first one.


SVN revision: 53574
2010-10-18 17:11:18 +00:00
Iván Briano 2235e7f37d Properly check for Smart_Data of subobject before using.
Modified patch by Fabiano Fidencio


SVN revision: 53573
2010-10-18 17:01:11 +00:00
Brett Nash 9b9dc594da elm_dnd: Add HTML encoding support: Callback only
SVN revision: 53559
2010-10-18 04:49:00 +00:00
Brett Nash d85a144f9b elm_cnp: Save the callback data.
SVN revision: 53558
2010-10-18 04:48:54 +00:00
Brett Nash 6bb0365d9c Add optional drop callback to elm_selection get.
SVN revision: 53557
2010-10-18 04:48:49 +00:00
Brett Nash 580c2797bb elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
2010-10-18 04:48:44 +00:00
Brett Nash bf0fce54c8 elm_cnp: Whitespace Cleanup
SVN revision: 53555
2010-10-18 04:48:38 +00:00
Carsten Haitzler 0a8466f4e8 come on guys... lets at least be consistent and use EINA_TRUE eh?
SVN revision: 53504
2010-10-17 04:25:30 +00:00
Bruno Dilly 4c76631b4b Elementary Magnetslider, a new switcher with "magnet" property
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53503
2010-10-17 01:44:57 +00:00
Christopher Michael 22e8a30e9b Fix elm_bg overlay issue:
The problem was that when you toggle show/hide overlay in
ELM_BG_CENTER mode, the 'image' itself would not retain it's proper
size (it would fill the whole swallow and thus not be 'centered'
anymore). Solved by setting hint_min/max on the image when in centered
mode.

NB: Raster this fixes that elm_bg issue I mentioned the other day so
all is well now ;)



SVN revision: 53476
2010-10-15 23:03:56 +00:00