7 Commits

Author SHA1 Message Date
Gordon Williams
728fe64c50 Bangle.js: Allow E.showMenu to be given an array and title option (fix #2175) 2022-06-08 14:18:23 +01:00
Gordon Williams
78ee733bc9 Add E.showMenu({"":{back:function}, ...}) for easy specification of 'back' menu item 2022-02-22 13:37:43 +00:00
Gordon Williams
c1e2a603ec Bangle.js: Fix E.showMenu clear if background color is set (https://github.com/espruino/BangleApps/issues/1024)
Bangle.js: Re-add E.showMenu predraw callback (fix #2108)
2021-12-08 14:39:27 +00:00
Richard de Boer
0f1476cede E_showMenu improvements
- remove unused variable
- remove unused parameter from `select()`
- shave a few bytes off `move()`

If a numerical item has `item.wrap` we no longer check if `item.min/max` is set,
because your menu will be broken either way.
2021-11-01 19:43:26 +01:00
Richard de Boer
a27ce44b01 Bangle.js: add wrap option for numerical E.showMenu items
Same as EspruinoDocs `graphical_menu.js`
2021-10-29 18:11:32 +02:00
Gordon Williams
3814bedff6 Bangle.js: Fix issue where minified E.showMenu was creating a global var called 'c' 2021-10-26 10:03:34 +01:00
Gordon Williams
425435b155 Merging in support for the F5 2020-10-19 15:30:21 +01:00