Commit Graph

399 Commits

Author SHA1 Message Date
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
Daniel Juyung Seo 253e6369e4 elm_widget.c: handle focus fail case. 2013-06-09 16:54:00 +09:00
Daniel Juyung Seo 8bfdbd2ba6 elm: all the focusable widget now emits "focused" and "unfocused" smart callbacks.
1. documentations, NEWS, and ChangeLog will be updated later after some more test.
2. need to check entry.
2013-06-07 01:13:37 +09:00
Daniel Juyung Seo d0d4afd590 elm: refactoring. no printf in the library. use eina log instead. 2013-06-05 14:40:03 +09:00
Daniel Juyung Seo 55a14655a2 elm_widget.c: formatting fix.
I am surprised that one space can annoy me.
2013-05-29 00:38:11 +09:00
ChunEon Park 71bee6ddeb elementary/widget - plase update display mode whenever sub object is set 2013-05-24 18:34:37 +09:00
ChunEon Park 86f7d566c6 elementary/widget - removed elm_widgetdisplay_mode_get().
since INHERIT_MODE is removed and it' doesn't need to care here anymore.
2013-05-24 18:25:16 +09:00
WooHyun Jung a603b93252 Revert commit:3654d6e28137cfaf72444d5c5e26b651fabac89e. When stealing focus from another widget, Checking visibility of parent widget is wrong :( 2013-05-08 21:08:44 +09:00
WooHyun Jung 0b88a969c1 elementary/elm_widget : Fixed wrong logic when setting parent's child_can_focus as EINA_TRUE. 2013-05-07 20:41:32 +09:00
Daniel Juyung Seo 503e6ecfc5 elm_widget.c: fixed comments. 2013-05-07 19:40:04 +09:00
WooHyun Jung 8058042b6e elementary/elm_widget : Focus cannot be stolen when one of parents is invisible or disabled. 2013-05-07 19:15:44 +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
Ryuan Choi 5685b1607b elm cursor: theme_search means opposition to engine_only.
theme_search_enabled API was introduced instead of engine_only API,
but the meaning is opposition.
2013-05-01 16:39:51 +09:00
Shinwoo Kim 63e74f695b [focus] update child_can_focus on parent, when an widget becomes focusable 2013-04-25 14:59:39 +09:00
Jaehwan Kim 5153124045 Add 'if' statement for safety 2013-04-23 19:23:16 +09:00
ChunEon Park c81bda1077 elementary/widget item - and add elm_object_item_domain_part_text_translatable_set(). 2013-04-23 17:11:28 +09:00
Jaehwan Kim 9ad338cdfa Fix the scrolled entry in scroller is located wrong position when the cursor is changed.
It is a scroller in scroller. In this case, it moved twice.
2013-04-23 17:03:03 +09:00
ChunEon Park 3e981041c6 elementary/widget - missed new apis eo descriptions. 2013-04-23 16:56:06 +09:00
ChunEon Park e95af92756 elementary/widget - added elm_object_part_text_translatble_set() 2013-04-23 16:49:49 +09:00
Daniel Juyung Seo f8bc84d439 elm: fixed documentation + fixed formatting. 2013-04-03 21:26:04 +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
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
ChunEon Park 1d3d93741a elementary/widget - use Eina_Stringshare explicitly. 2013-04-01 20:50:25 +09:00
WooHyun Jung 45388e4581 elementary/focus : Add four more focus direftions. ELM_FOCUS_UP, ELM_FOCUS_DOWN, ELM_FOCUS_RIGHT, and ELM_FOCUS_LEFT. These are for supporting elm_object_focus_next with four directions. And I added elm_object_focus_next_object_set(get). By setting focus next object manually, developer can set its own first candidate of focus next. Lastly I added elm_object_focused_object_get, for easy finding of current focused object in one object sub-tree. 2013-03-23 09:36:21 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
WooHyun Jung 9cf2ef0752 elementary/elm_widget : Modifed the type of parameter to const Evas_Object*. 2013-03-11 22:20:20 +09:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
WooHyun Jung f6a73beb76 Add elm_widget_newest_focus_order_get function for fixing a bug in elm_win. After elm_win is created, if there is no manual focus setting, only elm_win should get focus when focus state is changed. 2013-03-08 16:23:34 +09:00
ChunEon Park 30ce1cf732 elementary/widget - added elm_object_item_signal_callback_add(), elm_object_item_signal_callback_del() 2013-03-06 21:33:13 +09:00
ChunEon Park 9c743a6097 elementary/widget - and should return when failed _elm_theme_object_set(); 2013-03-03 13:04:23 +09:00
ChunEon Park 5b6458423b elementary/widget - return correct value in theme_object_set()
becase of this, elm_layout_theme_set() and hoversel were broken.
2013-03-03 13:01:22 +09:00
ChunEon Park 2204559573 elementary/widget - use eo 2013-02-26 17:42:34 +09:00
ChunEon Park 74559f5547 elementary/widget,theme - simpler code. 2013-02-26 13:46:27 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
ChunEon Park 73bd086b53 elementary/widget - missed return there.
thanks glima for spotting it.



SVN revision: 84270
2013-02-21 03:42:04 +00:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
ChunEon Park 0d5a0dc6e6 elemenatry/widget - --printf
SVN revision: 84036
2013-02-18 05:15:53 +00:00
ChunEon Park ade43adfd9 elementary/widgets - if the orient mode is changed, apply a default only if the style doesn't applied anything. other wise, use the preivouse one.
SVN revision: 84034
2013-02-18 05:13:58 +00:00
Cedric BAIL 1aaa6e41e1 elementary: as previously stated sizeof (long) != sizeof (void*)
SVN revision: 84014
2013-02-17 03:53:02 +00:00
ChunEon Park 500fa3f34b elementary/widget - ++FIXME
SVN revision: 83991
2013-02-16 13:54:52 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
ChunEon Park 1004d5c062 elementary/widget - null conditional check
SVN revision: 83956
2013-02-15 14:04:06 +00:00
ChunEon Park cf2d0c9d6d elementary/widget - Apply current orientation mode styles. if it doesn't have, then apply the default.
Also whenever orientation mode is changed, the widget itself has orient signals.



SVN revision: 83945
2013-02-15 11:06:19 +00:00
Shinwoo Kim fdc3045369 [popup] popup is now a focusable object!!
[access] omit an object on the focus cycle which does not have access information.


SVN revision: 83943
2013-02-15 10:39:00 +00:00
ChunEon Park 49ea2c7dd4 elementary/widget - don't set orient mode if the new value is same as previous one.
SVN revision: 83935
2013-02-15 05:27:09 +00:00
ChunEon Park cbaf59be98 elementary/widget - keep orient_mode has actual degree.
SVN revision: 83932
2013-02-15 04:45:53 +00:00
ChunEon Park afa738e3e6 elementary/widget - added widget orientation mode infra and 2 apis elm_object_orientation_mode_disabled_set(0, elm_object_orientation_mode_disabled_get()
Orientation Mode is used for widgets to change it's styles or to send signals
whenever it's window degree is changed. If the orientation mode is enabled
and the widget has different looks and styles for the window degree(0, 90,
180, 270), it will apply a style that is readied for the current degree,
otherwise, it will send signals to it's own edje to change it's any states if
the style doesn't be readied.



SVN revision: 83880
2013-02-14 05:38:26 +00:00
ChunEon Park f45b4efac0 elementary/widget - for consistency, revised internal func names.
SVN revision: 83865
2013-02-13 11:02:36 +00:00