Commit Graph

380 Commits

Author SHA1 Message Date
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
Carsten Haitzler 730986d1f1 unbreak hermet commit. :)
SVN revision: 83860
2013-02-12 22:04:30 +00:00
ChunEon Park 19c9d98d7e elementary/widget - added elm_widget_item_translate(). Now each item can be translated by calling this.
SVN revision: 83859
2013-02-12 15:14:38 +00:00
ChunEon Park fef0b0cadd elemenatry/widget - removed incorrect call in widget_translate.
SVN revision: 83858
2013-02-12 13:03:17 +00:00
ChunEon Park 34f27273f9 elementary - removed duplicated logic from translatable_part_text_set()/get().
SVN revision: 83857
2013-02-12 13:00:37 +00:00
ChunEon Park 09dc0877a0 elemenatry - replace elm_object_domain_translatable_text_part_set()/text_part_get() with elm_object_domain_transltable_part_text_set(), part_text_get()
SVN revision: 83856
2013-02-12 11:43:39 +00:00
ChunEon Park 867084e7ba elementary - added elm_object_item_translatable_part_text_set() elm_object_item_translatable_part_text_get()
SVN revision: 83852
2013-02-12 10:38:33 +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
ChunEon Park 02c013627e elementary/widget - something context change left this incompleted code?
SVN revision: 83774
2013-02-08 09:24:05 +00:00
Shinwoo Kim dec42885c9 [access] show highlighted object region, _elm_widget_focus_region_show(); would be exported
SVN revision: 83619
2013-02-05 10:08:42 +00:00
Tom Hacohen 6630e65a31 Elementary: Use new eo dbg type.
SVN revision: 83444
2013-01-29 16:36:13 +00:00
Aharon Hillel 52c035994d Added debug info functions for Clouseau. From now, classes implementing
the Eo function with id EO_BASE_SUB_ID_DBG_INFO_GET will be able to show
in Clouseau their own specific information.
Information contents handling is controlled by the class itself and
no more by Clouseau. Basic types are supported, as couple of ints,
couple of doubles, colors and lists.

Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 83411
2013-01-29 06:37:01 +00:00
Shinwoo Kim 8ffacbf583 [access] The read next/prev message does not move focus but move highlight only, the focus moves when the activate message is detected.
SVN revision: 83379
2013-01-28 11:13:18 +00:00
WooHyun Jung 079b7c1ec6 elementary/elm_widget : Removed evas_object_smart_data_get and applied eo_data_get.
SVN revision: 83370
2013-01-27 12:14:23 +00:00
Daniel Juyung Seo 59e27f020a elm elm_widget.c: Mark internal functions.
SVN revision: 83352
2013-01-26 09:55:18 +00:00
WooHyun Jung f1a4dc385c elementary/elm_widget : A widget which doesn't have focus_region_get should give its width and height for correct focus_region_show.
SVN revision: 83347
2013-01-26 06:53:10 +00:00
WooHyun Jung 1e2e63d899 elementary/focus : Now, widget itself is the object which gets mouse_up event for stealing focus from another object.
By this change, a widget with scroller interface can change its focus state before adding parent class.


SVN revision: 82853
2013-01-16 04:40:51 +00:00
Daniel Juyung Seo 081f9f8006 elm: Restructuring codes to remove dead codes.
SVN revision: 82445
2013-01-09 09:02:22 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Daniel Juyung Seo 443d838758 elm elm_widget.c: ;; is not sexy.
SVN revision: 82038
2013-01-03 06:12:51 +00:00