Commit Graph

1325 Commits

Author SHA1 Message Date
Tiago Rezende Campos Falcao ef18ffa4f4 Set const where need in focus_next_get functions set
SVN revision: 53114
2010-10-06 20:24:19 +00:00
Tiago Rezende Campos Falcao 434ed6e093 Adding elm_widget_focus_cycle method
This will cycle focus inside the sub-tree of one object.

SVN revision: 53113
2010-10-06 20:24:16 +00:00
Tiago Rezende Campos Falcao 198ca1fd95 Rename focus method from cycle to next_get
SVN revision: 53112
2010-10-06 20:24:13 +00:00
Tiago Rezende Campos Falcao c3e3585e83 Optimized Linear Focus Chain
Before, the focus_cycle try pass the focus to next, and try again if
need loop the objects. Now, the focus cycle return possible next
object and if is necessary loop or not to focus this returned object.

SVN revision: 53111
2010-10-06 20:24:09 +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
Iván Briano 4cc43413ae Kill job when shutting down highlight
SVN revision: 53104
2010-10-06 16:42:46 +00:00
Tiago Rezende Campos Falcao c9ee489cd8 Genlist expanding items when press Return or Space
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

See elementary_test Genlist Tree

SVN revision: 53079
2010-10-05 19:10:11 +00:00
Tiago Rezende Campos Falcao 3d8c3dfc6f List with navigation between items
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Up and Down to navigate without multi selection. Hold shift +
up/down to multi select.

SVN revision: 53078
2010-10-05 19:10:08 +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 231d40149a List 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: 53076
2010-10-05 19:10:03 +00:00
Tiago Rezende Campos Falcao 1dada2a0a8 List with els_scroller
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

The list use elm_scroller instead els_scroller like the others. This is
a problem, because the scroller is son of the list, so when you click on
an item, the event will be done in the item (an edje object) that will
pass to the box it is inside, the box will pass the event to the
scroller and then to the list. So, with the event arriving the scroller
first than the list, if you press up, the navigation between item will
not happen because the scroller is treating the event first. So a good
solution is to pass the list to use smart scroller intead elm_scroller
(like genlist and gengrid).

SVN revision: 53075
2010-10-05 19:10:00 +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 47f13424e2 Genlist with navigation between items
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Up and Down to navigate without multi selection. Hold shift + up/down to
multi select.

SVN revision: 53073
2010-10-05 19:09:55 +00:00
Tiago Rezende Campos Falcao 7710ab14f0 Hoversel can have focus
SVN revision: 53072
2010-10-05 19:09:52 +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
Tiago Rezende Campos Falcao 891a40d7dc Adding focus cycle hook to Panes
SVN revision: 53034
2010-10-04 18:37:45 +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
Iván Briano 92c9171d37 More sane handling of current/previous stuff on highlight
And more ridicoulesness to the theme, to force someone to do something decent


SVN revision: 53028
2010-10-04 12:48:15 +00:00
Christopher Michael 8708cc7049 Fix nasty formatting.
SVN revision: 53009
2010-10-04 06:24:16 +00:00
Christopher Michael 688b6e2fac Fix return null in func returning void...oopsie ;)
SVN revision: 53008
2010-10-04 06:21:38 +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
Christopher Michael a433716827 Whitespace be gone !!
SVN revision: 53005
2010-10-04 03:40:43 +00:00
Nicolas Aguirre 39ef0943b8 Fix typo
SVN revision: 52993
2010-10-03 09:33:13 +00:00
Christopher Michael 9db926e387 Fix some misspellings.
SVN revision: 52990
2010-10-03 01:44:21 +00:00
Tiago Rezende Campos Falcao 3b04b52ba4 Adding debug option in elementary.
SVN revision: 52966
2010-10-01 19:03:23 +00:00
Tiago Rezende Campos Falcao dbab55ebaa 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
2010-10-01 19:03:17 +00:00
Tiago Rezende Campos Falcao bb5b808b76 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
2010-10-01 19:03:12 +00:00
Tiago Rezende Campos Falcao 953aba8c05 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
2010-10-01 19:03:07 +00:00
Tiago Rezende Campos Falcao 6882817852 Adding focus cycle hook to pager, bubble and flip.
SVN revision: 52961
2010-10-01 19:03:02 +00:00
Tiago Rezende Campos Falcao e29b0b64b4 Adding focus cycle hook to Inwin and Frame.
SVN revision: 52960
2010-10-01 19:02:58 +00:00
Tiago Rezende Campos Falcao 6fd3d0b565 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
2010-10-01 19:02:55 +00:00
Tiago Rezende Campos Falcao 697a5ad65e Rename Buttons Labels in test_focus
SVN revision: 52958
2010-10-01 19:02:51 +00:00
Carsten Haitzler 4be271d4cf bug fix! :)
SVN revision: 52917
2010-09-30 06:01:34 +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
Tiago Rezende Campos Falcao 52e3df6faf 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
2010-09-29 12:22:41 +00:00
Tiago Rezende Campos Falcao fc4ca8dfe4 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
2010-09-29 12:22:35 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b 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
2010-09-29 12:22:30 +00:00
Tiago Rezende Campos Falcao 18e550d688 Notify timeout is double (in Externals)
SVN revision: 52887
2010-09-29 12:22:25 +00:00
Tiago Rezende Campos Falcao 1e34b70f66 Fix cast between int and void* in x86_64.
This need conversion to long, as intermediate.

SVN revision: 52886
2010-09-29 12:22:22 +00:00
Carsten Haitzler c48b8da243 one more focus case.
SVN revision: 52879
2010-09-29 05:27:42 +00:00
Carsten Haitzler 540bb06455 this should fix reparenting of already focused widgets and properly
reset focus stack.



SVN revision: 52876
2010-09-29 03:59:28 +00:00
Carsten Haitzler 3262d51fba fmting
SVN revision: 52872
2010-09-29 01:53:43 +00:00
Carsten Haitzler b1a68bdb5f at least support software-x11-8 engine - in theory.
SVN revision: 52868
2010-09-28 22:43:48 +00:00
Iván Briano 8a20a80417 Scroller is a weird container that can focus
SVN revision: 52862
2010-09-28 19:36:25 +00:00
Iván Briano 8f7c57b6c7 Little debug function. It helped already to track the scrolled_entry focus problems.
SVN revision: 52861
2010-09-28 19:35:12 +00:00
Iván Briano 168f1c521b 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
2010-09-28 19:29:24 +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
Iván Briano 2e92cbfc96 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
2010-09-28 16:54:11 +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