Commit Graph

38 Commits

Author SHA1 Message Date
Daniel Juyung Seo 805590526e test_notify,popup: Add key event reacting examples.
There is a bug in notify. This test reveals the bugs :)
2014-11-24 15:29:41 +09:00
Youngbok Shin 40bc9198aa label: Reset sd->lastw as '-1' in some elm_label APIs for ensure the sizing_eval.
Summary:
In some cases, elm_label doesn't calculate its min size if it is not resized from outside.
It is happened when only elm_label used with elm_label_line_wrap_set API.
The following APIs can change min size of the widget, so we can't skip the sizing_eval func.

elm_label_line_wrap_set
elm_label_line_width_set
elm_object_text_set -> _elm_label_elm_layout_text_set will be called.

@fix

Test Plan:
I put a change to test_notify.c for test.
elementary_test notify
-> click "top" button. -> You can't see elm_label without the patch.

Reviewers: woohyun, tasn, seoz

Reviewed By: seoz

Subscribers: herdsman

Differential Revision: https://phab.enlightenment.org/D1652
2014-11-10 14:06:32 +09:00
WooHyun Jung d0fc678c1a notify_test: When elm_notify is shown, set focus to it. 2014-04-29 15:39:41 +09:00
Daniel Juyung Seo d955c579ca elm_test: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:08 +09:00
Daniel Juyung Seo d5a74454ee elm_test: call evas_object_show(win) after its content creation.
- refer commit 64fd5a825b24591aedb9cac695d03f5b4d867442 for the detail
explanation.
- also move evas_object_resize(win, xx) alongside evas_object_show(win).
2013-12-15 05:47:39 +09:00
Jean-Philippe Andre 877e122e7a elementary_test: remove ELM_LIB_QUICKLAUNCH
Refer to the previous commits for the reason.
Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
2013-11-05 10:05:01 +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
Daniel Juyung Seo 83db5ad972 elm_test: __UNUSED__ -> EINA_UNUSED. 2013-09-01 10:18:03 +09:00
Daniel Juyung Seo 264bbe0d8f elm test: Correct elm_win_resize_object_set() usage. Call evas_object_size_hint_weight_set() before calling elm_win_resize_object_set().
SVN revision: 79281
2012-11-14 10:49:45 +00:00
Seunggyun Kimsgyun.kim 831b094697 elementary - RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78655
2012-10-30 13:14:45 +00:00
ChunEon Park 71840e45d5 elementary - sorry i pushed together which should not be
SVN revision: 78654
2012-10-30 13:11:53 +00:00
Seunggyun Kimsgyun.kim 87635d081e RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78653
2012-10-30 13:09:33 +00:00
Mike Blumenkrantz e14d40fc97 typos in notify test
SVN revision: 71788
2012-06-07 09:52:14 +00:00
Daniel Juyung Seo 7f2fc8ef80 elm bin: Use convenient utility function elm_win_util_standard_add()
instead of elm_win_add() + elm_bg_add(). This is for normal style
(ELM_WIN_BASIC) window.

SVN revision: 69848
2012-04-02 06:20:28 +00:00
Daniel Juyung Seo e838d6d2f2 Revert a wrong commit. Un-wanted files are committed together.
Revert "elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window."

This reverts commit 31b24a0edb0028528d7c859070e03236ba42867b.

SVN revision: 69847
2012-04-02 06:20:22 +00:00
Daniel Juyung Seo b4308ab089 elm bin: Use convenient utility function elm_win_util_standard_add() instead of elm_win_add() + elm_bg_add(). This is for normal style (ELM_WIN_BASIC) window.
SVN revision: 69845
2012-04-02 06:07:58 +00:00
Mike Blumenkrantz cf8ab5c674 for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS
SVN revision: 69764
2012-03-29 19:27:13 +00:00
Carsten Haitzler d59ea1baad make notify repeat events be allow_events... as thats what it really
does.



SVN revision: 68685
2012-03-05 09:50:32 +00:00
Tom Hacohen c45ce564dc Elm test: Update tests to use the new self-closing textblock tags.
SVN revision: 66026
2011-12-08 12:39:18 +00:00
ChunEon Park f3066c815f elemetary - notify, factory, frame, panel, mapbuf
applied content_set/get/unset. 

do it later for the remainder. 



SVN revision: 64502
2011-10-29 04:32:24 +00:00
Daniel Juyung Seo d473e343eb elm test: Refactoring. Changed 1 to EINA_TRUE for Eina_Bool parameter of elm_win_autodel_set() API.
SVN revision: 61695
2011-07-25 14:22:19 +00:00
Tom Hacohen 36be2846c9 Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
2011-06-29 07:11:54 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Daniel Juyung Seo 7023c0006d Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters.
SVN revision: 58688
2011-04-15 11:44:05 +00:00
Daniel Juyung Seo 929e09c02f Elementary test_notify.c: Removed redundant line.
SVN revision: 57456
2011-03-01 13:48:42 +00:00
Daniel Juyung Seo 84145a320e Elementary test: Fixed window name and window title name.
Unified window name like "genlist2", "genlist-group".
Unified window title name like "Genlist 2", "Genlist Group".


SVN revision: 57214
2011-02-21 15:33:40 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Gustavo Lima Chaves eb19982d50 Elm notify: better docs and fitting new API.
SVN revision: 52854
2010-09-28 16:56:34 +00:00
Tiago Rezende Campos Falcao d5b17baf0f Elm Notify timeout are double.
And only start timer when visible.
The previous code don't start the timer if timer was changed from
disabled to one valid value.

SVN revision: 52817
2010-09-27 21:13:45 +00:00
Gustavo Lima Chaves 836b0ea1c0 Elm notify's new signal: "timeout".
Also changing elm_notify_timeout_set()'s behavior: it won't init the
timer itself, unless there was a previous one running.



SVN revision: 52810
2010-09-27 19:52:56 +00:00
Lucas De Marchi 54531a69ed FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
김지훈 6fdc31d541 From: 김지훈 <jihoon48.kim@samsung.com>
I send the elm_notify patch for showing in the center of screen.
This patch is developerd by Hee Seo.

<--->

Looks good. simple. straighforward. into svn it goes!



SVN revision: 45320
2010-01-19 06:57:25 +00:00
Jonathan Atton fca192b469 Elm menu, slideshow and notify: remove warnings
SVN revision: 43993
2009-11-25 21:06:23 +00:00
Christopher Michael 8f270a63e8 Revert back to old panel code for now. This will get fixed someday, time
permitting.



SVN revision: 43712
2009-11-15 16:14:51 +00:00
Jonathan Atton 7be1d94aa2 Elm: use evas_object_event_callback_del_full() everywhere and improve elm_notify
SVN revision: 43217
2009-10-22 22:10:23 +00:00
Christopher Michael 528b304c12 Formatting on menu & notify.
Some cleanup for panel widget...still no where near complete tho.



SVN revision: 43137
2009-10-18 00:10:36 +00:00
Christopher Michael 4edc6ac299 EVAS_HINT_EXPAND/EVAS_HINT_FILL changes in mass.
(Built and tested)



SVN revision: 42779
2009-09-28 19:23:33 +00:00
Jonathan Atton 07967b25e2 elementary new widget: notify. See elementary_test
SVN revision: 42643
2009-09-23 11:15:55 +00:00