You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/ui/elements
yparitcher a9d4e97115
[plugin] Dispatcher: for profiles & gestures (#6106)
add a Dispatcher module that allows for dispatching multiple events at once.
This will allow for profiles & for gestures that do multiple things.

it has 2 methods:
Execute which is given a kv table of settings to change and fires an event for each of them.
addSubMenu adds a menu item to a menu to allow for modifying which events are called
it also has settingsList which is a master table of all allowed setting and their corresponding info
(it is mostly from ReaderGesture and needs a lot of work)

to allow for a new setting all one has to do is add a entry to settingsList with a corresponding event and it will work out of the box.

the profile plugin is right now still a stub, just to test Dispatcher. the plan is to finish it and eventually refactor ReaderGesture to rely on this.
This also needs effort to move many functions out of reader gesture into events where they belong.
4 years ago
..
avoid_flashing_ui.lua UI Behavior tweaks (#3983) 6 years ago
common_info_menu_table.lua [chore, UX] Move some 'permanent' settings inside more_tools (#6282) 4 years ago
common_settings_menu_table.lua android: add a toggle to ignore back button events (#6269) 4 years ago
filemanager_menu_order.lua [chore, UX] Move some 'permanent' settings inside more_tools (#6282) 4 years ago
flash_keyboard.lua Option to disable keyboard flashing (#3050) 7 years ago
flash_ui.lua Allow for disabling flashing of menu, icons and buttons (#3339) 7 years ago
font-test-sample-default.html Font test sample: tweak footnote links 4 years ago
font_settings.lua Allow toggling use of additional fallback fonts (#6095) 4 years ago
mass_storage.lua cervantes: add usb storage on devices w/updated 3rd party tools 5 years ago
menu_activate.lua Option to disable show bottom menu on top menu activation (#3316) 7 years ago
menu_keyboard_layout.lua [feat, UX] Pick keyboard layout from keyboard (#5583) 5 years ago
reader_menu_order.lua [plugin] Dispatcher: for profiles & gestures (#6106) 4 years ago
refresh_menu_table.lua Floor dimension computations (mul/div). (#6264) 4 years ago
screen_android.lua tweak timeouts, add haptic feedback support 5 years ago
screen_color_menu_table.lua Warn if color rendering is enabled on a grayscale device. (#5871) 4 years ago
screen_disable_double_tap_table.lua fix some luacheck warnings 8 years ago
screen_dpi_menu_table.lua Floor dimension computations (mul/div). (#6264) 4 years ago
screen_eink_opt_menu_table.lua [fix, Android] hasEinkScreen function in eink_opt_menu_table (#4558) 5 years ago
screen_toggle_gsensor.lua More robust Gyro toggle (#5104) 5 years ago
screensaver_menu.lua [feat] Allow message to be overlaid on other screensavers (#6238) 4 years ago