2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend/ui/widget
onde2rock dfd87447da [UX] Make the reader bottom menu compatible with key navigation (#3785)
* [toggleswitch] Add support for key navigation to this widget

Add the onFocus an onUnfocus event handler
add a new function that just circle the switch if not touch event is
detected

* Add key navigation to the readermenu

The shortcut is still Alt-gr on sdl, to be defined on Kindle

* Remove the old method of handling the Press key.

Now the event is handled by the main widget who implement focusmanager
and then dispatched to the currently focused item.
Modify the fine font tuning only for non touch-devices

See : https://github.com/koreader/koreader/pull/3785#issuecomment-375306466
2018-03-22 21:01:38 +01:00
..
container Kindle4NT improvements (#3745) 2018-03-14 22:16:38 +01:00
bboxwidget.lua Added Size module 2017-09-23 20:24:45 +02:00
bookstatuswidget.lua UIManager: avoid painting widgets covered by a full screen widget (#3770) 2018-03-17 23:02:32 +01:00
button.lua Add new options to screensaver (#3535) 2017-12-17 18:27:24 +01:00
buttondialog.lua Add MovableContainer: allow moving some widgets (#3636) 2018-01-29 21:27:24 +01:00
buttondialogtitle.lua Add MovableContainer: allow moving some widgets (#3636) 2018-01-29 21:27:24 +01:00
buttonprogresswidget.lua More contrast settings (#3463) 2017-11-04 15:31:41 +01:00
buttontable.lua Allow opening hold menu on non touch devices (#3765) 2018-03-18 11:42:35 +01:00
checkbutton.lua [feat, UX] Add new OpenWithDialog based on RadioButton and RadioButtonTable (#3678) 2018-02-11 20:46:18 +01:00
checkmark.lua [UX] Add CheckButton and use it for show password 2017-08-20 11:44:15 +02:00
closebutton.lua Fix some widget title height and close button alignment (#3366) 2017-10-16 17:51:56 +02:00
configdialog.lua [UX] Make the reader bottom menu compatible with key navigation (#3785) 2018-03-22 21:01:38 +01:00
confirmbox.lua Add MovableContainer: allow moving some widgets (#3636) 2018-01-29 21:27:24 +01:00
datewidget.lua [fix, UX] timewidget and datewidget in landscape mode (#3666) 2018-02-07 18:45:46 +01:00
dictquicklookup.lua new option: Save Wikipedia EPUB in current book directory (#3762) 2018-03-16 20:47:51 +01:00
eventlistener.lua Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 2017-05-16 02:11:11 -07:00
filechooser.lua [UX] SDL2: set window title (#3784) 2018-03-21 20:10:35 +01:00
fixedtextwidget.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
focusmanager.lua [FocusManager] More intuitive key navigation + spec (#3774) 2018-03-21 12:21:48 +01:00
frontlightwidget.lua ui/widget/frontlightwidget: Add 'Configure' button 2018-03-13 22:09:29 +01:00
horizontalgroup.lua [doc] some widget docs 2017-08-18 11:43:46 +02:00
horizontalspan.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
htmlboxwidget.lua Fix some issues with movable dict window (reworked) (#3726) 2018-03-07 15:59:59 +01:00
iconbutton.lua Kindle4NT improvements (#3745) 2018-03-14 22:16:38 +01:00
imageviewer.lua UIManager: avoid painting widgets covered by a full screen widget (#3770) 2018-03-17 23:02:32 +01:00
imagewidget.lua Screensaver: a few tweaks and fixes (#3619) 2018-01-21 19:44:12 +01:00
infomessage.lua Add MovableContainer: allow moving some widgets (#3636) 2018-01-29 21:27:24 +01:00
inputdialog.lua Add MovableContainer: allow moving some widgets (#3636) 2018-01-29 21:27:24 +01:00
inputtext.lua Kindle4NT improvements (#3745) 2018-03-14 22:16:38 +01:00
keyvaluepage.lua UIManager: avoid painting widgets covered by a full screen widget (#3770) 2018-03-17 23:02:32 +01:00
linewidget.lua (chore) some require sorting. 2017-04-29 11:41:24 -07:00
linkbox.lua Added Size module 2017-09-23 20:24:45 +02:00
listview.lua Added Size module 2017-09-23 20:24:45 +02:00
logindialog.lua Added Size module 2017-09-23 20:24:45 +02:00
menu.lua [UX] Make the reader bottom menu compatible with key navigation (#3785) 2018-03-22 21:01:38 +01:00
multiconfirmbox.lua Small visual fixes to Menu (#3338) 2017-10-10 22:23:25 +02:00
multiinputdialog.lua Normalize some widgets appearance (those using ButtonTable) 2017-10-08 20:44:11 +02:00
naturallightwidget.lua ui/widget/naturallightwidget: New widget to configure gain/offset 2018-03-13 22:09:29 +01:00
networksetting.lua Added Size module 2017-09-23 20:24:45 +02:00
notification.lua Added Size module 2017-09-23 20:24:45 +02:00
numberpickerwidget.lua Timer Reader with normal time format (#3244) 2017-09-24 13:03:14 +02:00
opdsbrowser.lua OPDS - add confirm when file exist in local destination (#3605) 2018-01-14 20:19:45 +01:00
openwithdialog.lua [feat, UX] Add new OpenWithDialog based on RadioButton and RadioButtonTable (#3678) 2018-02-11 20:46:18 +01:00
overlapgroup.lua [doc] some widget docs 2017-08-18 11:43:46 +02:00
pathchooser.lua chore: fix static-check errors 2016-01-02 23:45:23 -08:00
physicalkeyboard.lua [fix, spec] InputText:addChars() unicode handling (#3729) 2018-03-07 10:22:49 +01:00
progresswidget.lua Fix location of progress bar ticks (#3382) 2017-10-20 15:49:13 +00:00
radiobutton.lua [feat, UX] Add new OpenWithDialog based on RadioButton and RadioButtonTable (#3678) 2018-02-11 20:46:18 +01:00
radiobuttontable.lua [feat, UX] Add new OpenWithDialog based on RadioButton and RadioButtonTable (#3678) 2018-02-11 20:46:18 +01:00
rectspan.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
screensaverwidget.lua Add new options to screensaver (#3535) 2017-12-17 18:27:24 +01:00
screenshoter.lua feat: support screenshot in filemanager 2016-01-03 00:47:44 -08:00
scrollhtmlwidget.lua [UX] Dict: scroll back with tap: go to bottom of prev definition (#3647) 2018-01-31 09:16:34 +01:00
scrolltextwidget.lua [UX] Dict: scroll back with tap: go to bottom of prev definition (#3647) 2018-01-31 09:16:34 +01:00
spinwidget.lua Menu: configure number of items per page, wrap entries (#3589) 2018-01-13 23:38:53 +01:00
textboxwidget.lua Fix some issues with movable dict window (reworked) (#3726) 2018-03-07 15:59:59 +01:00
textviewer.lua Add MovableContainer: allow moving some widgets (#3636) 2018-01-29 21:27:24 +01:00
textwidget.lua Better vertical centering of text in its box 2017-10-08 20:44:11 +02:00
timewidget.lua [fix, UX] timewidget and datewidget in landscape mode (#3666) 2018-02-07 18:45:46 +01:00
toggleswitch.lua [UX] Make the reader bottom menu compatible with key navigation (#3785) 2018-03-22 21:01:38 +01:00
touchmenu.lua Kindle4NT improvements (#3745) 2018-03-14 22:16:38 +01:00
trapwidget.lua Trapper: adds dismissableRunInSubprocess() + new TrapWidget 2018-01-17 21:36:21 +01:00
verticalgroup.lua [doc] some widget docs 2017-08-18 11:43:46 +02:00
verticalscrollbar.lua Added Size module 2017-09-23 20:24:45 +02:00
verticalspan.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
virtualkeyboard.lua [fix, spec] InputText:addChars() unicode handling (#3729) 2018-03-07 10:22:49 +01:00
widget.lua doc: fix document build 2016-12-25 12:13:53 -08:00