14 Commits

Author SHA1 Message Date
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
9c94cb9754 Bangle.js: E.showPrompt now resets background color before clearing the screen 2023-05-19 16:36:59 +01:00
Martin Boonk
3e907b70c6 Merge remote-tracking branch 'upstream/master' into remove 2022-11-10 19:06:37 +01:00
Gordon Williams
42b6dbe8ad Actually fix showPrompt after last change. Turns out the CI tests are useful after all! 2022-11-09 12:09:26 +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
d3d3615ab3 Implement passing through remove methods for E.show* 2022-11-07 23:55:59 +01:00
Gordon Williams
8458dfde3c Bangle.js2: Fix text size on buttons when they are tapped in E.showPrompt 2022-07-01 12:03:11 +01:00
Salim Blume
7b3b17df8a Provide visual feedback on prompt button press 2022-03-17 22:56:07 -05:00
Gordon Williams
560ef345cf Bangle.js2: Update E.showPrompt with a bigger touchable area around buttons 2022-02-24 13:49:34 +00: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
62a456e99a Bangle.js: Ensure builtin E.show* (and fake LEDs) wake the LCD up 2021-10-21 08:36:50 +01:00
Gordon Williams
c3e77b7f23 Bangle.js: E.showMessage/showPrompt can now display images via optional img argument
E.showMessage/showPrompt handle padding correctly if no widgets are displayed
2021-10-20 16:43:34 +01:00
Gordon Williams
bca64ccb1e Graphics: add wrapString to wrap messages to the correct length
Bangle.js: update showMessage and showPrompt with correct wrapping
2021-10-07 10:43:29 +01:00
Gordon Williams
d557c8f191 Change default highlight colour in theme, add custom showPrompt (which uses touch) 2021-06-30 11:53:24 +01:00