Commit Graph

1430 Commits

Author SHA1 Message Date
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
Bruno Dilly 1014a0c5dc 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
2010-09-27 18:18:37 +00:00
Bruno Dilly d3fcfa2689 Re-check theme when change engine only cursor on elm
Otherwise it won't make difference to set it =P



SVN revision: 52804
2010-09-27 18:16:34 +00:00
Brett Nash d56a2722eb elm: cnp: Send plain text as well plain text.
SVN revision: 52799
2010-09-27 06:19:12 +00:00
Brett Nash 815460c6f8 Handle utf8 encoded html.
SVN revision: 52798
2010-09-27 04:25:26 +00:00
Brett Nash 28e23f47ab Don't request things we can't handle.
SVN revision: 52797
2010-09-27 04:25:17 +00:00
Brett Nash fba4994c3d Shush GCC up.
SVN revision: 52796
2010-09-27 04:25:10 +00:00
Carsten Haitzler 46f5cea911 fix setting stdicon in elm icon.
SVN revision: 52795
2010-09-27 02:51:26 +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 83586bb0e9 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
2010-09-26 23:27:18 +00:00
Gustavo Sverzut Barbieri ec9741575f 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
2010-09-26 23:19:15 +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
Bruno Dilly 333e06b357 Clean up some dead code on elementary
SVN revision: 52764
2010-09-25 22:08:56 +00:00
Bruno Dilly 89f23acadc Remove some dead assignments from elementary
SVN revision: 52763
2010-09-25 22:07:55 +00:00
Bruno Dilly b7ae7c772a Add cursor engine only usage to elm config
Only use engine cursors by default



SVN revision: 52762
2010-09-25 22:04:51 +00:00
Bruno Dilly 3dd29a961c 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
2010-09-25 22:03:37 +00:00
Bruno Dilly 816c77b3fa 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
2010-09-25 22:01:19 +00:00
Christopher Michael e79367d7a8 Fix typo.
SVN revision: 52759
2010-09-25 22:01:18 +00:00
Christopher Michael d5cb2b88f8 Add function to return the children of an elm_box.
SVN revision: 52753
2010-09-25 21:39:29 +00:00
Carsten Haitzler 0b14b5b021 workaround for now :(
SVN revision: 52735
2010-09-25 14:57:34 +00:00
Carsten Haitzler 24b01d329c fix clip artifact that elm_config shows up with flip.
SVN revision: 52732
2010-09-25 12:41:06 +00:00
Christopher Michael eff81910e4 Fix typo.
SVN revision: 52711
2010-09-25 03:17:19 +00:00
Gustavo Sverzut Barbieri 09a19aaa68 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
2010-09-25 00:06:32 +00:00
Tiago Rezende Campos Falcao 42fab88a0e Focus test win is now resizeable
SVN revision: 52693
2010-09-24 16:46:59 +00:00
Iván Briano 4b75917e42 Begone! Evil trailing spaces from hell!
SVN revision: 52692
2010-09-24 16:41:25 +00:00
Tiago Rezende Campos Falcao 9d310ab6d2 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
2010-09-24 14:48:15 +00:00
Tiago Rezende Campos Falcao 8730c19ec2 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
2010-09-24 14:48:12 +00:00
Tiago Rezende Campos Falcao 1efda55a6c Removing warnings in els_icon.c
Enum value will be treated in next switch.

SVN revision: 52689
2010-09-24 14:48:09 +00:00
Tiago Rezende Campos Falcao 0d7a14174f Removing warnings in scrolled_entry and scroller
Adding NULL as return value.

SVN revision: 52688
2010-09-24 14:48:06 +00:00
Tiago Rezende Campos Falcao d147b3213e Remove warning from elm_index.c
Can't access directly Elm_Widget_Item struct.

SVN revision: 52687
2010-09-24 14:48:03 +00:00