Commit Graph

34 Commits

Author SHA1 Message Date
Tiago Rezende Campos Falcao af5625cca4 Add test and checker to widget items
SVN revision: 54089
2010-11-02 11:26:44 +00:00
Iván Briano ea3dda3527 And let's not expose internal objects when setting signal callbacks on widgets.
SVN revision: 54004
2010-10-29 18:21:58 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Iván Briano 3ec77727cc Bring focused object into the visible area
There's still a little bugger that can be noticed with the Scroller 2 test
and elm_conform still needs to handle this as scroller does.


SVN revision: 53778
2010-10-22 18:29:51 +00:00
Tiago Rezende Campos Falcao ece2114120 Review type checkers in main and widget
SVN revision: 53732
2010-10-21 18:58:40 +00:00
Tiago Rezende Campos Falcao b8ac8c0e80 Added focus_direction_go entry in API.
Also, exported the focus_cycle.

SVN revision: 53659
2010-10-20 12:38:27 +00:00
Brett Nash 9b9dc594da elm_dnd: Add HTML encoding support: Callback only
SVN revision: 53559
2010-10-18 04:49:00 +00:00
Brett Nash 6bb0365d9c Add optional drop callback to elm_selection get.
SVN revision: 53557
2010-10-18 04:48:49 +00:00
Brett Nash 580c2797bb elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
2010-10-18 04:48:44 +00:00
Brett Nash bf0fce54c8 elm_cnp: Whitespace Cleanup
SVN revision: 53555
2010-10-18 04:48:38 +00:00
Christopher Michael 2c7e5ca75f Fix typo (I believe the word is breaking) ;)
SVN revision: 53372
2010-10-13 17:50:20 +00:00
Carsten Haitzler 9ec9ce7585 typo---
SVN revision: 53351
2010-10-13 12:29:33 +00:00
Tiago Rezende Campos Falcao 9ff54ffc12 Fix event propagation in elementary.
Need set ON_HOLD, and check it.

SVN revision: 53194
2010-10-08 16:27:04 +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
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
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 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
김지훈 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 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
Tiago Rezende Campos Falcao 113ad55d2e Focus Linear Chain for some Widgets
Containers implemented (and with test):
* Win
* Box
* Scroller
* Layout
* Panel

SVN revision: 52686
2010-09-24 14:47:59 +00:00
Tiago Rezende Campos Falcao 66d585a905 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
2010-09-24 14:47:52 +00:00
Vincent Torri 9076f964c9 spelling
SVN revision: 52668
2010-09-24 05:29:42 +00:00
Iván Briano 7255d69dc1 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
2010-09-22 22:33:57 +00:00
Tiago Rezende Campos Falcao ba4e1c944e 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
2010-09-21 02:02:24 +00:00
Iván Briano 6879d7fdad 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
2010-09-20 22:18:58 +00:00
김지훈 d5b8d09591 From: 김지훈 <imfine98@gmail.com>
Subject: patch for indentation and using enum in elementary

I send the patch for elementary.
In this patch, I fixed the indentation of Elementary.h.in.
In addition, I use EINA_TRUE or EINA_FALSE instead of 1 or 0.
EVAS_HINT_EXPAND and EVA_HINT_FILL is used instead of 1.0 and -1.0.
Thanks.



SVN revision: 52447
2010-09-19 02:30:14 +00:00
Bruno Dilly 66e512552f Add support on Elm to customized cursors
Widgets can have customized cursors setting it with elm_object_cursor_set.
Widget's item can use elm_X_item_cursor_set to set a different cursor
for each item.
It will work only if HAVE_ELEMENTARY_X for now, but support for themeable
cursors is planned.



SVN revision: 52382
2010-09-17 18:24:10 +00:00
Brett Nash 9b8e54d3b1 Move cnp/dnd -> elm_widget. Officially Experimental for apps.
Expect to see changes in the very short term future for the CNP/DND code.
It will break etc etc etc.

SVN revision: 52359
2010-09-17 05:39:04 +00:00
Carsten Haitzler baa8b34b6e comments match correct code.
SVN revision: 52241
2010-09-14 11:56:48 +00:00
Carsten Haitzler 68f5b4119b oooh big cleanup. internal elm widget api cleaned up a bit.
SVN revision: 52178
2010-09-13 07:56:23 +00:00