Commit Graph

459 Commits

Author SHA1 Message Date
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
Jaehwan Kim 9d4a9dae02 access: Add elm_widget_access_highlight_in_theme_set/get.
This is for widget to draw the access highlight itself in theme.
2014-02-08 12:27:41 +09:00
Carsten Haitzler 36a373ce1c Revert "Revert "atspi: event broadcast added. Orca screen reader now ables to read UI.""
This reverts commit 803553c253bc4ee140a4b447c29ffe35c31288ab.

This also removes the unused enum typedef in the header. only c++
seems to care (or -ansi or -pedantic or something)
2014-02-08 11:28:58 +09:00
U. Artie Eoff 2ac7caba96 Revert "atspi: event broadcast added. Orca screen reader now ables to read UI."
Breaks elementary applications compilation

See https://phab.enlightenment.org/T917

This reverts commit 71cd5a1a077807bc32a67d309fba9e1474fffa4d.
2014-02-07 10:49:10 -08:00
Lukasz Stanislawski 74fbb2c8ea atspi: event broadcast added. Orca screen reader now ables to read UI.
Summary:
added broadcast of focus, window activate/deactivate events on a11y bus
Orca screen reader is now able to read elementary application.

Reviewers: raster, seoz, z.kosinski, kimcinoo

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D508
2014-02-07 23:03:07 +09:00
Tae-Hwan Kim a9aec7a43e [Widget] Prevent widget item API calls while item is deleting except data_get API call. The data by data_set is user_data. So it can be needed inside deleting function trace.
Reviewers: raster, cedric, Hermet, seoz

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D525
2014-02-07 18:09:46 +09:00
nirajkr 2a8c2f1b53 focus: Added elm_object_focus_highlight_style_get/set() to support custom focus highlight on widget
Summary: This new API will allow widget to have its own focus highlight style

Reviewers: seoz

CC: woohyun, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D501
2014-02-05 19:23:34 +09:00
ChunEon Park dbacb2fef9 elementary - send signal "language,changed" with one way in the widget.
Call the smart callback in the widget infra so that each widget don't need to hook the smart_translate only for the smart call.

This makes reducing duplicated code and supporting language,chagned from all widgets.
2014-01-23 19:30:34 +09:00
ChunEon Park aebdcff513 elementary - use the focused/unfocused string in widget defined.
Now, it will share the strings so that reduce the binary size also user uses it in one way.
2014-01-23 17:27:17 +09:00
WooHyun Jung cbb946ee99 elm_widget: Fixed some codes about focus custom chain.
- When appending an object to the focus custom chain,
  event callback about deletion should be added.
- When a widget is deleted, its focus custom chain should be
  managed correctly.
2014-01-22 16:24:25 +09:00
Daniel Juyung Seo 5353aa863c elm: Removed unnecessary null check for free. 2014-01-22 11:13:11 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo 43533a2fb9 elm: Removed unnecessary null check for eina_stringshare_del. 2014-01-22 10:54:45 +09: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
Carsten Haitzler 939313e194 elm widget - skip null list entires in focus list 2014-01-14 22:48:28 +09:00
Tom Hacohen b01433ff47 Widget: Don't check if it's the correct class everywhere.
ELM_WIDGET_DATA_GET was checking it was the correct class. This is
stupid and wrong (and makes tools rightfully complain) because these
functions are implementations of that class anyway, so that would never
be false.
Functions that outside facing (that is, not called from eo_do) should
use API_ENTRY.
2014-01-06 15:07:16 +00:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
WooHyun Jung fa8ca01128 widget: Fix a bug in elm_widget_newest_focus_order_get.
When elm_widget_newest_focus_order_get is called with can_focus_only,
only focusable objects should be the candidates for newest focused object.
But there are cases that unfocusable object add +1 to newest_focus_order.
2014-01-03 20:02:30 +09:00
ChunEon Park 8b6ef9aaac elementary/widget - don't call theme_set() until base widget is not created yet.
On the widget creation time, we should not set the theme in the widget infra.
This will cause the corruption of the theme_hook working since the widget is not setup yet.
Also the theme_set() will be applied twice each widget will set the themes right after base widget is created.
2014-01-03 14:38:27 +09:00
Jaehyun Cho 432a018916 [elm_widget] Fix not to load theme for mirroring if smart data is not set
Summary: Do not load widget theme for mirroring if smart data creation is not finished.

Reviewers: Hermet, raster

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D428
2013-12-31 20:33:51 +09:00
Yakov Goldberg e93a38c966 widget, spinner: typo in elm_widget_focus_set() 2013-12-31 11:16:35 +02:00
Yakov Goldberg 21da50f601 widget: remove unused return parameter in elm_wdg_orientation_set() 2013-12-30 11:16:19 +02:00
ami afa4398ce2 [elm_object_item] - Added elm_object_item_style_set/elm_object_item_style_get().
Reviewers: seoz, raster

CC: aryarockstar, nirajkr, chinmaya061

Differential Revision: https://phab.enlightenment.org/D373
2013-12-27 20:00:04 +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
Daniel Juyung Seo 440c2ce083 elm_widget: added internal documentation about elm_widget_sub_object_add() and elm_widget_sub_object_parent_add(). 2013-12-20 19:08:38 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
Daniel Juyung Seo 8a7de8df34 elm_widget.c: fixed formatting while reading the code. 2013-11-30 15:28:44 +09:00
ChunEon Park 2afb6e40ac elementary - added a warning for elm_widget_item_track(). 2013-11-18 13:15:56 +09:00
Yakov Goldberg 656fd97988 widget: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
ChunEon Park f9edf8901d elementary/scroller - don't focus region show if the scroller is disabled. 2013-11-07 22:34:57 +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
Ryuan Choi 11b568a35b elm_widget.c: Fixed warning while scrolling elementary_test using arrow
Summary: Checked whether object which direction pointed is NULL before getting it's data

Reviewers: seoz, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D95
2013-11-04 21:14:46 +09:00
Jaehyun Cho 3f2415fff8 [elm_widget] Enable not to add resize object to or delete resize object from smart member when the resize object is set.
Summary: Currently if the third argument of elm_widget_resize_object_set, 'Eina_Bool sub_obj', indicates whether a resize object is added to/deleted from the sub object or not. This commit makes the third argument, 'sub_obj', also indicate whether a resize object is added to/deleted from the smart member or not.

Reviewers: Hermet, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D268
2013-10-18 19:52:56 +09:00
Jaehyun Cho db2d711d64 [elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.

Reviewers: Hermet, seoz

CC: Jaehyun_Cho, seoz, raster

Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Daniel Juyung Seo 6397761c6a elm_test: Fixed formatting. tab to space.
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Daniel Juyung Seo e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Cedric Bail f2b0d4568d elementary: cast an uintptr_t when pushing stuff into a pointer. 2013-09-26 16:35:11 +09:00
Cedric Bail fa2ce3c547 elm_widget: fix widget signal callback memory leak.
Thanks to bluezery D228 for pointing out the issue.
2013-09-25 16:41:12 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Daniel Juyung Seo 9785020b1f elm_widget.c: added comments for very confusable code. 2013-09-25 03:36:03 +09:00
Michael Bouchaud 6374a9cf59 elementary: oops, missing this check 2013-09-18 16:21:10 +02:00
Michael Bouchaud 91848c5b43 elementary: add a way to add some custom part text and save it for Elm_Object_Item 2013-09-18 16:21:10 +02:00
Chris Michael 873cd93da4 No need for a cast here as 'obj' is already Eo when passed in.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-17 07:43:39 +01:00
Chris Michael ae9392ab09 Remove __UNUSED__ from function declaration where parameter is
actually used.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-17 07:43:39 +01:00
ChunEon Park f426e08982 elementary/elm_object_item - delete the track objects when genlist/gengrid items are unrealized. 2013-09-13 14:19:41 +09:00
ChunEon Park ebe767bf51 elementary - Actually this code is useless. there track object will be always NULL. 2013-09-12 23:37:00 +09:00
ChunEon Park 5957b118de elementary - introduces 3 apis elm_object_item_track/untrack/track_get(). 2013-09-12 23:24:02 +09:00
ChunEon Park 9f34119498 elementary - revert ddc3cf80ce0a50a9161fcb212d3414f5d7b5898c
We have a plan to add more proper API.
2013-09-12 14:13:59 +09:00
Shinwoo Kim 3359ff5be5 [access] unfocusable object could have highlight 2013-09-10 14:22:21 +09:00
Shinwoo Kim 34de4d619d [access] enhancement - refine function name to _elm_access_auto_highlight_set from _elm_access_read_mode_set 2013-09-10 14:01:50 +09:00