Commit Graph

140 Commits

Author SHA1 Message Date
Carsten Haitzler 17ffbd6448 elm - focus feature - add config option to automatically show/hide focus
this adds logic in elm widget and elm win to figure out how to
automatically show a focus hilight when switching focus, or to hide
it. this really should be the default mode, thus in all default
profiles (default, standard, mobile) it's turned on. this means if you
tab or shif+tab or use arrow keys to switch focus, the focus hilight
will magicallly appear. click with a mouse to change focus and it'll
disappear assuming you want to use the mouse to do things. If focus is
explicitly turned on in config or in the window by api, then this has
no effect and focus will remain on all the time. this adds apis to
change these config values and options in the default elm config tool
to swizzle them as well as config upgrade handling for existing configs.

@feature
2015-03-04 17:47:54 +09:00
Jaeun Choi 9f1dba2909 config: fix config name
@fix
2015-03-03 13:36:53 +09:00
Jaeun Choi 2fdfbd5aac gengrid: select the focused item on enter key input
there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix
2015-02-12 19:15:57 +09:00
Jaeun Choi abf1693705 genlist: select the focused item on enter key input
there was no way to select an item with key input on ELM_ITEM_SELECT_ON_FOCUS_DISABLE mode.
this patch enables select and multi select with enter/space key input.

@fix
2015-02-12 17:53:55 +09:00
Anil Kumar Nahak 6d1d6dec7c Slider: Added APIs to set/get slider's indicator visibility mode.
Summary:
elm_config_slider_indicator_visible_mode_set
elm_config_slider_indicator_visible_mode_get

The patch will enable the slider's indicator to get

visible always
visible on focus
visible never
visible on slider value change

Reviewers: raster, seoz

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D1558
2014-11-29 15:56:45 +09:00
Lukasz Stanislawski d390ddf08d elm config: add key bindings for elm_actionslider
Allow changing value of actionslider with keyboard. Make actionslider
focusable widget.

@feature

Conflicts:
	config/default/base.src.in
	config/mobile/base.src.in
	config/standard/base.src.in
2014-11-29 15:34:08 +09:00
maxerba c0f0c763ef Updating desktop files 2014-09-11 22:06:39 +02:00
Carsten Haitzler a2be4ab2a4 elm config - dont need default engine in config anymore 2014-08-26 19:27:07 +09:00
Anil Kumar Nahak 76e3372531 Focus: first item should be focused when there is no focused/selected item
Summary: First item of widget should be focused when focus comes to the widget for first time.

Test Plan:
elementary_test -to "Genlist Focus"
elementary_test -to "Gengrid Focus"
elementary_test -to "List Focus"
elementary_test -to "toolbar Focus"

Reviewers: seoz

Differential Revision: https://phab.enlightenment.org/D1135
2014-07-21 18:55:55 +09:00
Vincent Torri 44b2c2bbb9 backend: add default engine support for Windows and Mac OS X 2014-06-12 03:12:56 +02:00
Carsten Haitzler 3b6d64b85e default theme - make finger size 10 2014-05-22 18:46:36 +09:00
maxerba a3dfbd4017 Updating translations 2014-05-19 21:54:30 +02:00
Daniel Juyung Seo 45e8b4c82e focus: Change new API names related to focus auto scrolling.
elm_config_focus_auto_scroll_bring_in_enabled_get/set()
 ->
elm_config_focus_autoscroll_mode_get/set()

The main reason is that bring_in_enabled_get/set() APIs are too restricted
and thus not flexible. I got more requirements for the focus autoscrolling
such as none, wholely visible not just bring_in and show. So it is correct
to add mode_set/get() APIs for the focus auto scrolling.

Thanks god, we've found this before the release :)

@feature
2014-05-11 22:46:16 +09:00
Amitesh Singh 8e0ffb8332 config: Added two APIs to enable/disable focus auto scroll bring in feature.
Summary:
 Summary:
    - APIs
      - elm_config_focus_auto_scroll_bring_in_enabled_set
      - elm_config_focus_auto_scroll_bring_in_enabled_get
    - list/genlist/toolbar/gengrid: Using this feature for scrolling for focus movement.
    - Added test case in "List Focus", "Genlist Focus", "Toolbar Focus" and "Gengrid Focus"

    @feature

Test Plan: elementary_test->"List Focus", "Genlist Focus", "Toolbar Focus" & "Gengrid Focus".

Reviewers: raster, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D799
2014-04-27 04:15:26 +09:00
Jaeun Choi 392efbb5de config: modified widget name in key binding config 2014-04-25 16:55:50 +09:00
Jaeun Choi aa2c7a5b8a config: add missing config for slider key binding 2014-04-25 15:23:03 +09:00
Daniel Juyung Seo c24d8881ef config/.gitignore: removed unnecessary gitignore rule.
There is no illume profile.
2014-04-23 22:51:24 +09:00
Jaeun Choi 10c82f4269 multibuttonentry: add key binding in config files
Summary:
This patch adds multibuttonentry key binding info into config files.
Multibuttonentry has some issues in event handling so not suitable for key binding yet.
So, added key binding info first to upgrade config version.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D767
2014-04-18 12:07:07 +09:00
Daniel Juyung Seo c1613811e7 spinner: Fixed broken focus movement by direction key.
This was broken by c9755bd3c828bcd2453a50542331b201089a7160.
2014-04-18 04:25:43 +09:00
Jaeun Choi 099fbbc79f spinner: apply key binding
Summary: This patch applies key binding to elm_spinner.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D752
2014-04-17 16:03:48 +09:00
Jaeun Choi e88c793425 ctxpopup: apply key binding
Summary: This patch applies key binding to elc_ctxpopup.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D754
2014-04-17 15:41:50 +09:00
Jaeun Choi edeea1eb96 flipselector: apply key binding
Summary: This patch applies key binding to elm_flipselector.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D745
2014-04-16 17:29:16 +09:00
Jaeun Choi 8b8a4b6922 gengrid: apply key binidng
Summary: This patch applies key binding to elm_gengrid.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D744
2014-04-16 17:29:16 +09:00
Jaeun Choi fc491c7c6c genlist: apply key binding
Summary: This patch applies key binding to elm_genlist.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D743
2014-04-16 17:29:16 +09:00
Jaeun Choi 40704d6d43 win: apply key binding
Summary: This patch applies key binding to elm_win.

Test Plan: None

Reviewers: Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D741
2014-04-16 10:38:34 +09:00
Jaeun Choi 33465d260a config: bug fix in popup key binding
Summary: This patch changes 'Tap' into 'Tab'.

Test Plan: None

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D739
2014-04-15 16:41:16 +09:00
Jaeun Choi 48a4a4add7 video: apply key binding
Summary: This patch applies key binding to elm_video.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D738
2014-04-15 16:09:12 +09:00
Jaeun Choi 2411bf5c62 toolbar: apply key binding
Summary: This patch applies key binding to elm_toolbar.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D737
2014-04-15 16:07:52 +09:00
Jaeun Choi 840e1fa07f slideshow: apply key binding
Summary: This patch applies key binding to elm_slideshow.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D736
2014-04-15 16:07:41 +09:00
Jaeun Choi 10fb0a3f30 photocam: apply key binding
Summary: This patch applies key binding to elm_photocam.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D735
2014-04-15 16:07:17 +09:00
Jaeun Choi 660591102a radio: apply key binding
Summary: This patch applies key binding to elm_radio.

Test Plan: None

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D734
2014-04-15 14:54:58 +09:00
Jaeun Choi d8d53f4268 map: apply key binding
Summary: This patch applies key binding to elm_map.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D733
2014-04-15 14:52:06 +09:00
Jaeun Choi 3449c44221 image: apply key binding
Summary: This patch applies key binding to elm_image.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D732
2014-04-15 14:49:35 +09:00
Jaeun Choi 71149158e2 popup: apply key binding
Summary: This patch applies key binding to elc_popup.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D731
2014-04-15 14:47:19 +09:00
Jaeun Choi 16dd06bb8e player: apply key binding
Summary: This patch applies key binding to elm_player.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D730
2014-04-15 14:46:39 +09:00
Jaeun Choi e6d6066581 hoversel: apply key binding
Summary: This patch applied key bindiing to elc_hoversel.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D729
2014-04-15 14:40:38 +09:00
Jaeun Choi 530fcf2d8c fileselector: apply key binding
Summary: This patch applies key binding to elm_fileselector.

Test Plan: elementary_test > fileselector > check key events

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D728
2014-04-15 13:58:01 +09:00
Jaeun Choi fbcadfd87a list: apply key binding
Summary: This patch applies key binding to elm_list.

Test Plan: elementary_test > list > check key events

Reviewers: Hermet, raster, seoz

Differential Revision: https://phab.enlightenment.org/D727
2014-04-15 13:13:57 +09:00
Jaeun Choi 872a1de3c9 key binding infra change for modifiers
Summary: This patch makes key binding support multiple and inverse modifier set.

Test Plan: None

Reviewers: raster, Hermet

Differential Revision: https://phab.enlightenment.org/D717
2014-04-14 19:47:52 +09:00
Jaeun Choi bf7db13385 removed unnecessary field in key binding
Summary: No need to check ev->string if use ev->key instead of ev->keyname.

Test Plan: None

Reviewers: raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D714
2014-04-10 19:29:37 +09:00
Jaeun Choi 624b278c44 scroller: apply key binding
Summary: This patch applies key binding to elm_scroller.

Test Plan: elementary_test > Scroller > check key events

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D711
2014-04-10 17:10:00 +09:00
Jaeun Choi df2b76dcc1 naviframe: apply key binding
Summary: This patch applies key binding to elc_naviframe.

Test Plan: elementary_test > Naviframe > check key events

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D709
2014-04-10 11:14:59 +09:00
Amitesh Singh 68b3bc3583 focus: Renamed the config APIs _item_focus_on_selection_get/set to _item_select_on_focus_disabled_set/get()
Summary: - List: On Enter/Space/KP_Enter key press, focused item gets selected.

Test Plan: elementary_test->List Focus

Reviewers: seoz, raster

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D704
2014-04-06 00:10:55 +09:00
Amitesh Singh 73b16ef210 focus: Added optional focus feature - item focus on selection.
Summary:
Currenly focus and selection happens together. This patch makes item focus
on selection optional by configuration and API.

- configuration: "item_focus_on_selection".
- API: elm_config_item_focus_on_selection_get/set.
- Implemented item_focus_on_selection feature in elm list.
@feature

Test Plan: elementary_test->List focus

Reviewers: raster, seoz, woohyun

CC: seoz

Differential Revision: https://phab.enlightenment.org/D676
2014-04-03 19:11:57 +09:00
Jaeun Choi 121f5446c7 check, colorselector, calendar, diskselector: apply key binding
Summary:
apply key binding to 4 widgets
this revision is only for reviewing
I'll send 4 seperate patches after review is done.

Test Plan: None

Reviewers: Hermet, seoz, raster

Differential Revision: https://phab.enlightenment.org/D678
2014-04-01 11:10:25 +09:00
Carsten Haitzler 2291c37875 Revert "adding focus direction for gengrid"
This reverts commit 4fe82cc740eda0c6b50ee09aedcf173aac1e775d.
2014-03-24 18:02:03 +09:00
m.zielonka 32751ac33b adding focus direction for gengrid
Summary:
It is implementation of focus_direction method for gengrid widget.

We need it in our project. We must service focus by
directions and we want to use gengrid widget. Additionally we must
support changing focus by keyboard (TV remote).
Unfortunately gengrid hasn't default implementation to present its
sub-objects as candidates for focus direction.

Our solution can search for focusable sub-objects (from realized items)
and change then focused and last selected variables in gengrid. If this
candidate wins then object will receive focus.

Reviewers: cedric, raster

CC: raster, seoz

Differential Revision: https://phab.enlightenment.org/D449
2014-03-24 16:38:27 +09:00
Daniel Juyung Seo 46506cf22e focus: Added optional focus feature - focus movement by mouse_in.
Focus is moved by mouse click by default. This patch makes moving focus
by mouse_in optionally by configuration and API. Widget item focus
movement is not applied yet. Need to do that as well.

- configuration: "focus_move_policy"
- API: elm_config_focus_move_policy_set/get
- enum
  ELM_FOCUS_MOVE_POLICY_CLICK
  ELM_FOCUS_MOVE_POLICY_IN

@feature
2014-03-23 02:04:16 +09:00
Daniel Juyung Seo cc006b547f mobile config: Added key bindings to mobile profile.
We can still use keyboards with Mobile profile when you attach your
keyboard with bluetooth or connect the keyboard physically.
2014-03-22 19:21:38 +09:00
Jaeun Choi d6acf211cc elm_button: apply key binding
Summary: This patch applies key binding to elm_button.

Test Plan: elementary_test > Button > check key events

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D646
2014-03-22 14:31:49 +09:00