29 Commits

Author SHA1 Message Date
storm64
7070a4cc3e [E_showMenu_Q3] Add "Back" on list submenu
1. Add "Back"-Button on list selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure  Simple Optimizations"
3. Add ChangeLog entry
4. Readd ChangeLog entry for #2186
2022-04-29 11:40:56 +02:00
storm64
b432cf2a27 [E_showMenu_Q3] Change ".noScroller" to ".noList" 2022-04-28 12:50:11 +02:00
storm64
2c062b9bf8 Update E_showMenu_Q3(.min).js
Add ".noScroller" property to prevent the scroller to bedisplayed and instead use the simple box.
2022-04-28 12:44:45 +02:00
storm64
7312859c48
Update E_showMenu_Q3.js
Prevent using E.showScroller() on wraping items.
This adds the option to control if the scroller or the simple box should be displayed.
In my opinion there is no need for a separate property, because the item.wrap property is not used inside E.showScroller().
2022-04-28 00:02:32 +02:00
Gordon Williams
14037d7890 Bangle.js2: Fix E.showMenu title changing color after scroll down+up *if* a non-standard theme was used 2022-04-21 16:08:24 +01:00
Gordon Williams
8de5cf1957 Merge branch 'master' of github.com:espruino/Espruino
# Conflicts:
#	libs/js/banglejs/E_showMenu_Q3.min.js
2022-04-20 15:32:08 +01:00
Gordon Williams
f2e9e4e792 Bangle.js2: Fix issue with E.showMenu creating a global s variable 2022-04-20 15:30:44 +01:00
storm64
2854fc15b3
Update E_showMenu_Q3.js
Recheck string wrapping after font change.
2022-04-20 00:23:00 +02:00
Gordon Williams
0e210613ae Bangle.js2 manu system now uses fg2/bg2 (was fg/bg2) 2022-03-29 08:39:41 +01:00
Gordon Williams
d23aa21ed3 Bangle.js2: New E.showMenu now allows menu items of type 'string' - fixes 'Passkey' settings menu 2022-03-15 10:36:46 +00:00
Gordon Williams
6206534fae Bangle.js2: Add 'back' option to E.showScroller and Bangle.setUI 2022-02-22 14:23:12 +00: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
30fa6434cb Fix highlighted menu items in submenu 2022-02-22 10:28:19 +00:00
Gordon Williams
87d0c0a7ba Fix issue where 'LCD Brightness' menu didn't highlight the correct item
http://forum.espruino.com/comments/16403621/
2022-02-18 11:24:03 +00:00
Gordon Williams
3909d560ba Fix wrap on new menu items 2022-02-15 15:05:01 +00:00
Gordon Williams
44470c68cb Fix new menu system for numeric menu items with a step 2022-02-14 13:13:55 +00:00
Gordon Williams
5b97d931e4 misc tweaks to menu 2022-02-11 11:16:26 +00:00
Gordon Williams
712cf34ac6 Bangle.js2: include new touchscreen E.showMenu system 2022-02-11 11:02:28 +00:00
James Stanley
5794dc3d27 Fix menu arrow behaviour 2022-01-27 21:15:38 +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
35e46ef6a1 Bangle.js: Add Bangle.appRect to allow apps to see how much space is available for them 2021-10-27 10:14:33 +01: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
62a456e99a Bangle.js: Ensure builtin E.show* (and fake LEDs) wake the LCD up 2021-10-21 08:36:50 +01:00
Gordon Williams
18fca243b4 Remove un-needed clear 2021-10-15 08:44:02 +01:00
Gordon Williams
0014dcca71 Bangle.js2: Larger font for E.showMenu 2021-10-14 15:53:58 +01:00
Gordon Williams
d8fb779c57 Include 6x15 font for Bangle.js 2 and use it for built-in menus 2021-06-30 13:17:19 +01:00
Gordon Williams
1d7abbe3b4 Rename SMAQ3 board to BANGLEJS2 2021-06-24 16:32:43 +01:00