Commit Graph

151 Commits

Author SHA1 Message Date
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
Daniel Juyung Seo 87b3d7d5b5 ctxpopup: Fixed typo and flourished comment. 2014-01-22 15:20:24 +09:00
Jihoon Kim 54ec084e76 fix some typos in comment and description 2014-01-22 13:20:15 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +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
ChunEon Park 8f59ba7a1f elementary/ctxpopup - no need to use RESTACK callbacks anymore.
Now bg is smart member of the internal object.
let it have a behavior as the member of the smart object.
don't need to care it additionally.
2014-01-15 15:10:32 +09:00
Bora Hwang f4933dc49c ctxpopup: set smart member relationship for objects in ctxpopup
Summary:
to support mouse_down/up/move callbacks of ctxpopup,
all objects in ctxpopup should be in smart relationship with ctxpopup.
Also, with this patch, bg object and arrow object don't have to be called with
evas_object_show or evas_object_hide when ctxpopup is shown or hidden

Reviewers: Hermet, seoz, raster, thiepha

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D458
2014-01-15 14:42:13 +09:00
Daniel Juyung Seo 45ee408180 ctxpopup, entry: Check widget type by eo_isa not by evas_object_type
string compare.
2014-01-13 23:14:44 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +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 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
Daniel Juyung Seo 329190ce99 ctxpopup: disable content correctly on smart disable.
This is a fix of commit 1932e6713104bfe752097dab8b6902ed86b58493
2013-12-15 03:47:43 +09:00
ChunEon Park a50d31125d elementary/ctxpopup - disable the contents when they are exist. 2013-12-13 11:21:08 +09:00
Daniel Juyung Seo 88a8c46af3 ctxpopup, player, slideshow, spinner, toolbar, video: internal refactoring of smart event routines.
Now most of smart events codes look consistent.
2013-11-13 10:29:30 +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
WooHyun Jung eefe821c59 elementary/elc_ctxpopup.c : Focus-direction-go should be tried after checking focus next object. 2013-10-31 16:50:48 +09:00
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Daniel Juyung Seo 8ec25b69fb elm: Added missing undefs. 2013-10-19 02:20:34 +09:00
Carsten Haitzler 6da4e97e3f ctxpopup - fix double show emit. 2013-10-16 20:17:57 +09:00
deasung.kim 34d32ef9cf ctxpopup: fix elm_object_content_unset didn't unpack content from box
Reviewers: seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D261
2013-10-08 15:41:06 +09:00
Carsten Haitzler 95fdc9cc88 fix up namespace for many signal while keeping old versions for compat 2013-10-05 21:35:27 +09:00
Daniel Juyung Seo 6094439463 elc_ctxpopup.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:11:57 +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 280987dd1d ctxpopup, fileselector, fileselector_button, fileselector_entry, actionslider: apply more signal macro. 2013-09-03 08:39:02 +09:00
ChunEon Park fe0f0a445e elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary setups again when obj <-> sub has connected.
2013-08-27 00:29:45 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
ChunEon Park cdae0e4064 elementary/ctxpopup - more clean code. 2013-06-24 09:54:16 +09:00
ChunEon Park 72f639543c elementary/ctxpopup - apply current ctxpopup style to the internal list. 2013-06-23 02:23:23 +09:00
ChunEon Park 36ad1cc0e8 ctxpopup - block mouse events when ctxpopup is on dismiss. 2013-06-22 15:21:00 +09:00
Daniel Juyung Seo f1b685897d elm: do not declare SIG_FUCSED/SIG_UNFOCUSED if the const char is not used more than once.
ctxpopup, fileselector_button, naviframe, player, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 7b71bd1973 ctxpopup, fileselector_button, naviframe, player, popup, bubble, button: added "focused" and "unfocused" documentations. 2013-06-09 18:54:43 +09:00
WooHyun Jung 9c690eb61a elementary/elc_ctxpopup : When content is not internal elm_list, focus direction should be controlled inside ctxpopup. 2013-05-30 15:24:32 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
ChunEon Park fc807ab7f6 ctxpopup - Don't be dead even if a ctxpopup item callback function is null. 2013-05-02 20:25:42 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
ChunEon Park ff10726141 elementary/ctxpopup, hoversel, naviframe, multibuttonentry, popup, diskselector, list, menu, segment_control, toolbar - support widget item language change 2013-04-23 20:30:15 +09:00
WooHyun Jung 8a6c6c0827 elc_ctxpopup.c : Add focus_direction and fixed wrong focus set when sd->list exists. 2013-04-09 22:24:53 +09:00
Daniel Juyung Seo cc0c10f9d9 elc_ctxpopup.c: Do not calculate its size until parent is set.
We don't need to calculate ctxpopup's size until the parent is set.
Size will be calculated again after the parent is set.
2013-04-08 19:29:19 +09:00
Ryuan Choi 7f4c7d2f72 ctxpopup: Fixed crashed when sd->parent is null after 9c3d78b. 2013-04-07 22:47:48 +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 73f58db6cc ctxpopup: Fixed ctxpopup geometry when parent is an elm_win. Forwardport from elementary-1.7.
This is manual cherry-pick from discomfitor's elementary-1.7 patch due to the code base difference.
2013-03-29 21:29:24 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00: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
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Shinwoo Kim bf0ff25e5d [ctxpopup] proper restacking, previous restack callback makes the bg be top of the ctxpopup.
SVN revision: 84245
2013-02-20 02:30:04 +00:00
Shinwoo Kim b534e20062 [access][ctxpopup][popup] parent could be any object such as elm_list which does
not know ctxpopup, popup as its child object in the focus_next();.



SVN revision: 83884
2013-02-14 09:20:54 +00:00
ChunEon Park 9dd44ce852 elementary/ctxpopup - ctxpopup will be dismissed when the language is changed.
SVN revision: 83841
2013-02-12 06:58:05 +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 a21980118b elementary/ctxpopup - [E-devel] [PATCH] [Elementary] Fix memory leak and callback function in ctxpopup
Hello everyone,

There are two issues with ctxpopup:
- Memory leak: Elm_Ctxpopup_Item is used but not deleted.
- Incorrect callback function: returned object and event_info are list object and item
(should be ctxpopup object and item).

I would like to send a patch to fix above issues.
I also provide the patch for backporting.
Please review them.

Best Regards,
Thiep 

Signed-Off-By: Theip Ha<thiep.ha@samsung.com>



SVN revision: 82968
2013-01-18 09:07:03 +00:00
ChunEon Park ee37e89a1c elementary/ctxpopup - [E-devel] [Patch] when parent of ctxpopup is resized, call dismissed signal
Before the patch, when window of device which has elementary rotates,
the ctxpopup doesn't emit the "dismissed" signal to application.
For this reason, if an application developer wants to make an event using "dismissed" signal when device rotates,
he/she cannot do anything.

But after add evas_object_smart_callback in the function "_on_parent_resize",
this problem is resolved.
That means, whether a device is rotated or not, when ctxpopup disappears, "dismissed" signal is emitted.
So I want you to check this patch.

Thank you.

Signed-Off-By: Bora Hwang<bora1.hwang@samsung.com>



SVN revision: 82918
2013-01-17 04:44:05 +00:00