platform/upstream/elementary.git
13 years agocouple of standard layout for apps to use.
Gustavo Sverzut Barbieri [Tue, 12 Oct 2010 22:28:47 +0000 (22:28 +0000)]
couple of standard layout for apps to use.

These are the layouts I've seen in use, they're in B&W/Elm-default
mood, but in efenniht they should look like eve/enjoy.

SVN revision: 53318

13 years agoexport missing toolbar_item method
Gustavo Sverzut Barbieri [Tue, 12 Oct 2010 22:23:00 +0000 (22:23 +0000)]
export missing toolbar_item method

SVN revision: 53317

13 years agoDon't use values that need computing for relative & offset as this
Christopher Michael [Tue, 12 Oct 2010 21:21:38 +0000 (21:21 +0000)]
Don't use values that need computing for relative & offset as this
would cause the computation to be needed every time the widget
(colorpicker) gets moved/resized....just do the math and set the values.

SVN revision: 53315

13 years agoSome colorpicker cleanups:
Christopher Michael [Tue, 12 Oct 2010 21:10:12 +0000 (21:10 +0000)]
Some colorpicker cleanups:
  Don't need Ecore.h here, Elementary.h already includes it
  Fix formatting.
  Use #define for signal name rather than const char
  Initialize integer's with a value.
  Add 'changed' signal to Elementary.h so people know it emits changed
also.

SVN revision: 53314

13 years agoElementary Colorpicker, widget designed to select a color.
Bruno Dilly [Tue, 12 Oct 2010 20:38:00 +0000 (20:38 +0000)]
Elementary Colorpicker, widget designed to select a color.

This is one more widget whose idea come from Samsung set of
contributions to Elementary.

SVN revision: 53313

13 years agoDefault BG Plain test back to scaled....
Christopher Michael [Tue, 12 Oct 2010 15:33:40 +0000 (15:33 +0000)]
Default BG Plain test back to scaled....
Oopsie, that should not have been there.

SVN revision: 53309

13 years agoAdd 2 new options for bg image: Center & Stretch.
Christopher Michael [Tue, 12 Oct 2010 14:38:46 +0000 (14:38 +0000)]
Add 2 new options for bg image: Center & Stretch.
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.

NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.

SVN revision: 53307

13 years agoBetter name(s) for the bg option enum.
Christopher Michael [Tue, 12 Oct 2010 10:30:32 +0000 (10:30 +0000)]
Better name(s) for the bg option enum.

SVN revision: 53302

13 years agoAdd ability for elm_bg to have a color rectangle.
Christopher Michael [Tue, 12 Oct 2010 08:46:17 +0000 (08:46 +0000)]
Add ability for elm_bg to have a color rectangle.
Add ability for elm_bg to have 'overlays' such as animated fog, etc.
Normalize elm_bg internal object names:
  Rename wd->img to the more generic wd->base.
Remove erroneous evas_object_resize(wd->base, 0, 0) (not needed).
Fix typo in doxy comment.
Add doxy for new functions (color_set, overlay_set)
Add swallow part in edc for bg color rectangle.
Fix overlay swallow part offsets.

SVN revision: 53299

13 years agoMake 'Tiled' actually do a tile :)
Christopher Michael [Tue, 12 Oct 2010 04:34:42 +0000 (04:34 +0000)]
Make 'Tiled' actually do a tile :)

SVN revision: 53292

13 years agoWidget_Data gets passed to the _custom_resize callback as 'data'
Christopher Michael [Tue, 12 Oct 2010 04:21:50 +0000 (04:21 +0000)]
Widget_Data gets passed to the _custom_resize callback as 'data'
already, so no need to refetch it.

SVN revision: 53291

13 years agoAdd option for elm_bg to be Tiled, Scaled (more options to come).
Christopher Michael [Tue, 12 Oct 2010 04:12:48 +0000 (04:12 +0000)]
Add option for elm_bg to be Tiled, Scaled (more options to come).

SVN revision: 53290

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 04:07:27 +0000 (04:07 +0000)]
Add UNUSED where needed.
Fix usage of UNUSED in _elm_cursor_del.
Use #define for string constant.
Fix formatting.

SVN revision: 53289

13 years agoAdd UNUSED where missing.
Christopher Michael [Tue, 12 Oct 2010 04:02:47 +0000 (04:02 +0000)]
Add UNUSED where missing.
Use #defines for string constants.
Fix up some formatting.

SVN revision: 53288

13 years agoAdd UNUSED where missing.
Christopher Michael [Tue, 12 Oct 2010 03:59:30 +0000 (03:59 +0000)]
Add UNUSED where missing.
Use #defines for string constants (less 'const char' variables being
used).
Fix formatting & whitespace where needed.

SVN revision: 53287

13 years agoAdd UNUSED where missing.
Christopher Michael [Tue, 12 Oct 2010 03:53:03 +0000 (03:53 +0000)]
Add UNUSED where missing.
Only calculate scale once here and reuse it.
Fix formatting.

SVN revision: 53286

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 03:47:07 +0000 (03:47 +0000)]
Add UNUSED where needed.

SVN revision: 53285

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 03:46:11 +0000 (03:46 +0000)]
Add UNUSED where needed.
Fix some formatting snafus.

SVN revision: 53284

13 years agoAdd UNUSED where needed.
Christopher Michael [Tue, 12 Oct 2010 03:42:01 +0000 (03:42 +0000)]
Add UNUSED where needed.

SVN revision: 53282

13 years agoString.h is already included via Elementary.h
Christopher Michael [Tue, 12 Oct 2010 02:38:19 +0000 (02:38 +0000)]
String.h is already included via Elementary.h

SVN revision: 53280

13 years agooops, important typo, thanks tiagofalcao
Gustavo Sverzut Barbieri [Mon, 11 Oct 2010 17:55:28 +0000 (17:55 +0000)]
oops, important typo, thanks tiagofalcao

SVN revision: 53267

13 years agoAdd safety checks to genlist and gengrid.
Rafael Fonseca [Mon, 11 Oct 2010 02:09:36 +0000 (02:09 +0000)]
Add safety checks to genlist and gengrid.

The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.

SVN revision: 53253

13 years agoFix items alignment in Gengrid.
Rafael Fonseca [Mon, 11 Oct 2010 01:55:07 +0000 (01:55 +0000)]
Fix items alignment in Gengrid.

Now alignment works no matter whether the item is smaller than the grid or not.
Also added a spinner to Gengrid 2 test so we can see the alignment in action
for different item sizes.

SVN revision: 53252

13 years agoMake Gengrid 2 test work with recent gengrid modifications.
Rafael Fonseca [Mon, 11 Oct 2010 01:46:14 +0000 (01:46 +0000)]
Make Gengrid 2 test work with recent gengrid modifications.

Before changing gengrid internal to use inlist, passing a NULL item to
insert_before and insert_after functions would make them behave as prepend and
append respectively but now one would just get a SEGV. So test for a selected
item before doing anything ;)

SVN revision: 53251

13 years agobugs--
Gustavo Sverzut Barbieri [Mon, 11 Oct 2010 01:03:37 +0000 (01:03 +0000)]
bugs--

SVN revision: 53249

13 years agogengrid more genlist-like.
Gustavo Sverzut Barbieri [Sun, 10 Oct 2010 23:54:11 +0000 (23:54 +0000)]
gengrid more genlist-like.

use inlist so we don't have to find stuff to operate on.

export more methods, like elm_gengrid_item_next_get(),
elm_gengrid_item_prev_get() and elm_gengrid_first_item_get() and elm_gengrid_last_item_get()... so we don't expose elm_gengrid_items_get().

People using the old elm_gengrid_items_get() should move to
elm_gengrid_first_item_get() and then next variant.

SVN revision: 53248

13 years agoAdd more insertion types to Gengrid.
Rafael Fonseca [Sun, 10 Oct 2010 21:05:23 +0000 (21:05 +0000)]
Add more insertion types to Gengrid.

Gengrid now has modes append, prepend, insert_before and insert_after. To see
them working check the Gengrid 2 test on elementary_test.

SVN revision: 53242

13 years agoDon't change no_select state when adding item to Gengrid.
Rafael Fonseca [Sun, 10 Oct 2010 20:45:30 +0000 (20:45 +0000)]
Don't change no_select state when adding item to Gengrid.

If one wants to create a Gengrid with seletion mode disabled and dynamically
add items to it the no select mode would be overwritten. So make Gengrid
selectable by default and just change the selection state when user explicitly
calls elm_gengrid_no_select_mode_set() function.

SVN revision: 53241

13 years agoelm_gengrid_item_update()
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 19:07:42 +0000 (19:07 +0000)]
elm_gengrid_item_update()

also missing are elm_gengrid_item_prepend(),
elm_gengrid_item_insert_before() and elm_gengrid_item_insert_after()!
I can't do them right now, so any help is appreciated.

SVN revision: 53236

13 years agodon't use ethumb if no path was set yet.
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 18:43:03 +0000 (18:43 +0000)]
don't use ethumb if no path was set yet.

SVN revision: 53235

13 years agoelm: fix doc
Boris Faure [Sat, 9 Oct 2010 14:42:04 +0000 (14:42 +0000)]
elm: fix doc

SVN revision: 53234

13 years agowork when items are bigger than viewport.
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 01:42:32 +0000 (01:42 +0000)]
work when items are bigger than viewport.

rfonseca, be careful with corner cases... and PLEASE ADD SPACES!!!! it's awful to read (a*b)/c+d/e...

SVN revision: 53225

13 years agodocument new style.
Gustavo Sverzut Barbieri [Sat, 9 Oct 2010 01:34:01 +0000 (01:34 +0000)]
document new style.

SVN revision: 53224

13 years agothumbnail style without frame.
Gustavo Sverzut Barbieri [Fri, 8 Oct 2010 23:18:03 +0000 (23:18 +0000)]
thumbnail style without frame.

SVN revision: 53221

13 years agocancel previous request, if any.
Gustavo Sverzut Barbieri [Fri, 8 Oct 2010 22:43:17 +0000 (22:43 +0000)]
cancel previous request, if any.

SVN revision: 53216

13 years agoethumb reload function.
Gustavo Sverzut Barbieri [Fri, 8 Oct 2010 22:14:50 +0000 (22:14 +0000)]
ethumb reload function.

SVN revision: 53215

13 years agoElm_object_focus give focus to one focusable obj.
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 20:16:52 +0000 (20:16 +0000)]
Elm_object_focus give focus to one focusable obj.

SVN revision: 53206

13 years agoAdd Object name in dot dump
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 20:16:48 +0000 (20:16 +0000)]
Add Object name in dot dump

Now can generate graphs like this:
https://trac.profusion.mobi/~tiago/editje_elm_dump.png

Call elm_object_tree_dot_dump(obj, "file.dot")
and use $ dot -Tpng file.dot -ofile.png

SVN revision: 53205

13 years agoFix the assignment that discards const qualifier.
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 16:27:07 +0000 (16:27 +0000)]
Fix the assignment that discards const qualifier.

SVN revision: 53195

13 years agoFix event propagation in elementary.
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 16:27:04 +0000 (16:27 +0000)]
Fix event propagation in elementary.

Need set ON_HOLD, and check it.

SVN revision: 53194

13 years agoDon't add again one child to the same parent
Tiago Rezende Campos Falcao [Fri, 8 Oct 2010 16:27:01 +0000 (16:27 +0000)]
Don't add again one child to the same parent

SVN revision: 53193

13 years agoShut up gcc about uninitialized use of variables.
Iván Briano [Fri, 8 Oct 2010 13:08:43 +0000 (13:08 +0000)]
Shut up gcc about uninitialized use of variables.

SVN revision: 53185

13 years ago From: ?\236?\157?\180?\235?\170?\133?\236?\158?\172 <mjae.lee@samsung.com>
?\236?\157?\180?\235?\170?\133?\236?\158?\172 [Fri, 8 Oct 2010 12:50:40 +0000 (12:50 +0000)]
  From: ?\236?\157?\180?\235?\170?\133?\236?\158?\172 <mjae.lee@samsung.com>
  Subject: patch for elm_widget_show_region_set function

back in again. i backed it out because of unrelated issues.

SVN revision: 53184

13 years agoMake sure we handle data length correctly on text length.
Brett Nash [Fri, 8 Oct 2010 04:14:13 +0000 (04:14 +0000)]
Make sure we handle data length correctly on text length.

SVN revision: 53179

13 years agoElementary: Don't #define _GNU_SOURCE
Eduardo de Barros Lima [Thu, 7 Oct 2010 21:34:43 +0000 (21:34 +0000)]
Elementary: Don't #define _GNU_SOURCE

Use proper AC_GNU_SOURCE macro in configure.ac instead.

SVN revision: 53168

13 years agocopy&paste left-overs
Gustavo Sverzut Barbieri [Thu, 7 Oct 2010 20:01:42 +0000 (20:01 +0000)]
copy&paste left-overs

SVN revision: 53161

13 years agogenlist's height-for-width mode is in.
Gustavo Sverzut Barbieri [Thu, 7 Oct 2010 19:57:20 +0000 (19:57 +0000)]
genlist's height-for-width mode is in.

I'll commit this to bring some attention to the topic, it is harmless
for people that do not use it, but for users it may be slow on list
resize.

SVN revision: 53160

13 years agoAdd yet another kind of list widget to elm - diskpicker
Bruno Dilly [Thu, 7 Oct 2010 18:44:43 +0000 (18:44 +0000)]
Add yet another kind of list widget to elm - diskpicker

This is one more widget whose idea come from Samsung set of
contributions to Elementary.

SVN revision: 53150

13 years agoRemoving unused variables to clean compile
Tiago Rezende Campos Falcao [Thu, 7 Oct 2010 14:49:37 +0000 (14:49 +0000)]
Removing unused variables to clean compile

SVN revision: 53146

13 years agoElm Button with custom focus highlight
Tiago Rezende Campos Falcao [Thu, 7 Oct 2010 14:49:35 +0000 (14:49 +0000)]
Elm Button with custom focus highlight

SVN revision: 53145

13 years agoFilter input text in entries.
Iván Briano [Thu, 7 Oct 2010 12:50:00 +0000 (12:50 +0000)]
Filter input text in entries.

Users can set filters of their own (text only, no format now) or use the
predefined ones.

SVN revision: 53141

13 years agoand handle disables for everything else that has disable hooks.
Carsten Haitzler [Thu, 7 Oct 2010 07:44:50 +0000 (07:44 +0000)]
and handle disables for everything else that has disable hooks.

SVN revision: 53138

13 years agoFrom: RAJEEV RANJAN <rajeev.r@samsung.com>
RAJEEV RANJAN [Thu, 7 Oct 2010 07:31:24 +0000 (07:31 +0000)]
From: RAJEEV RANJAN <rajeev.r@samsung.com>
Subject: Patch to address some focus and disabling issue in elementary
widgets

We have observed some generic issues in Elementary widgets.

1. Widgets not getting disabled if we call elm_object_disabled_set(ob,
EINA_TRUE) followed by elm_object_style_set(obj, <style_name>);

This works fine if we disable the widget after changing the style(call
to theme_hook happens here).

It happens because we are not sending the edje signal in theme_hook of
the widgets, if the widget is already in disabled state.

I have added this code in theme_hook of elm_button as an example and
we will need to apply the similar stuff in all other widgets if needed.

 2. The widget gets focused in a particular scenario even though we
call elm_object_focus_allow_set(obj, EINA_FALSE).

The code snippet to explain the scenario which we observed was like
this:

Evas_Object *button = NULL, *icon = NULL;

button = elm_button_add(parent);

elm_object_focus_allow_set(button, EINA_FALSE);

icon = elm_icon_add(button);

elm_icon_file_set(icon, EDJE_PATH, "test.icon");

elm_button_icon_set(button, icon);

  An icon object does not take focus by default. But still whenever
the focus returned to the parent(layout in this case) after closing
some popup, the button gets focused though we had disabled it
explicitly.

 The reason is in this case, when we call elm_icon_add(button), icon
gets added to button as a sub-object and in this call, we set
sd->child_can_focus for button(the parent) as true because till now,
the focus property for icon has not been set to false which by default
is true.

 This was set later in the function elm_icon_add() as follows:
 elm_widget_can_focus_set(obj, EINA_FALSE);

  Actually this should be set before adding icon as sub-object of the
parent which in this case is a button.

 I have done the required modification in the function elm_icon_add().

  Attached to this mail is the patch file for these two issues.The
revision from which I have created this patch file is 53129.
We may need to do similar changes in other widgets if required.

SVN revision: 53137

13 years agoother part of genlist tree expand depth patch. test code.
Carsten Haitzler [Thu, 7 Oct 2010 07:30:44 +0000 (07:30 +0000)]
other part of genlist tree expand depth patch. test code.

SVN revision: 53136

13 years agoFrom: 서주영 <juyung.seo@samsung.com>
서주영 [Thu, 7 Oct 2010 06:45:36 +0000 (06:45 +0000)]
From: 서주영 <juyung.seo@samsung.com>
Subject: [EFL] Small Patch for Genlist : elm_genlist_item_expanded_depth_get() API

I added one API to genlist : elm_genlist_item_expanded_depth_get(). This is
used to get an item's expanded depth. I tested this with latest SVN revision
53090.

Can you review this patch and apply this to upstream?

SVN revision: 53134

13 years agoaaaagh! free the member list! :)
Carsten Haitzler [Thu, 7 Oct 2010 03:53:53 +0000 (03:53 +0000)]
aaaagh! free the member list! :)

SVN revision: 53131

13 years agoexample with button that propagates event to the list item.
Gustavo Sverzut Barbieri [Wed, 6 Oct 2010 22:47:12 +0000 (22:47 +0000)]
example with button that propagates event to the list item.

SVN revision: 53122

13 years agoevent catcher should be the lowest object!
Gustavo Sverzut Barbieri [Wed, 6 Oct 2010 22:45:46 +0000 (22:45 +0000)]
event catcher should be the lowest object!

this damn bitch made me waste hours hunting a supposedly bug in Evas
event dispatch system just to realize the bug was in the theme... and
list in the LIST + COMPRESSED! :-( Everything else was correct.

The idea of "end" is that we may want to have some action item as
well, such as a button (see modification in test_list.c). In this case
we want the button to receive the event before the list item (or even
block the event going to the list item). Use case: add a "delete"
button to the item, click delete and you want to avoid it being
selected (think of a bookmark where you want to delete a folder, but
select the item would enter that folder that you want to delete).

SVN revision: 53121

13 years agoAdding custom chain to focus.
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:22 +0000 (20:24 +0000)]
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

13 years agoSet const where need in focus_next_get functions set
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:19 +0000 (20:24 +0000)]
Set const where need in focus_next_get functions set

SVN revision: 53114

13 years agoAdding elm_widget_focus_cycle method
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:16 +0000 (20:24 +0000)]
Adding elm_widget_focus_cycle method

This will cycle focus inside the sub-tree of one object.

SVN revision: 53113

13 years agoRename focus method from cycle to next_get
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:13 +0000 (20:24 +0000)]
Rename focus method from cycle to next_get

SVN revision: 53112

13 years agoOptimized Linear Focus Chain
Tiago Rezende Campos Falcao [Wed, 6 Oct 2010 20:24:09 +0000 (20:24 +0000)]
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

13 years agoElementary Flippicker, a fresh new widget.
Gustavo Lima Chaves [Wed, 6 Oct 2010 18:40:04 +0000 (18:40 +0000)]
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

13 years agoKill job when shutting down highlight
Iván Briano [Wed, 6 Oct 2010 16:42:46 +0000 (16:42 +0000)]
Kill job when shutting down highlight

SVN revision: 53104

13 years agoGenlist expanding items when press Return or Space
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:11 +0000 (19:10 +0000)]
Genlist expanding items when press Return or Space

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

See elementary_test Genlist Tree

SVN revision: 53079

13 years agoList with navigation between items
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:08 +0000 (19:10 +0000)]
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

13 years agoelm_list_item_bring_in
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:06 +0000 (19:10 +0000)]
elm_list_item_bring_in

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

function bring_in in list, like genlist and gengrid

SVN revision: 53077

13 years agoList with keyboard scroller
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:03 +0000 (19:10 +0000)]
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

13 years agoList with els_scroller
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:10:00 +0000 (19:10 +0000)]
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

13 years agoGendrid with navigation between items
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:09:58 +0000 (19:09 +0000)]
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

13 years agoGenlist with navigation between items
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:09:55 +0000 (19:09 +0000)]
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

13 years agoHoversel can have focus
Tiago Rezende Campos Falcao [Tue, 5 Oct 2010 19:09:52 +0000 (19:09 +0000)]
Hoversel can have focus

SVN revision: 53072

13 years agoAdding method to output the elm obj tree in dot.
Tiago Rezende Campos Falcao [Mon, 4 Oct 2010 18:37:48 +0000 (18:37 +0000)]
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

13 years agoAdding focus cycle hook to Panes
Tiago Rezende Campos Falcao [Mon, 4 Oct 2010 18:37:45 +0000 (18:37 +0000)]
Adding focus cycle hook to Panes

SVN revision: 53034

13 years agoAnd set/get style for highlight as well
Iván Briano [Mon, 4 Oct 2010 17:34:35 +0000 (17:34 +0000)]
And set/get style for highlight as well

SVN revision: 53032

13 years agoFocus highlight kinda configurable. More to come when discomfitor feels like implemen...
Iván Briano [Mon, 4 Oct 2010 16:55:32 +0000 (16:55 +0000)]
Focus highlight kinda configurable. More to come when discomfitor feels like implementing it

SVN revision: 53031

13 years agoMore sane handling of current/previous stuff on highlight
Iván Briano [Mon, 4 Oct 2010 12:48:15 +0000 (12:48 +0000)]
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

13 years agoFix nasty formatting.
Christopher Michael [Mon, 4 Oct 2010 06:24:16 +0000 (06:24 +0000)]
Fix nasty formatting.

SVN revision: 53009

13 years agoFix return null in func returning void...oopsie ;)
Christopher Michael [Mon, 4 Oct 2010 06:21:38 +0000 (06:21 +0000)]
Fix return null in func returning void...oopsie ;)

SVN revision: 53008

13 years agoAdd some missing box functions (padding & align set).
Christopher Michael [Mon, 4 Oct 2010 05:50:29 +0000 (05:50 +0000)]
Add some missing box functions (padding & align set).
Use Eina_Bool's for evas_object_box functions.

SVN revision: 53006

13 years agoWhitespace be gone !!
Christopher Michael [Mon, 4 Oct 2010 03:40:43 +0000 (03:40 +0000)]
Whitespace be gone !!

SVN revision: 53005

13 years agoFix typo
Nicolas Aguirre [Sun, 3 Oct 2010 09:33:13 +0000 (09:33 +0000)]
Fix typo

SVN revision: 52993

13 years agoFix some misspellings.
Christopher Michael [Sun, 3 Oct 2010 01:44:21 +0000 (01:44 +0000)]
Fix some misspellings.

SVN revision: 52990

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

SVN revision: 52917

13 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

13 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

13 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

13 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

13 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

13 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