Commit Graph

1237 Commits

Author SHA1 Message Date
Tiago Rezende Campos Falcao 1a2519d253 Remove unused variable
SVN revision: 53461
2010-10-15 17:28:55 +00:00
Tiago Rezende Campos Falcao bf880009a3 Fileselector entry isn't focusable.
Remove wrong _on_focus_hook, and add the focus_next_get to give focus
to their children.

SVN revision: 53460
2010-10-15 17:28:49 +00:00
Tiago Rezende Campos Falcao 82a28dafb9 Better focus next get to elm panes.
The previous have too much code.

SVN revision: 53459
2010-10-15 17:28:33 +00:00
Iván Briano fbf5ae5368 No need to go through the list to get the top object when we have it already.
Patch by Alex Grilo


SVN revision: 53457
2010-10-15 16:43:42 +00:00
Christopher Michael b135f5ae61 Do variable checks correctly (we cannot get widget data if Item does
not exist, so check for a valid Item first).



SVN revision: 53452
2010-10-15 13:41:56 +00:00
Christopher Michael de99dccf26 No need to create an elm_icon if widget_data is NULL.
If creating the elm_widget_item fails, delete the created elm_icon also.



SVN revision: 53451
2010-10-15 13:36:44 +00:00
Iván Briano 1e773cefcb These functions don't exist anymore.
SVN revision: 53449
2010-10-15 13:19:50 +00:00
Lucas De Marchi 473a59fbcd remove ugly chars
\t and trailing whitespaces, stay away from me



SVN revision: 53446
2010-10-15 11:51:15 +00:00
Lucas De Marchi 0b2b25cb81 formatting
SVN revision: 53444
2010-10-15 11:36:35 +00:00
Lucas De Marchi 7c0b627b5a remove trailing whitespaces
SVN revision: 53443
2010-10-15 11:34:22 +00:00
Lucas De Marchi d52377931c swipe event for the elm_list
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53442
2010-10-15 11:25:02 +00:00
Lucas De Marchi 4261676ee0 swipe event for the elm_genlist
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53441
2010-10-15 11:24:46 +00:00
Carsten Haitzler 3dca273fc1 never mind- brainfart!
SVN revision: 53440
2010-10-15 10:47:17 +00:00
Christopher Michael 340d0f2a22 Not sure what happened here, but elm_widget_display_only_get does not
exist. Comment out function call until this gets sorted, so @ least
elm will build. Did nobody compile this before commit again ??? :(



SVN revision: 53439
2010-10-15 10:32:29 +00:00
Carsten Haitzler d552f7cc56 display_only... dont allow user to select too.. ala disabled.
SVN revision: 53438
2010-10-15 08:36:57 +00:00
Carsten Haitzler ee860fa225 handle resize object set better if resize obj already a child of
another elm widget



SVN revision: 53435
2010-10-15 06:04:33 +00:00
Leandro Pereira c563ef2370 [Elementary] Make it possible to lookup icons from Freedesktop in Elm_Icon.
With these changes, Elm_Icon will also look up icons from the chosen
Freedesktop (fd.o) icon theme.  Since this might incur in some performance
penalties if you're sure only theme icons will be used, icon lookup order
may be specified with the elm_icon_order_lookup_set() function call; using
the lookup parameter as follows:

 - ELM_ICON_ORDER_FDO_THEME (default) will look up first fd.o, then the theme;
 - ELM_ICON_ORDER_THEME_FDO will look up first the theme, then fd.o;
 - ELM_ICON_ORDER_FDO will look up only fd.o; and
 - ELM_ICON_ORDER_THEME (old behaviour) will lookup only from the theme.

Elm_Icon will also try to use a different resolution image if the widget is
resized and the image source is fd.o.

fd.o support requires Efreet, but it should work nicely (falling back to the
old behaviour) if it isn't available.

SVN revision: 53433
2010-10-14 22:21:43 +00:00
Leandro Pereira 8c518f2dae [Elementary] Add getter for the icon string.
SVN revision: 53432
2010-10-14 22:21:40 +00:00
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00
Gustavo Sverzut Barbieri 475318f728 allow theme of fileselector_entry components.
Right now I'm abusing style, setting fileselector_entry/$style on
items, however if it's not found the fallback will be 'default' and
not 'fileselector_entry/default' as it should be.

I'm wondering if this should be implemented in elm_theme.c by
replacing the last '/$component' with '/default', the remove it and
try again, like:

{{{
        input = a/b/c
        pass1 = a/b/default
        pass2 = a/b
        pass3 = a/default
        pass4 = a
        pass5 = default
}}}



SVN revision: 53423
2010-10-14 18:24:24 +00:00
Christopher Michael a1128c6d91 Make elm build again (remove duplicated function declarations which
had different params) ... come on people, at least build your code
before committing



SVN revision: 53422
2010-10-14 18:18:34 +00:00
Tiago Rezende Campos Falcao cafc4b9e19 Removing unused variables
SVN revision: 53421
2010-10-14 17:58:01 +00:00
Tiago Rezende Campos Falcao bd97572adf Alloc the data before registry it as callback data.
SVN revision: 53420
2010-10-14 17:57:58 +00:00
Tiago Rezende Campos Falcao acd34bbc82 Adding new toolbar api to correct .h
Acidx maybe added the new API in Elementary.h, but this should be done
in Elementary.h.in

SVN revision: 53419
2010-10-14 17:57:55 +00:00
Leandro Pereira 866201fb94 [Elementary] Fix style issues in Elm_Toolbar that managed to slip in my previous commit.
SVN revision: 53412
2010-10-14 16:50:05 +00:00
Leandro Pereira 5c10641510 [Elementary] Use themeable icons in Elm_Toolbar.
This allows having themeable icons for toolbar items -- inclusing lower
resolution ones for the More menu button. Changes to Elm_Menu_Item in the
same spirit will follow.

SVN revision: 53407
2010-10-14 15:27:31 +00:00
Leandro Pereira 00c778f00b [Elementary] Implement priority in Elm_Toolbar.
Toolbars can now be scrollable, non-scrollable, or hide icons selectively
according to a priority.  This changed the API slightly, thus

   elm_toolbar_scrollable_set(obj, 1)

Should be

   elm_toolbar_mode_expand_set(obj, ELM_TOOLBAR_EXPAND_SCROLL)

Values for non-scrollable and scrollable remain the same, so if constants
aren't being used, just the function name should be changed.

The new mode, ELM_TOOLBAR_EXPAND_MENU, will create a menu of items when the
space isn't large enough to hold all the items.  Which items will be kept on
the toolbar or which items will be added to the menu is controlled by the
priority of each item: higher ones will be kept if possible, lower ones will
be tratored on the first opportunity.

SVN revision: 53406
2010-10-14 15:27:25 +00:00
Bruno Dilly fcccd7dd5a Clean elm of null pointers dereferences
SVN revision: 53399
2010-10-14 14:12:26 +00:00
Bruno Dilly 294fa1d974 Clean elm of undefined assigned values
SVN revision: 53398
2010-10-14 14:11:53 +00:00
Bruno Dilly 21e71c932e Fix typo on cnp_helper :)
SVN revision: 53397
2010-10-14 14:11:15 +00:00
Bruno Dilly 9fa9c659e5 Remove dead assignments from elementary
The only one remaining is on index code, related to the not yet
implemented horizontal mode.



SVN revision: 53396
2010-10-14 14:10:33 +00:00
Bruno Dilly c7c7ceb547 Add list item check on tooltip and cursors functions
SVN revision: 53395
2010-10-14 14:09:49 +00:00
Gustavo Sverzut Barbieri 5fdee26795 box & table are handled in elm_layout.
so far they're just managing the lifetime of objects, same as swallow.



SVN revision: 53385
2010-10-14 02:36:37 +00:00
Gustavo Sverzut Barbieri cb2ebb9303 add elm_fileselector_entry
works, but focus chain is not giving focus to button.



SVN revision: 53384
2010-10-14 01:18:14 +00:00
Iván Briano b1b802bd7b Fix typo.
I mean, update highlight object to follow focused object properly.


SVN revision: 53376
2010-10-13 18:58:29 +00:00
Christopher Michael 2c7e5ca75f Fix typo (I believe the word is breaking) ;)
SVN revision: 53372
2010-10-13 17:50:20 +00:00
Bruno Dilly b02c54321a Ignore colorpreview.edj and fix colorpicker signals documentation
SVN revision: 53367
2010-10-13 17:38:35 +00:00
Vincent Torri 0dfde0078a [Elm_diskpicker] define MAX macro for those (poor Windows
developers) who don't have it

SVN revision: 53355
2010-10-13 13:39:24 +00:00
Carsten Haitzler 9ec9ce7585 typo---
SVN revision: 53351
2010-10-13 12:29:33 +00:00
Carsten Haitzler 4de21dcc19 lets set list to null after we free it and before we call funcs that
could call callbacks that access this freed list eh?



SVN revision: 53325
2010-10-13 00:41:00 +00:00
Gustavo Sverzut Barbieri 5c03fe8b74 export missing toolbar_item method
SVN revision: 53317
2010-10-12 22:23:00 +00:00
Christopher Michael 6917435d00 Some colorpicker cleanups:
Don't need Ecore.h here, Elementary.h already includes it
  Fix formatting.
  Use #define for signal name rather than const char
  Initialize integer's with a value.
  Add 'changed' signal to Elementary.h so people know it emits changed
also.



SVN revision: 53314
2010-10-12 21:10:12 +00:00
Bruno Dilly 34fd688815 Elementary Colorpicker, widget designed to select a color.
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53313
2010-10-12 20:38:00 +00:00
Christopher Michael 6a3bfc1a6a Add 2 new options for bg image: Center & Stretch.
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.

NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.



SVN revision: 53307
2010-10-12 14:38:46 +00:00
Christopher Michael 4595005550 Better name(s) for the bg option enum.
SVN revision: 53302
2010-10-12 10:30:32 +00:00
Christopher Michael c178a21aca Add ability for elm_bg to have a color rectangle.
Add ability for elm_bg to have 'overlays' such as animated fog, etc.
Normalize elm_bg internal object names:
  Rename wd->img to the more generic wd->base.
Remove erroneous evas_object_resize(wd->base, 0, 0) (not needed).
Fix typo in doxy comment.
Add doxy for new functions (color_set, overlay_set)
Add swallow part in edc for bg color rectangle.
Fix overlay swallow part offsets.



SVN revision: 53299
2010-10-12 08:46:17 +00:00
Christopher Michael 52ebe2e754 Make 'Tiled' actually do a tile :)
SVN revision: 53292
2010-10-12 04:34:42 +00:00
Christopher Michael 1921dd5802 Widget_Data gets passed to the _custom_resize callback as 'data'
already, so no need to refetch it.



SVN revision: 53291
2010-10-12 04:21:50 +00:00
Christopher Michael 042a9432d3 Add option for elm_bg to be Tiled, Scaled (more options to come).
SVN revision: 53290
2010-10-12 04:12:48 +00:00
Christopher Michael f0ec644467 Add UNUSED where needed.
Fix usage of UNUSED in _elm_cursor_del.
Use #define for string constant.
Fix formatting.



SVN revision: 53289
2010-10-12 04:07:27 +00:00