Commit Graph

39 Commits

Author SHA1 Message Date
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +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
Gustavo Lima Chaves 36ebfc9972 [Elm] Fix wrong info on focus test.
SVN revision: 69570
2012-03-22 19:25:40 +00:00
Jihoon Kim e95974c024 elementary_test: change 0 -> EINA_FALSE, 1 -> EINA_TRUE
SVN revision: 67999
2012-02-16 04:55:08 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +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
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
Boris Faure b2b36ebbc0 elm: elm_object_text_part_set/get() is deprecated
use elm_object_part_text_set/get().
This change is done so that it matches
edje_object_part_text_set/get().

SVN revision: 65310
2011-11-16 20:17:25 +00:00
Michael BOUCHAUD 5a95dec825 elementary: fix test
SVN revision: 64577
2011-10-31 16:20:10 +00:00
ChunEon Park f856c0e9fe elementary - slider, scroller, progressbar, radio
applied elm_object_content_set/get/unset APIs. 



SVN revision: 64542
2011-10-31 02:56:03 +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
ChunEon Park dc180b67ce elementary/layout - deprecated elm_layout_content_set/get_unset
SVN revision: 64403
2011-10-26 00:46:16 +00:00
Bruno Dilly 5c28065815 Elementary: remove some more deprecated functions usage
Missed on previous commits


SVN revision: 64366
2011-10-24 23:44:21 +00:00
Mike Blumenkrantz 82df90462a remove all use of elm_toggle_ api
SVN revision: 64207
2011-10-20 21:27:15 +00:00
Jérémy Zurcher a0366f0ef1 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62796
2011-08-25 10:01:59 +00:00
WooHyun Jung 85351c10c5 elementary : Focus movement is possible with arrow keys. You can check
this feature in elementary_test -> focus. 


SVN revision: 62125
2011-08-05 08:25:07 +00:00
Tom Hacohen bafb5ce6b8 Elm bubble: Fix code to use the new elm_object_text_set/get API.
SVN revision: 60996
2011-07-04 10:14:14 +00:00
Tom Hacohen 8df2bb821d Elm frame: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60806
2011-06-29 09:11:48 +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
Carsten Haitzler c44f45485f big move forward. scrolled entry and entry merge into entry. entry now
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.



SVN revision: 60438
2011-06-17 09:44:31 +00:00
Tiago Rezende Campos Falcao f3b2aaffa3 Replace focus_jump by focus_cycle in disabled_set
elm_widget_disabled_set was calling focus_jump and it broke the focus tree.
Now, using focus_cycle to pass focus to next object.

Added test to disable focused button in test_focus.

SVN revision: 55408
2010-12-09 13:07:39 +00:00
Bruno Dilly ad9b687305 Remove unused var on test_focus
SVN revision: 55096
2010-11-30 18:51:16 +00:00
Tiago Rezende Campos Falcao 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Lucas De Marchi 020605f4a1 Don't forget the QUICKLAUNCH guards
Compiling this code with CFLAGS="-ffunction-sections -fdata-sections"
and LDFLAGS="-Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections"
was giving me the following messages:

/usr/bin/ld: Removing unused section '.text._on_key_down' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.my_show' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.rodata' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.test_focus' in file 'elementary_testql-test_focus.o'

The issue was the missing guards.



SVN revision: 54600
2010-11-16 18:36:47 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Tiago Rezende Campos Falcao d959e612eb Adding custom chain to focus.
Added set, get, unset, prepend and append (relative or not).

Set - overwrite the custom chain
Unset - Delete the custom chain
Get- Return the custom chain
Append - append after the relative object or in the end
Prepend - prepend before the relative object or in the start

SVN revision: 53115
2010-10-06 20:24:22 +00:00
Tiago Rezende Campos Falcao c3e3585e83 Optimized Linear Focus Chain
Before, the focus_cycle try pass the focus to next, and try again if
need loop the objects. Now, the focus cycle return possible next
object and if is necessary loop or not to focus this returned object.

SVN revision: 53111
2010-10-06 20:24:09 +00:00
Tiago Rezende Campos Falcao 6882817852 Adding focus cycle hook to pager, bubble and flip.
SVN revision: 52961
2010-10-01 19:03:02 +00:00
Tiago Rezende Campos Falcao e29b0b64b4 Adding focus cycle hook to Inwin and Frame.
SVN revision: 52960
2010-10-01 19:02:58 +00:00
Tiago Rezende Campos Falcao 6fd3d0b565 Better management to focus cycle.
Now Widgets can control between children interation or receive focus
itself. And focus_cycle has now one default code.

And don't pass focus to disabled widgets

SVN revision: 52959
2010-10-01 19:02:55 +00:00
Tiago Rezende Campos Falcao 697a5ad65e Rename Buttons Labels in test_focus
SVN revision: 52958
2010-10-01 19:02:51 +00:00
Tiago Rezende Campos Falcao 42b6280dc1 Focus Cycle Chain to Table
SVN revision: 52815
2010-09-27 21:13:36 +00:00
Tiago Rezende Campos Falcao 3660486ed2 Panel fixed and is now focusable.
The old theme start show animation on obj show, if you want
disabled by default it doesn't work well. I changed the theme
default to be visible, don't need animation on "show".

And hidden_set was with inverted logic.

The focus highlight is in theme. And the widget react to
Return/Space.

SVN revision: 52814
2010-09-27 21:13:32 +00:00
Tiago Rezende Campos Falcao 42fab88a0e Focus test win is now resizeable
SVN revision: 52693
2010-09-24 16:46:59 +00:00
Tiago Rezende Campos Falcao 113ad55d2e Focus Linear Chain for some Widgets
Containers implemented (and with test):
* Win
* Box
* Scroller
* Layout
* Panel

SVN revision: 52686
2010-09-24 14:47:59 +00:00