Gordon Williams
a454207e03
Bangle.js: Fix back handler not removed when using E.setUI with a back button but without widgets ( #2636 )
2025-06-10 10:24:15 +01:00
Gordon Williams
1d3d4ff06e
Update minified code with pretokenised ints
2025-05-02 11:13:04 +01:00
Gordon Williams
57e709dc2c
use pretokenised minified code (and add comments - for #2626 )
2025-04-22 10:58:30 +01:00
thyttan
bdd4d70a7b
Bangle.setUI: fix back btn not drawn in leftmost position
...
The bug seems to have snuck in when the back widget was no longer set
with Object.assign in commit 453def81645c08e46195ad0627c1b77c8a59ee2a .
2025-04-20 21:54:56 +02:00
Gordon Williams
453def8164
Bangle.js: setUI/etc now don't draw a 'back' icon if there is no widget bar (or it's hidden)
...
Also tidy up setUI touch handling - now we have stopEventPropagation and prependListener it's easier
2025-04-01 11:22:41 +01:00
Gordon Williams
7386f49f1c
Bangle.js: .setUI now only clears back widget if it hasn't been hidden by widget_utils
2024-11-07 10:11:00 +00:00
Gordon Williams
513817c9e6
JS in the binary now uses jspExecuteJSFunctionCode which helps to skip a parsing step
...
JS modules that are included are now pretokenised
# Conflicts:
# libs/js/banglejs/Bangle_setUI_F18.min.js
# libs/js/banglejs/Bangle_setUI_Q3.min.js
2024-11-04 11:37:02 +00:00
thyttan
12dacead0d
Bangle_setUI_F18: (WIP) finish rewrite
2024-11-02 01:32:59 +01:00
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