Commit Graph

252 Commits

Author SHA1 Message Date
Patryk Kaczmarek 707599d4cc access: fix typo _elm_access_object_unhilight -> _elm_access_object_unhighlight
Summary: Name of that function is not proper in my opinion. Please consider that revision.

Reviewers: raster, seoz, bluezery, stanluk, jaehwan, kimcinoo

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D827
2014-05-08 11:20:18 +09:00
zmike fe4fae4954 Revert "Revert "focus: Removed unused parameter from an internal focus function.""
This reverts commit b8549f3e83a8592145a50085182583adead2c74e.

this build system is bad and whoever did the eo integration should not feel pleased with themselves.
2014-05-07 01:13:19 -04:00
zmike 54eabd94e2 Revert "focus: Removed unused parameter from an internal focus function."
This reverts commit 5832b692aa5f68a2924bd7886390d489eb13aefb.

broke build
2014-05-07 01:08:04 -04:00
Daniel Juyung Seo d0380e3342 focus: Removed unused parameter from an internal focus function.
is_next parameter is not used for
elm_widget_focus_highlight_geometry_get() function.
But this parameter was not cleaned up in the commit 5320cca.
2014-05-07 00:05:07 +09:00
Yossi Kantor 9c5ac1dd00 Eolian: Eo header clean.
Elementary Conform
  Elementary Widget
  Elementary Widget Container
2014-04-24 13:21:26 +03:00
Tom Hacohen 2357e563c1 Elm widget: Put typedef needed by include before the include. 2014-04-03 13:34:31 +01:00
ChunEon Park 8f5332f7c4 Revert "Revert "key binding: define Elm_Action function as having a return type of Eina_Bool""
This reverts commit 0c32a3fcf13f0c43747c478f012df259e987c156.

now this can be pushed since second merge window for 1.10 is open
2014-03-31 21:28:05 +09:00
ChunEon Park f868f35c4c Revert "key binding: define Elm_Action function as having a return type of Eina_Bool"
This reverts commit f8d46bfca2a9285b45ec76062cd85b69dc86a7db.

don't push any change except bug fix in window merge step 2

this patch will be pushed again.
2014-03-27 19:26:45 +09:00
Jaeun Choi 8024f3bd5a key binding: define Elm_Action function as having a return type of Eina_Bool
Summary:
This patch makes func of Elm_Action struct return a Eina_Bool value.
The function had a return type of void,
so could not check if the function succeeds or fails.

Test Plan: None

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D666
2014-03-27 08:56:37 +09:00
Hosang Kim 7b4a539e9e list: Add item loop feature
Summary:
If item loop feature is enabled, item is moved infinitely.

1. add new widget api - item_loop_enabled
2. add smart event using new config - elm_list.c
3. add demo - test_list.c/list_focus

Reviewers: seoz, woohyun, raster, jaehwan, Hermet

CC: singh.amitesh, c

Differential Revision: https://phab.enlightenment.org/D619
2014-03-24 17:35:07 +09:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
Daniel Juyung Seo 8afae8de2e widget: removed unused widget item member 'focused'. 2014-03-02 01:24:23 +09:00
Daniel Juyung Seo 1a29ad5679 elm: removing trailing white space ceremony for 1.9 release. 2014-03-02 00:52:26 +09:00
Jaeun Choi 78accca4db elementary key binding feature implementation
Summary: This patch implements elementary key binding feature.

Test Plan: None

Reviewers: Hermet, raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D506

Conflicts:

	src/lib/elm_config.c
2014-02-28 10:47:03 +09:00
Amitesh Singh 38ac88d9d5 list: focus highlight is handled by item theme.
Summary:
Problem: list theme (elm/list/base/default) is an alias of scroller
base theme (elm/scroller/base/default) in which focus_highlight is set to "on".
Solution: Now focus highlight in_theme is set by list item theme.

Test Plan: elementary_test->"List Focus"

Reviewers: seoz, woohyun

Reviewed By: seoz

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D572
2014-02-26 01:27:05 +09:00
Amitesh Singh 069a3de27d list: implemented widget item focus feature.
@feature

Summary:

  #    Added "item,focused" and "item,unfocused" smart callbacks.
  # Added elm_object_focused_item_get() in elm_widget
  # Added elm_object_item_focus_set and elm_object_item_focus_get() APIs for
  # Added one argument in existing _focus_highlight_geometry_get(...,is_next)
  This is required to find out previous and current widget item.
  # Added a elm_win function _focus_highlight_start() which starts the focus

Test Plan: elementary_test->List Focus , List Horizontal Focus

Reviewers: seoz, woohyun

Reviewers Comments: SeoZ - there are some known bugs. we will actively
fix them in a near future.

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D532
2014-02-26 01:26:22 +09:00
Yakov Goldberg d95f67d9c9 widget: remove OP_ID ELM_WIDGET_SUB_ID_DISPLAY_MODE_GET
elm_widget_display_mode_get() was removed in
   2aca940f040df01364301fe7b024be1f6d89a9d6.
   So OP_ID is not needed.
2014-02-20 09:56:26 +02:00
Daniel Juyung Seo 192a9e80e7 elm: fixed up the comments after the struct member.
It should be /**< not /*<<
2014-02-10 22:27:08 +09:00
Amitesh Singh 431b15cd48 focus: Added focus_highlight_geometry_get() into elm_widget.
Summary:
Currently, elm_win was handling focus_highlight geometry of widgets.
Removed elm_win_focus_highlight_geometry_get() from elm_win and now elm_widget handles focus highlight geometry.
This is required to support the focus highlight on elm widget items.

Test Plan: elementary_test -> focus

Reviewers: seoz, raster, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D530
2014-02-09 19:56:07 +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
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
Yakov Goldberg 5ddb12a323 widget: doxygen fix 2014-01-21 11:30:39 +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
Ryuan Choi f832375b4a Widget: Removed !obj checks from ELM_WIDGET_DATA_GET_OR_RETURN and ELM_WIDGET_CHECK
eo_data_scope_get and eo_isa returns NULL with complaint when NULL is passed.
So, Removed unnecessary !obj check routine.

In addition, adopt EINA_UNLIKELY for these macros and fix indentation.
2014-01-13 21:11:04 +09:00
Daniel Juyung Seo 97be76ca61 layout: Moved internal smart data member to a correct place.
can_access is used only by layout.
2014-01-02 09:23:03 +09:00
Daniel Juyung Seo 722be35238 elm_widget: Partial update for widget smart data comments. 2014-01-02 08:49:26 +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
Yakov Goldberg b51fb05e64 widget: doxygen fix 2013-12-30 11:15:49 +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
Yakov Goldberg ade0857b48 widget: doxygen typo 2013-12-05 12:03:34 +02:00
Yakov Goldberg 656fd97988 widget: typo in Eo OP_ID name 2013-11-17 13:23:17 +02:00
Daniel Juyung Seo e951a0b499 access: fixed a typo. _elm_access_object_hilight -> _elm_access_object_highlight. 2013-10-31 23:01: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 3a10554b11 elm_layout: Internal refactoring about layout frozen check.
1. Moved frozen variable to more proper position. Elm_Widget_Smart_Data -> Elm_Layout_Smart_Data.
2. Check frozen at one place. This makes codes cleaner and reduces human mistakes.
2013-10-05 17:59:58 +09:00
Daniel Juyung Seo 4d1892c8e1 elm_widget.h: support return values for ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 16:25:40 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09: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
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 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 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
ChunEon Park b67b72f710 elementary/widget - introduce elm_object_item_object_get().
We've countered application's requirements multiple times to they have the object handle from the elm_object_item.

Now we introduce it for their convenient but they should use it carefully.
2013-09-02 17:20:36 +09:00
ChunEon Park 5fd81d8849 elementry/widget - Improve performance in applying widget theme.
It prevents applying themes more strictly if it tries to apply same theme.
This increases the performance hugely in case that user applies a specific theme to the window object.
2013-08-22 17:00:36 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
ChunEon Park fff2f05bb1 elementary/widget - use eina_inlist in transate data to improve memory access / allocations. 2013-07-17 15:05:40 +09:00
Shinwoo Kim e35f12deaa [access] add elm_access_highlight_next_set, export elm_widget_focus_region_show 2013-07-06 14:41:00 +09:00
Jaehwan Kim a9bd591af9 In case of scroll in scroll, the child scroller have to bounce if parents don't have a bounce. 2013-06-18 16:28:06 +09:00