Commit Graph

370 Commits

Author SHA1 Message Date
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
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
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
Iván Briano 1e773cefcb These functions don't exist anymore.
SVN revision: 53449
2010-10-15 13:19:50 +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
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 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 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
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
Bruno Dilly b02c54321a Ignore colorpreview.edj and fix colorpicker signals documentation
SVN revision: 53367
2010-10-13 17:38:35 +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 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
Gustavo Sverzut Barbieri ada8ac0f82 gengrid more genlist-like.
use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.



SVN revision: 53248
2010-10-10 23:54:11 +00:00
Rafael Fonseca 0090ce210c Add more insertion types to Gengrid.
Gengrid now has modes append, prepend, insert_before and insert_after. To see
them working check the Gengrid 2 test on elementary_test.



SVN revision: 53242
2010-10-10 21:05:23 +00:00
Gustavo Sverzut Barbieri 3597572c8c elm_gengrid_item_update()
also missing are elm_gengrid_item_prepend(),
elm_gengrid_item_insert_before() and elm_gengrid_item_insert_after()!
I can't do them right now, so any help is appreciated.



SVN revision: 53236
2010-10-09 19:07:42 +00:00
Gustavo Sverzut Barbieri 17dfe16715 document new style.
SVN revision: 53224
2010-10-09 01:34:01 +00:00
Gustavo Sverzut Barbieri 3bdda23c70 ethumb reload function.
SVN revision: 53215
2010-10-08 22:14:50 +00:00
Gustavo Sverzut Barbieri 21f2f1c7c5 genlist's height-for-width mode is in.
I'll commit this to bring some attention to the topic, it is harmless
for people that do not use it, but for users it may be slow on list
resize.



SVN revision: 53160
2010-10-07 19:57:20 +00:00
Bruno Dilly eeeb5214a1 Add yet another kind of list widget to elm - diskpicker
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53150
2010-10-07 18:44:43 +00:00
Iván Briano 4c8980e47e Filter input text in entries.
Users can set filters of their own (text only, no format now) or use the
predefined ones.


SVN revision: 53141
2010-10-07 12:50:00 +00:00
서주영 49b72fa771 From: 서주영 <juyung.seo@samsung.com>
Subject: [EFL] Small Patch for Genlist : elm_genlist_item_expanded_depth_get() API

I added one API to genlist : elm_genlist_item_expanded_depth_get(). This is 
used to get an item's expanded depth. I tested this with latest SVN revision
53090.

Can you review this patch and apply this to upstream?
 


SVN revision: 53134
2010-10-07 06:45:36 +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
Gustavo Lima Chaves a3ba92f0dc Elementary Flippicker, a fresh new widget.
This is one more widget whose idea come from Samsung set of
contributions to Elementary.

There is a known bug involving embryo + string functions, which will,
if in "stress", appear at the labels of the widget. Not time to attack
it right now, though.



SVN revision: 53109
2010-10-06 18:40:04 +00:00
Tiago Rezende Campos Falcao 802673163b elm_list_item_bring_in
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

function bring_in in list, like genlist and gengrid

SVN revision: 53077
2010-10-05 19:10:06 +00:00
Tiago Rezende Campos Falcao 2bd4bbaa57 Gendrid with navigation between items
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Up, Down, Left and Right to navigate without multi selection.
Hold shift + up/down/left/right to multi select.

SVN revision: 53074
2010-10-05 19:09:58 +00:00
Tiago Rezende Campos Falcao a11d03a921 Adding method to output the elm obj tree in dot.
This Debug search all subobjects from one object and put in file all
sub-tree of elementary objects as dot language in file. After you can
use dot(from graphviz) to generate PNG, SVG,... diagram of objects.

SVN revision: 53035
2010-10-04 18:37:48 +00:00
Iván Briano f752f225b8 And set/get style for highlight as well
SVN revision: 53032
2010-10-04 17:34:35 +00:00
Iván Briano e8ef45befb Focus highlight kinda configurable. More to come when discomfitor feels like implementing it
SVN revision: 53031
2010-10-04 16:55:32 +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
Nicolas Aguirre 39ef0943b8 Fix typo
SVN revision: 52993
2010-10-03 09:33:13 +00:00
Tiago Rezende Campos Falcao 3b04b52ba4 Adding debug option in elementary.
SVN revision: 52966
2010-10-01 19:03:23 +00:00
Nicolas Aguirre 62772bdb32 Add two apis to limit page size of gengrid's scroller : elm_gengrid_page_relative_set and elm_gengrid_page_size_set.
These functions work exactly as those in elm_scroller.



SVN revision: 52895
2010-09-29 16:59:35 +00:00
Gustavo Lima Chaves eb19982d50 Elm notify: better docs and fitting new API.
SVN revision: 52854
2010-09-28 16:56:34 +00:00
Gustavo Lima Chaves e930af1ad9 New API functions for elm slider.
EAPI void elm_slider_end_set(Evas_Object *obj, Evas_Object *end);

will set a *right* aligned sub-object relative to the slider.

EAPI const Evas_Object *elm_slider_end_get(const Evas_Object *obj);

Getter for that object.

EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);

Unparent a previously set end object.

EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);

The same for the icon sub-object.

EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
EAPI Eina_Bool elm_slider_indicator_show_get(const Evas_Object *obj);

Set/get whether the slider should display the augmented knob (indicator) at
mouse drag at all.



SVN revision: 52852
2010-09-28 15:09:19 +00:00
Tiago Rezende Campos Falcao d5b17baf0f Elm Notify timeout are double.
And only start timer when visible.
The previous code don't start the timer if timer was changed from
disabled to one valid value.

SVN revision: 52817
2010-09-27 21:13:45 +00:00
Gustavo Lima Chaves 836b0ea1c0 Elm notify's new signal: "timeout".
Also changing elm_notify_timeout_set()'s behavior: it won't init the
timer itself, unless there was a previous one running.



SVN revision: 52810
2010-09-27 19:52:56 +00:00
Gustavo Sverzut Barbieri 0f90c50f47 allow cursors on edje parts.
yeah, i should do the tooltips one as well, but it's boring so I'll
leave the implementation as the exercise for someone else :-)

and yeah, we should have that inside edje, like a nice description {
cursor: "xterm"; }, but that's not going to happen in Edje 1.0.



SVN revision: 52793
2010-09-27 00:51:16 +00:00
Gustavo Sverzut Barbieri 2a5e3d62c6 const! bad devilhorns...
SVN revision: 52779
2010-09-26 15:28:04 +00:00
Carsten Haitzler 482d1a4ff8 fmting
SVN revision: 52770
2010-09-26 02:55:51 +00:00