platform/upstream/elementary.git
14 years agoFix some misspellings.
Christopher Michael [Sun, 3 Oct 2010 01:44:21 +0000 (01:44 +0000)]
Fix some misspellings.

SVN revision: 52990

14 years agoAdding debug option in elementary.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:23 +0000 (19:03 +0000)]
Adding debug option in elementary.

SVN revision: 52966

14 years agoIsolating single quote in configure.ac
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:19 +0000 (19:03 +0000)]
Isolating single quote in configure.ac

SVN revision: 52965

14 years agoGengrid with keyboard scroller
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:17 +0000 (19:03 +0000)]
Gengrid with keyboard scroller

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Keys:
up
kp_up
down
kp_down
left
kp_left
right
kp_right
Page Up
Page Down
Home
End

p.s.: kp = key pad

SVN revision: 52964

14 years agoGenlist with keyboard scroller
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:12 +0000 (19:03 +0000)]
Genlist with keyboard scroller

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Keys:
up
kp_up
down
kp_down
left
kp_left
right
kp_right
Page Up
Page Down
Home
End

p.s.: kp = key pad

SVN revision: 52963

14 years agokey events of the scroller treat in event_hook
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:07 +0000 (19:03 +0000)]
key events of the scroller treat in event_hook

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

The idea of the treatment of the key downs events in the smart scroller
is be equal to any widget that use it. But to do this, the smart
scroller must listen to the EVAS_CALLBACK_KEY_DOWN, this will cause a
problem to list, genlist, gengrid, because the event will arrive first
to the smart scroller then to this widgets (because the widgets are
listening the event by event_hook). So, if the scroller treat "Up", the
genlist will not select the item above because this event was already
treat by the scroller.

Now the tratment of the keys was tranfer to the elm_scroller instead of
els_scroller.

SVN revision: 52962

14 years agoAdding focus cycle hook to pager, bubble and flip.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:03:02 +0000 (19:03 +0000)]
Adding focus cycle hook to pager, bubble and flip.

SVN revision: 52961

14 years agoAdding focus cycle hook to Inwin and Frame.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:02:58 +0000 (19:02 +0000)]
Adding focus cycle hook to Inwin and Frame.

SVN revision: 52960

14 years agoBetter management to focus cycle.
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:02:55 +0000 (19:02 +0000)]
Better management to focus cycle.

Now Widgets can control between children interation or receive focus
itself. And focus_cycle has now one default code.

And don't pass focus to disabled widgets

SVN revision: 52959

14 years agoRename Buttons Labels in test_focus
Tiago Rezende Campos Falcao [Fri, 1 Oct 2010 19:02:51 +0000 (19:02 +0000)]
Rename Buttons Labels in test_focus

SVN revision: 52958

14 years agobug fix! :)
Carsten Haitzler [Thu, 30 Sep 2010 06:01:34 +0000 (06:01 +0000)]
bug fix! :)

SVN revision: 52917

14 years agoAdd two apis to limit page size of gengrid's scroller : elm_gengrid_page_relative_set...
Nicolas Aguirre [Wed, 29 Sep 2010 16:59:35 +0000 (16:59 +0000)]
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

14 years agoFix: _event_hook must return EINA_FALSE if widget is disable
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:41 +0000 (12:22 +0000)]
Fix: _event_hook must return EINA_FALSE if widget is disable

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
* button
* check
* file selector button
* radio
* toggle

SVN revision: 52890

14 years agoRemoving event_hook from hoversel
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:35 +0000 (12:22 +0000)]
Removing event_hook from hoversel

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Event hook in hoversel is not needed, because the center of the hoversel
is a button that gets the event and calls the activate of the hoversel.

SVN revision: 52889

14 years agoFixing can_focus to the widgets
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:30 +0000 (12:22 +0000)]
Fixing can_focus to the widgets

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888

14 years agoNotify timeout is double (in Externals)
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:25 +0000 (12:22 +0000)]
Notify timeout is double (in Externals)

SVN revision: 52887

14 years agoFix cast between int and void* in x86_64.
Tiago Rezende Campos Falcao [Wed, 29 Sep 2010 12:22:22 +0000 (12:22 +0000)]
Fix cast between  int and void* in x86_64.

This need conversion to long, as intermediate.

SVN revision: 52886

14 years agoone more focus case.
Carsten Haitzler [Wed, 29 Sep 2010 05:27:42 +0000 (05:27 +0000)]
one more focus case.

SVN revision: 52879

14 years agothis should fix reparenting of already focused widgets and properly
Carsten Haitzler [Wed, 29 Sep 2010 03:59:28 +0000 (03:59 +0000)]
this should fix reparenting of already focused widgets and properly
reset focus stack.

SVN revision: 52876

14 years agofmting
Carsten Haitzler [Wed, 29 Sep 2010 01:53:43 +0000 (01:53 +0000)]
fmting

SVN revision: 52872

14 years agoat least support software-x11-8 engine - in theory.
Carsten Haitzler [Tue, 28 Sep 2010 22:43:48 +0000 (22:43 +0000)]
at least support software-x11-8 engine - in theory.

SVN revision: 52868

14 years agoScroller is a weird container that can focus
Iván Briano [Tue, 28 Sep 2010 19:36:25 +0000 (19:36 +0000)]
Scroller is a weird container that can focus

SVN revision: 52862

14 years agoLittle debug function. It helped already to track the scrolled_entry focus problems.
Iván Briano [Tue, 28 Sep 2010 19:35:12 +0000 (19:35 +0000)]
Little debug function. It helped already to track the scrolled_entry focus problems.

SVN revision: 52861

14 years agoCreate sub objects using ourself as parent. Avoids having them as subobjects of any...
Iván Briano [Tue, 28 Sep 2010 19:29:24 +0000 (19:29 +0000)]
Create sub objects using ourself as parent. Avoids having them as subobjects of any other widget, which caused problems whens passing focus around

SVN revision: 52860

14 years agoElm notify: better docs and fitting new API.
Gustavo Lima Chaves [Tue, 28 Sep 2010 16:56:34 +0000 (16:56 +0000)]
Elm notify: better docs and fitting new API.

SVN revision: 52854

14 years agoKilled the bottom object. It will come back once the stacking issues are resolved...
Iván Briano [Tue, 28 Sep 2010 16:54:11 +0000 (16:54 +0000)]
Killed the bottom object. It will come back once the stacking issues are resolved or decided how to handle.
But that's minor and non-important, the real deal here is animating the focus highlight object, entirely in the theme.

SVN revision: 52853

14 years agoNew API functions for elm slider.
Gustavo Lima Chaves [Tue, 28 Sep 2010 15:09:19 +0000 (15:09 +0000)]
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

14 years agoFix typo from rev52686
Tiago Rezende Campos Falcao [Tue, 28 Sep 2010 14:15:23 +0000 (14:15 +0000)]
Fix typo from rev52686

SVN revision: 52851

14 years agoWrong place for elm_widget_highlight_in_theme_set
Tiago Rezende Campos Falcao [Tue, 28 Sep 2010 14:15:20 +0000 (14:15 +0000)]
Wrong place for elm_widget_highlight_in_theme_set

elm_widget_highlight_in_theme_set only can be called in _theme_hook
after read edje data.

SVN revision: 52850

14 years agoUpdate docs in elm_notify
Tiago Rezende Campos Falcao [Tue, 28 Sep 2010 14:15:17 +0000 (14:15 +0000)]
Update docs in elm_notify

SVN revision: 52849

14 years agoLooks for parent cursors when mouse out a subobj
Bruno Dilly [Tue, 28 Sep 2010 12:44:08 +0000 (12:44 +0000)]
Looks for parent cursors when mouse out a subobj

It will set the parent cursor if it should be visible.

SVN revision: 52848

14 years agofix limit horizontal mode for genlist
Carsten Haitzler [Tue, 28 Sep 2010 08:46:08 +0000 (08:46 +0000)]
fix limit horizontal mode for genlist

SVN revision: 52844

14 years agoFrom: 김지훈 <imfine98@gmail.com>
김지훈 [Tue, 28 Sep 2010 04:28:14 +0000 (04:28 +0000)]
From: 김지훈 <imfine98@gmail.com>

I changed elementary source code related to focus functions.
Eina_Bool is used instead of integer type in those functions.

SVN revision: 52839

14 years agoFixing elm index default theme parts
Bruno Dilly [Mon, 27 Sep 2010 22:19:18 +0000 (22:19 +0000)]
Fixing elm index default theme parts

Make edje stop complaining every time I run elementary_test

SVN revision: 52822

14 years agoDon't add cursor callback for delete on parents of sub objects
Bruno Dilly [Mon, 27 Sep 2010 22:17:40 +0000 (22:17 +0000)]
Don't add cursor callback for delete on parents of sub objects

They will only display a warning because they don't have a cursor themselves.
Only adding for the eventareas will free everything created.

SVN revision: 52821

14 years agofix compilation with MinGW
Vincent Torri [Mon, 27 Sep 2010 21:49:00 +0000 (21:49 +0000)]
fix compilation with MinGW

SVN revision: 52819

14 years agoElm Notify timeout are double.
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:45 +0000 (21:13 +0000)]
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

14 years agoslider, slideshow and spinner with keyboard arrows
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:41 +0000 (21:13 +0000)]
slider, slideshow and spinner with keyboard arrows

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

elm_slider now respond to the keyborad arrows depends on its position.
If it is in a horizontal mode, than its value will change by pressing
left and right, other wise it will respond by pressing up and down

elm_slideshow: go to next and previous with keyboard arrows

elm_spinner: respond to left and right keys in an animated way

SVN revision: 52816

14 years agoFocus Cycle Chain to Table
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:36 +0000 (21:13 +0000)]
Focus Cycle Chain to Table

SVN revision: 52815

14 years agoPanel fixed and is now focusable.
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:32 +0000 (21:13 +0000)]
Panel fixed and is now focusable.

The old theme start show animation on obj show, if you want
disabled by default it doesn't work well. I changed the theme
default to be visible, don't need animation on "show".

And hidden_set was with inverted logic.

The focus highlight is in theme. And the widget react to
Return/Space.

SVN revision: 52814

14 years agoRefactoring focus_cycle_next_get and copies
Tiago Rezende Campos Falcao [Mon, 27 Sep 2010 21:13:25 +0000 (21:13 +0000)]
Refactoring focus_cycle_next_get and copies

SVN revision: 52813

14 years agoDo not overlap new TEXT part with existing swallows.
Gustavo Lima Chaves [Mon, 27 Sep 2010 20:07:44 +0000 (20:07 +0000)]
Do not overlap new TEXT part with existing swallows.

SVN revision: 52811

14 years agoElm notify's new signal: "timeout".
Gustavo Lima Chaves [Mon, 27 Sep 2010 19:52:56 +0000 (19:52 +0000)]
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

14 years agoFixes on scrolled entry docs.
Gustavo Lima Chaves [Mon, 27 Sep 2010 19:04:31 +0000 (19:04 +0000)]
Fixes on scrolled entry docs.

SVN revision: 52807

14 years agoFixes on cnp_helper for changes on Ecore_X (int -> bool)
Bruno Dilly [Mon, 27 Sep 2010 18:45:38 +0000 (18:45 +0000)]
Fixes on cnp_helper for changes on Ecore_X (int -> bool)

It should shut up gcc complains.
I hope I'm not screwing up anything =)

SVN revision: 52806

14 years agoTooltip / Mouse Cursor support for elm_genlist / elm_gengrid items
Bruno Dilly [Mon, 27 Sep 2010 18:18:37 +0000 (18:18 +0000)]
Tooltip / Mouse Cursor support for elm_genlist / elm_gengrid items

This patch add tooltip and mouse cursor support for items of genlist
and gengrid and extends the elementary tests for tooltips and
cursor

By: Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 52805

14 years agoRe-check theme when change engine only cursor on elm
Bruno Dilly [Mon, 27 Sep 2010 18:16:34 +0000 (18:16 +0000)]
Re-check theme when change engine only cursor on elm

Otherwise it won't make difference to set it =P

SVN revision: 52804

14 years agoelm: cnp: Send plain text as well plain text.
Brett Nash [Mon, 27 Sep 2010 06:19:12 +0000 (06:19 +0000)]
elm: cnp: Send plain text as well plain text.

SVN revision: 52799

14 years agoHandle utf8 encoded html.
Brett Nash [Mon, 27 Sep 2010 04:25:26 +0000 (04:25 +0000)]
Handle utf8 encoded html.

SVN revision: 52798

14 years agoDon't request things we can't handle.
Brett Nash [Mon, 27 Sep 2010 04:25:17 +0000 (04:25 +0000)]
Don't request things we can't handle.

SVN revision: 52797

14 years agoShush GCC up.
Brett Nash [Mon, 27 Sep 2010 04:25:10 +0000 (04:25 +0000)]
Shush GCC up.

SVN revision: 52796

14 years agofix setting stdicon in elm icon.
Carsten Haitzler [Mon, 27 Sep 2010 02:51:26 +0000 (02:51 +0000)]
fix setting stdicon in elm icon.

SVN revision: 52795

14 years agoallow cursors on edje parts.
Gustavo Sverzut Barbieri [Mon, 27 Sep 2010 00:51:16 +0000 (00:51 +0000)]
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

14 years agohelp users by showing some debug messages about themes not being found.
Gustavo Sverzut Barbieri [Sun, 26 Sep 2010 23:27:18 +0000 (23:27 +0000)]
help users by showing some debug messages about themes not being found.

If you have problem seeing stuff due theme misses, then use:

   export EINA_LOG_LEVELS=elementary:4

and you should see some reports of missing groups with files. This
helps a lot for genlist and its complex way of naming items :-)

SVN revision: 52791

14 years agoless yet faster and less error-prone code by using Widget_Data instead.
Gustavo Sverzut Barbieri [Sun, 26 Sep 2010 23:19:15 +0000 (23:19 +0000)]
less yet faster and less error-prone code by using Widget_Data instead.

instead of refetching and revalidating Widget_Data everytime, just
handle it. Although this will save some instructions, the goal is to
make code shorter and less error prone.

SVN revision: 52790

14 years agoconst! bad devilhorns...
Gustavo Sverzut Barbieri [Sun, 26 Sep 2010 15:28:04 +0000 (15:28 +0000)]
const! bad devilhorns...

SVN revision: 52779

14 years agofmting
Carsten Haitzler [Sun, 26 Sep 2010 02:55:51 +0000 (02:55 +0000)]
fmting

SVN revision: 52770

14 years agoClean up some dead code on elementary
Bruno Dilly [Sat, 25 Sep 2010 22:08:56 +0000 (22:08 +0000)]
Clean up some dead code on elementary

SVN revision: 52764

14 years agoRemove some dead assignments from elementary
Bruno Dilly [Sat, 25 Sep 2010 22:07:55 +0000 (22:07 +0000)]
Remove some dead assignments from elementary

SVN revision: 52763

14 years agoAdd cursor engine only usage to elm config
Bruno Dilly [Sat, 25 Sep 2010 22:04:51 +0000 (22:04 +0000)]
Add cursor engine only usage to elm config

Only use engine cursors by default

SVN revision: 52762

14 years agoImplements a way to select if we should use ecore_evas for cursor or only engine
Bruno Dilly [Sat, 25 Sep 2010 22:03:37 +0000 (22:03 +0000)]
Implements a way to select if we should use ecore_evas for cursor or only engine

With this commit is now possible to not use theme's cursor (default behevior)
that could be overriding cursors defined by the engine.

SVN revision: 52761

14 years agoAdd cursor support on Elm using ecore_evas
Bruno Dilly [Sat, 25 Sep 2010 22:01:19 +0000 (22:01 +0000)]
Add cursor support on Elm using ecore_evas

Basically, get the group from widget theme, using the string passed to
elm_object_cursor_set, get hot spots x and y from the theme (keeps the object
and these two integers on cursor struct).
Cursor is set with ecore_evas_object_cursor_set()

Some functions to change style were added to the api.

SVN revision: 52760

14 years agoFix typo.
Christopher Michael [Sat, 25 Sep 2010 22:01:18 +0000 (22:01 +0000)]
Fix typo.

SVN revision: 52759

14 years agoAdd function to return the children of an elm_box.
Christopher Michael [Sat, 25 Sep 2010 21:39:29 +0000 (21:39 +0000)]
Add function to return the children of an elm_box.

SVN revision: 52753

14 years agoworkaround for now :(
Carsten Haitzler [Sat, 25 Sep 2010 14:57:34 +0000 (14:57 +0000)]
workaround for now :(

SVN revision: 52735

14 years agofix clip artifact that elm_config shows up with flip.
Carsten Haitzler [Sat, 25 Sep 2010 12:41:06 +0000 (12:41 +0000)]
fix clip artifact that elm_config shows up with flip.

SVN revision: 52732

14 years agoFix typo.
Christopher Michael [Sat, 25 Sep 2010 03:17:19 +0000 (03:17 +0000)]
Fix typo.

SVN revision: 52711

14 years agotest focus brokenness.
Gustavo Sverzut Barbieri [Sat, 25 Sep 2010 00:06:32 +0000 (00:06 +0000)]
test focus brokenness.

Raster, if possible give it a try as it seems that most of the focus
steal and clear is your code and maybe you have a clue of what is
happening. For instance I have no clue why that global focus_order
counter that always grows.

This test is now exposing various problems, some of them is what bug
us in Editje, some is what eve's url bar, etc:

  - press "Give focus to scrolled entry", then press it again. See
    that the scrolled entry looses its focus, although we're giving it
    focus? This is related to the object loosing focus but not
    detecting it, thus the next elm_widget_focus_steal() will just
    ignore it and say "you already have focus, do nothing!"

  - start pressing "TAB", after a full iteration, the next iteration
    just goes up to the last item. If you keep doing that, at some
    point the TAB will just not work anymore.  If you change PARENT
    from "bx" to "win", then it does not happen. But adding to "bx"
    would be the correct thing to do (more logical structure)

SVN revision: 52709

14 years agoFocus test win is now resizeable
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 16:46:59 +0000 (16:46 +0000)]
Focus test win is now resizeable

SVN revision: 52693

14 years agoBegone! Evil trailing spaces from hell!
Iván Briano [Fri, 24 Sep 2010 16:41:25 +0000 (16:41 +0000)]
Begone! Evil trailing spaces from hell!

SVN revision: 52692

14 years agoRemoving warnings in elm_tests.
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:48:15 +0000 (14:48 +0000)]
Removing warnings in elm_tests.

Most of the errors referred to the cast from int to void* in x86_64.
This need conversion to long, as intermediate.

Some calls to elm_widget not exposed API were changed to their similar
at elm_object API.

Elm_Photo never call "drop" smart callback, but i leave the callback
in tests.

And others API methods are included in Elementary.h

Now elementary build with -Wall -Werror in x86_64.

SVN revision: 52691

14 years agoRemoving warning in elm_config.
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:48:12 +0000 (14:48 +0000)]
Removing warning in elm_config.

Added one hack to dont warning about unused _status_config.
Elm_config isn't done and we may want to use this code.

SVN revision: 52690

14 years agoRemoving warnings in els_icon.c
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:48:09 +0000 (14:48 +0000)]
Removing warnings in els_icon.c

Enum value will be treated in next switch.

SVN revision: 52689

14 years agoRemoving warnings in scrolled_entry and scroller
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:48:06 +0000 (14:48 +0000)]
Removing warnings in scrolled_entry and scroller

Adding NULL as return value.

SVN revision: 52688

14 years agoRemove warning from elm_index.c
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:48:03 +0000 (14:48 +0000)]
Remove warning from elm_index.c

Can't access directly Elm_Widget_Item struct.

SVN revision: 52687

14 years agoFocus Linear Chain for some Widgets
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:47:59 +0000 (14:47 +0000)]
Focus Linear Chain for some Widgets

Containers implemented (and with test):
* Win
* Box
* Scroller
* Layout
* Panel

SVN revision: 52686

14 years agoModify elm_win to receive events
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:47:55 +0000 (14:47 +0000)]
Modify elm_win to receive events

When no objects have focus, elm_win need get it.

SVN revision: 52685

14 years agoElm_widget_can_focus only return if can have focus.
Tiago Rezende Campos Falcao [Fri, 24 Sep 2010 14:47:52 +0000 (14:47 +0000)]
Elm_widget_can_focus only return if can have focus.

If want the old comportament, use elm_widget_can_focus_receive_get()

SVN revision: 52684

14 years agoPut the simple focus highlight on scrolled entry too
Iván Briano [Fri, 24 Sep 2010 13:01:17 +0000 (13:01 +0000)]
Put the simple focus highlight on scrolled entry too

SVN revision: 52681

14 years agospelling
Vincent Torri [Fri, 24 Sep 2010 05:29:42 +0000 (05:29 +0000)]
spelling

SVN revision: 52668

14 years agomake theme browser in elm config util actually work. add api's needed.
Carsten Haitzler [Fri, 24 Sep 2010 05:11:33 +0000 (05:11 +0000)]
make theme browser in elm config util actually work. add api's needed.
it's simple. only allows 1 level of theme. would need an advanced
dialog to allow:

theme1:theme2:theme3:theme4... etc.

also no browsing for themes - just whats instaleld n system and user
dirs atm.

SVN revision: 52667

14 years ago[Elementary] For icon/end elements, use swallow parts in the scroller theme instead...
Leandro Pereira [Thu, 23 Sep 2010 22:30:47 +0000 (22:30 +0000)]
[Elementary] For icon/end elements, use swallow parts in the scroller theme instead of an Elm_Box.

This defines a new theme group for elm_scrolled_entry:
"elm/scroller/entry/$THEME".  Themes that wants to support the icon/end
feature in scrolled entry should implement parts "elm.swallow.icon" and
"elm.swallow.end".  Black&White theme has been changed, Effeniht changes
to come on a later commit.

SVN revision: 52657

14 years agoScroller now checks if its theme has a highlight for focus, and if so, sets the neces...
Iván Briano [Thu, 23 Sep 2010 19:43:50 +0000 (19:43 +0000)]
Scroller now checks if its theme has a highlight for focus, and if so, sets the necessary flags for it to work.
Also, a not really nice highlight for the scroller theme, but I am no artists and it shows the feature working.

SVN revision: 52650

14 years agoImplement elm_gengrid_item_show and elm_gengrid_item_bring.
Nicolas Aguirre [Thu, 23 Sep 2010 06:33:50 +0000 (06:33 +0000)]
Implement elm_gengrid_item_show and elm_gengrid_item_bring.
These two functions mimic what is already done in gengrid object.
* elm_gengrid_item_show : scroll immediatly to the item
* elm_gengrid_item_bring : scroll with an animation to the item

SVN revision: 52620

14 years agoaaargh! fix config init. broke scaling!
Carsten Haitzler [Thu, 23 Sep 2010 02:55:51 +0000 (02:55 +0000)]
aaargh! fix config init. broke scaling!

SVN revision: 52619

14 years agoHighlight in theme wins over generic object
Iván Briano [Wed, 22 Sep 2010 22:33:57 +0000 (22:33 +0000)]
Highlight in theme wins over generic object

Still needs stuff done in themes and widgets code to make it functional.
It will start coming tomorrow morning. (My morning)

SVN revision: 52608

14 years ago[Elementary] Implement get/unset for icon/end properties of scrolled_entry.
Leandro Pereira [Wed, 22 Sep 2010 19:15:38 +0000 (19:15 +0000)]
[Elementary] Implement get/unset for icon/end properties of scrolled_entry.

(Suggestion by glima)

SVN revision: 52603

14 years ago[Elementary] Add icon/end objects to the scrolled entry.
Leandro Pereira [Wed, 22 Sep 2010 18:25:35 +0000 (18:25 +0000)]
[Elementary] Add icon/end objects to the scrolled entry.

SVN revision: 52602

14 years agoButton animate when click with keyboard
Tiago Rezende Campos Falcao [Wed, 22 Sep 2010 17:45:53 +0000 (17:45 +0000)]
Button animate when click with keyboard

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 52601

14 years agoListen Space/Return in some widgets
Tiago Rezende Campos Falcao [Wed, 22 Sep 2010 17:45:49 +0000 (17:45 +0000)]
Listen Space/Return in some widgets

widgets:
* button
* check
* file selector button
* hoversel
* radio
* toggle

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 52600

14 years agoFocus suport for some widgets
Tiago Rezende Campos Falcao [Wed, 22 Sep 2010 17:45:46 +0000 (17:45 +0000)]
Focus suport for some widgets

Widgets:
* check
* radio
* slider
* toggle
* spinner
* slideshow

Author:    Thiago Ribeiro Masaki <masaki@profusion.mobi>

SVN revision: 52599

14 years agoComplete some widgets with activate_hook
Tiago Rezende Campos Falcao [Wed, 22 Sep 2010 17:45:43 +0000 (17:45 +0000)]
Complete some widgets with activate_hook

widgets:
* button
* check
* file selector button
* hoversel
* radio

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 52598

14 years agoBetter temporary handling for CNP.
Brett Nash [Wed, 22 Sep 2010 04:42:41 +0000 (04:42 +0000)]
Better temporary handling for CNP.

SVN revision: 52563

14 years agoVcard send.
Brett Nash [Wed, 22 Sep 2010 04:42:36 +0000 (04:42 +0000)]
Vcard send.

SVN revision: 52562

14 years agoFrom: Otávio Pontes <otavio@profusion.mobi>
Otávio Pontes [Wed, 22 Sep 2010 00:33:17 +0000 (00:33 +0000)]
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

14 years agoMinor formatting fix.
Christopher Michael [Tue, 21 Sep 2010 20:09:29 +0000 (20:09 +0000)]
Minor formatting fix.

SVN revision: 52556

14 years ago Fix reverting focus to the previous widget.
Gustavo Lima Chaves [Tue, 21 Sep 2010 18:55:32 +0000 (18:55 +0000)]
 Fix reverting focus to the previous widget.

    There's currently in Elementary a way for widgets that die to revert
    focus to whoever had it first, but it was broken in some cases.

SVN revision: 52550

14 years ago Creating a transition layout for elm_box.
Iván Briano [Tue, 21 Sep 2010 14:06:29 +0000 (14:06 +0000)]
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

14 years agoElementary event propagation to widget parents
Tiago Rezende Campos Falcao [Tue, 21 Sep 2010 02:02:24 +0000 (02:02 +0000)]
Elementary event propagation to widget parents

The Elm Widgets aren't disposed exactly as trees of Evas Objects, so
need store widget parents separated from Evas Smart Object parents.

The Evas propagation events don't satisfy all use cases. Like managing
events in elm_win or try if one parent manage the event before manage
it.

In this, I add hook to each widget manage their interested events or
from their child.

SVN revision: 52527

14 years agoBegins highlight on focused object.
Iván Briano [Mon, 20 Sep 2010 22:18:58 +0000 (22:18 +0000)]
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