Gordon Williams
9a1d5b6202
Minify for https://github.com/espruino/Espruino/pull/2393
2023-07-20 12:33:38 +01:00
Gordon Williams
529fb0779e
Bangle.js: setUI now has a 'redraw' argument to allow apps to provide a way to redraw themselves
...
Also fixes for scroller.isActive (and redraw checks) that break if there is a back icon
2023-06-20 11:00:23 +01:00
Gordon Williams
84675e4368
Bangle.js1: Bangle.setUI({back}) now responds to BTN3 if there were no other watches on buttons
2022-12-07 08:19:56 +00:00
Gordon Williams
512b4daadc
Bangle.js: setUI now calls g.reset(), and also protects against recursion in uiRemove
2022-11-15 10:43:58 +00:00
Gordon Williams
7374b6cd10
Fix regression caused by removing 'touch' event type in setUI
2022-11-09 11:39:08 +00:00
Martin Boonk
f70cb81139
Remove Bangle.CLOCK variable on setUI()
2022-10-06 21:56:08 +02:00
Gordon Williams
0e4dcbd3f3
Add support for Bangle.setUI({remove:...}) to allow apps to be unloaded without a full reboot.
2022-09-23 11:52:54 +01:00
Gordon Williams
4acac94c03
js for https://github.com/espruino/Espruino/pull/2199
2022-05-24 09:38:37 +01:00
storm64
b5c79079f0
[Bangle.setUI] Add "clockcustom" mode
...
Think this might be useful for more complex clocks.
For now it would be necessary to set `Bangle.CLOCK = 1` manually after a custom setUI to show other apps that a clock is used.
2022-05-21 12:44:38 +02:00
Richard de Boer
e455b7ba1d
Bangle.js1: don't make setUI redraw widgets if we replace the back button with a new one
2022-04-27 22:14:02 +02:00
Gordon Williams
95ea8838ff
Bangle.js1: Add 'back' option to E.showScroller and Bangle.setUI
...
Bangle.js1: setUI button handlers now work on falling edge
Bangle.js: Add setUI custom 'swipe' handler
2022-03-02 15:41:41 +00:00
Gordon Williams
d86e650ca6
update minified
2022-02-22 16:16:54 +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
ff25ff80df
Bangle.setUI is now minified, also calls Bangle.uiRemove if it was set (to clean up custom UI additions)
...
E.showScroller tweaks to allow redraw requests, get/set initial scroll amount, negative scroll (for titles)
2022-02-09 14:12:47 +00:00