Commit Graph

1460 Commits

Author SHA1 Message Date
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 6f6106f6c3 Isolating single quote in configure.ac
SVN revision: 52965
2010-10-01 19:03:19 +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
Tiago Rezende Campos Falcao a0541d1687 Fix typo from rev52686
SVN revision: 52851
2010-09-28 14:15:23 +00:00
Tiago Rezende Campos Falcao bbb96b91d4 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
2010-09-28 14:15:20 +00:00
Tiago Rezende Campos Falcao 5b3c37ac24 Update docs in elm_notify
SVN revision: 52849
2010-09-28 14:15:17 +00:00
Bruno Dilly 0bae5b3b96 Looks for parent cursors when mouse out a subobj
It will set the parent cursor if it should be visible.



SVN revision: 52848
2010-09-28 12:44:08 +00:00
Carsten Haitzler dc9887471c fix limit horizontal mode for genlist
SVN revision: 52844
2010-09-28 08:46:08 +00:00
김지훈 d99918389f 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
2010-09-28 04:28:14 +00:00
Bruno Dilly e6398bdb8a Fixing elm index default theme parts
Make edje stop complaining every time I run elementary_test


SVN revision: 52822
2010-09-27 22:19:18 +00:00
Bruno Dilly c7c28779cd 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
2010-09-27 22:17:40 +00:00
Vincent Torri 481f83d212 fix compilation with MinGW
SVN revision: 52819
2010-09-27 21:49:00 +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
Tiago Rezende Campos Falcao 59e7d34f2c 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
2010-09-27 21:13:41 +00:00
Tiago Rezende Campos Falcao 42b6280dc1 Focus Cycle Chain to Table
SVN revision: 52815
2010-09-27 21:13:36 +00:00
Tiago Rezende Campos Falcao 3660486ed2 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
2010-09-27 21:13:32 +00:00
Tiago Rezende Campos Falcao a276bb071a Refactoring focus_cycle_next_get and copies
SVN revision: 52813
2010-09-27 21:13:25 +00:00
Gustavo Lima Chaves d55fddf914 Do not overlap new TEXT part with existing swallows.
SVN revision: 52811
2010-09-27 20:07:44 +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 Lima Chaves 3ee1b96080 Fixes on scrolled entry docs.
SVN revision: 52807
2010-09-27 19:04:31 +00:00
Bruno Dilly 2f8315d7e6 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
2010-09-27 18:45:38 +00:00