ChunEon Park
97134378e1
elementary/layout - write as possible as simpler code
2014-01-10 11:23:18 +09:00
ChunEon Park
3dfef42f5f
elementary/layout - do it exactly same with smart_theme() when elm_layout_theme_set() is called.
...
now mirrored, scale and so on will be working fine.
but still wonder if the mirrored_set(), scale_set().. are called in the elm_widget_theme_object_set() inside.
then every widget won't be need to call it by theirselves...
2014-01-09 20:33:30 +09:00
Daniel Juyung Seo
fd5c046dfe
elm: Changed __UNUSED__ to EINA_UNUSED.
2014-01-06 23:33:57 +09:00
Daniel Juyung Seo
16f687b87a
multibuttonentry, genlist, layout, toolbar: Fixed dereference of null
...
pointers which were reported by clang builg.
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XZo1hW.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-isAlRt.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-8Ascv8.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-gBkVuE.html#EndPath
2014-01-06 23:26:46 +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
Amitesh Singh
0be8dbcaae
[elc_popup] - Added focus support on popup-base's swallow parts.
...
Summary:
Currently the focus was only on popup-content and popup-action area.
New API elm_layout_content_swallow_list_get() which returns the list of
swallow parts.
Test Plan: elementary_test -to popup. click on "subpopup + X button"
Reviewers: seoz, raster, woohyun
Reviewed By: raster
CC: nirajkr, aryarockstar, kashish
Differential Revision: https://phab.enlightenment.org/D375
2013-12-28 17:33:10 +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
b85558c512
layout: reset disabled status after refreshing the widget theme.
...
This fixes many potential bugs which will loose disabled status after
theme hook.
Thanks a lot kuuko for the report.
This fixes T608.
2013-12-08 04:55:42 +09:00
Daniel Juyung Seo
b4cf7588b1
layout: check the return value of elm_widget_theme_object_set() and
...
return if it fails.
Do not proceed next steps if elm_widget_theme_object_set() returns
false. Proceeding next steps has no meaning at all.
2013-12-08 04:53:49 +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
Iván Briano
6f36d30153
Restricted sizing eval for layout
...
This allows to select an axis that the layout will use its current size
to restrict the min size calculation of the inner edje, possibly helping
with textblock min size issues
2013-10-25 14:51:33 -02: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
Stefan Schmidt
e42eedf44c
elm_layout: Remove now superfluous NULL check.
...
After switching to ELM_WIDGET_DATA_GET_OR_RETURN this NULL check is no
longer needed.
CID: 1102552
2013-10-08 10:56:49 +01: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
ce232b0c61
elm_layout.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 16:37:30 +09:00
ChunEon Park
0bedba6f5f
elementary/layout - fix the layout to swallow contents again when theme is changed.
2013-09-27 02:05:00 +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
bed7dbb624
elm_layout.c: fixed typo.
2013-09-11 22:38:49 +09:00
Daniel Juyung Seo
a5eba63a3b
elm_layout.c: refactoring. moved code around for better readability like other eo codes.
2013-08-29 16:39:20 +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
c5b0d63838
fixed documentation for consistency. Gets -> Get.
...
Occurance of Get is super much higher than Gets.
So change Gets to Get for consistency.
2013-08-22 05:24:46 +09:00
Daniel Juyung Seo
ecf6eff9a4
elm: formatting fix for consistency.
2013-07-23 06:05:16 +09:00
ChunEon Park
657a0f4d18
elementary/layout - revert commit b4e1b33cbea974e7e05d61a1c37c21f97ff7eabd for the app compatibility.
2013-07-18 13:03:00 +09:00
ChunEon Park
9f9348fd8d
elementary/layout - Send visible/hidden signals whenever contents are set/unset (not only icon and end parts)
2013-07-17 10:50:08 +09:00
WooHyun Jung
27d51db839
We can change the focusable state of elm_layout by calling elm_object_focus_allow_set from application side.
2013-07-11 17:47:25 +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
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
ChunEon Park
fb78d7dbd3
elementary/layout - layout supports "language,changed" callback
2013-04-30 18:47:38 +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
b2663b9d16
elm_entry, elm_layout: fixed formatting.
...
1. fixed formatting.
2. removed unnecessary lines.
2013-04-17 14:16:56 +09:00
Daniel Juyung Seo
dce0d0e9dd
elm_layout.c: Fixed layout's _dbg_info_get() function.
...
It was crashing with the combination of clouseau + naviframe.
Special thanks to JackDanielZ.
2013-04-09 14:48:42 +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
Stefan Schmidt
9840d67f6a
elm: No need for two set of parentheses in a simple comparison.
...
Seems this got copied around. Better fix it now before it widespreads more.
2013-03-22 08:44:15 +00:00
Tom Hacohen
6612aa8189
Revert changes that slipped in (to elm_layout) that shouldn't have had.
2013-03-19 15:16:58 +00:00
Carsten Haitzler
7916fc6a88
printf - SHUSH! no debug!
2013-03-19 11:05:43 +09:00
Tom Hacohen
d75cb616da
Change usage of eo_do_super to the new prototype.
2013-03-18 16:15:12 +00:00
Shinwoo Kim
82053ab780
[layout][access] access object on a layout could not be a child of the layout eventhough it is a child actually, because the access object could not be swallowed.
2013-03-18 17:55:09 +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
Daniel Juyung Seo
395e58265c
elm elm_layout.c: fixed a document typo.
2013-03-01 00:18:58 +09:00
Tom Hacohen
912eac55ce
Elm layout: Expose some clouseau information.
...
SVN revision: 84241
2013-02-19 16:23:27 +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
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
Jaehwan Kim
a36ec132c7
Fix the bug which the callbacks of the sub-object are added even if the sub-object is already added the parent object.
...
SVN revision: 82053
2013-01-03 09:52:57 +00:00
Cedric BAIL
91dc461a8d
elementary: move code around for better readability.
...
SVN revision: 79871
2012-11-30 07:55:49 +00:00
WooHyun Jung
5147620d6c
[elementary/elm_layout] There can be the cases with no aliases and no part name. Then EINA_FALSE should be returned.
...
Should All widgets(including elm_layout) have default aliases? or Not?.
SVN revision: 79861
2012-11-30 06:18:48 +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