Commit Graph

81 Commits

Author SHA1 Message Date
Zbigniew Kosinski 9ce23f0004 atspi:Set roles for widgets
Reviewers: stanluk, m.jagiello, raster

Differential Revision: https://phab.enlightenment.org/D930
2014-06-11 11:07:16 +09:00
Tom Hacohen efa41c7d75 Elm: Update code to use the new class names generated by eolian. 2014-06-03 11:54:44 +01:00
Tom Hacohen 4ac24b6953 panes: Adjusted to Eo2. 2014-04-10 09:35:01 +01:00
Daniel Zaoui 308320ae7d Eolian: Integration of Panes 2014-03-31 08:18:15 +03:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
Daniel Juyung Seo b70db6eefb panes: Fixed panes smart callbak calls by fixing default theme.
Panes smart callback depends on the signals from theme but it was broken
when dark theme was introduced.
"clicked" does not work yet, it should be fixed.

Thanks for the report, JackDanielZ.
2014-01-13 23:01:40 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo c40fbd89b8 elm: Use ELM_LAYOUT_DATA_GET convenient macro instead of calling eo_data_scope_get(obj, ELM_OBJ_LAYOUT_CLASS). 2013-10-05 17:29:13 +09:00
Daniel Juyung Seo ef83cd7a23 elm_panes.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:15:03 +09:00
Stefan Schmidt e985332fe4 elm_panes: Remove whitespaces while ebing in the file 2013-09-27 09:45:08 +01:00
Stefan Schmidt 71decc342d elm_panes: Remove unused variable.
Leftover from 84cc92d2ad3482e7a1fc79ce2fb606c26ecbce26
2013-09-27 09:42:04 +01:00
ChunEon Park 1f68e7b3b0 panes - removed redundant code.
layout itself handles contents swallowing when theme is changed.
2013-09-27 15:28:57 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Daniel Juyung Seo 1c2a91353c elm_panes.c: formatting fix while reading the code. 2013-08-11 15:00:43 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Carsten Haitzler 3b46946a48 add rect event swallow for panes so handle thumb can be affected by
finger size.
2013-04-15 23:55:57 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Daniel Juyung Seo 541ce8f603 elm panes: fixed unclear horizontal mode description.
SVN revision: 83974
2013-02-16 08:43:48 +00:00
Daniel Juyung Seo fd804d6153 elm elm_panes.c: fixed wrong eo description.
SVN revision: 83969
2013-02-16 06:07:22 +00:00
Daniel Juyung Seo 61348fd4d9 elm panes: fixed wrong signal name.
elm.panes.fixed/unfixed -> elm,panes,fixed/unfixed.
whoever added this signal should be spanked.
I left the signal emission from the code due to backward compatibility.
So there is no theme api break.
We should remove the previous one when we start EFL 2.0.

SVN revision: 83967
2013-02-16 05:37:44 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo 3b4551b058 elm panes: Added 'top' and 'bottom' part aliases for vertical panes. I did not change the swallow part name not to breatk theme api.
SVN revision: 79847
2012-11-29 18:43:39 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Gustavo Lima Chaves de362292af [elm] Panes now inheritable.
SVN revision: 74766
2012-08-01 21:04:56 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves 1b276ab353 [Elm] Panes now a layout, too.
SVN revision: 70726
2012-05-03 22:43:05 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves a2870932ac [Elm] Panes now a layout, too.
SVN revision: 70649
2012-05-02 16:59:45 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
ChunEon Park 9bd243f89d elementary/panes - Patch to handle deletion of current contents while setting new ones
Attached to the mail is a patch for elm_panes.

I have a query that shall we hide the unset content in the widget itself or should application explicitly hide them after unsetting!
In case of edje_object_part_unswallow, application needs to do it explicitly and it is documented but in case of elm_object_part_content_unset, there is no documentation available.

Details of the patch:

Existing Issue before this change:
   1. Panes deletes the older content while setting a new content even though both are same.
   2. left and right content are being unswallowed in the content_left_set and _content_right_unset functions. So when the reparenting happens, say when the content is put inside a layout then only _sub_del gets called and  
unswallowing does not happen as these functions do not get called.
e.g.   @@ -253,8 +250,6 @@ _content_left_unset(Evas_Object *obj)
    if (!wd->contents.left) return NULL;
    Evas_Object *content = wd->contents.left;
    elm_widget_sub_object_del(obj, content); //wd->contents.left already gets set to NULL in _sub_del
-   edje_object_part_unswallow(wd->panes, content); // can be unswallowed in _sub_del as in case of reparenting like setting content in a layout, only _sub_del will get called, not this function
-   wd->contents.left = NULL; //this instruction is redundent as it happens in _sub_del anyway
    return content;
 }
Change Description:
  1. Unswallowing the contents now in _sub_del as this is a common function to be executed when subobject removal happens.
  2. Comparing the current content with new before deleting. 

Signed-Off-By: RAJEEV RANJAN<rajeev.r@samsumg.com>

Thanks.
Regards,
Rajeev



SVN revision: 69720
2012-03-29 07:08:22 +00:00
Sanjeev BA 86207ebc34 Implementation for elm_panes_content_right_size_get/set().
Thanks to jeremy@asynk.ch

Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68527
2012-02-29 03:01:58 +00:00
Daniel Juyung Seo e4e7658b0d elm elm_panes.c: Added EINA_DEPRECATED marks for deprecated APIs. This is useful to mark deprecated APIs.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68178
2012-02-21 00:33:38 +00:00
ChunEon Park 4e13dde318 elementary/panes - change the default to left content
my fault. left content would be better as a default content 



SVN revision: 65525
2011-11-23 02:47:57 +00:00
ChunEon Park af42bdf2fd elementary/panes - the return value is reverted.
SVN revision: 65472
2011-11-21 06:44:40 +00:00
ChunEon Park a138bd0a3e elementary/panes - fixed typo
SVN revision: 65471
2011-11-21 06:16:42 +00:00
ChunEon Park 6194ab2345 elementary/panes - should be return the unset objects.
SVN revision: 65470
2011-11-21 05:47:49 +00:00
Mike Blumenkrantz 31d8a4817f allow panes to accept full name of swallow when setting / getting / unsetting parts
SVN revision: 65395
2011-11-18 21:53:58 +00:00
ChunEon Park 085e500875 elemlentary - minor changes.
guarantee the compatibility for priveous content_set/get/unset changes. 



SVN revision: 65320
2011-11-17 00:42:14 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
ChunEon Park 1e3d557d25 elementary/panes - content_part_set/get/unset
SVN revision: 64524
2011-10-30 15:50:14 +00:00
ChunEon Park 1f80b885cb elementary/panes - added exception handlings
SVN revision: 64009
2011-10-12 05:23:26 +00:00
ChunEon Park 4b18c1f56a elementary/panes - trivial changes
SVN revision: 64008
2011-10-12 05:19:52 +00:00