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
d3d3615ab3 Implement passing through remove methods for E.show* 2022-11-07 23:55:59 +01: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
633d3e19b8 Update showPrompt to use setUI 2021-05-26 19:37:31 +01:00
Gordon Williams
1f3f580c5f Bangle.js: Add support for global colour themes which affect g.clear/g.reset 2021-05-26 11:02:07 +01:00
Gordon Williams
f531aa729e Bangle.js: Modify E.showMessage/Prompt/Alert to clear the entire screen and redraw widgets (fix #1771) 2020-03-06 11:17:04 +00:00
Gordon Williams
818fdd6771 Bangle.js: Use 'locale' library to translate E.showMenu/Prompt/Alert/etc
Bangle.js: remove graphical_menu lib and inline specialised version into E.showMenu
2020-03-05 09:56:26 +00:00
Gordon Williams
7c52cbf949 Bangle.js: Keep widget area free when using showPrompt/Alert/etc (fix #1756) 2020-02-12 11:33:38 +00:00
Gordon Williams
6652295b4f Bangle.js/Pixl.js: Updated E.showMenu
Bangle.js: E.showMenu now has some colour, bigger, with next/prev indicators, and works with widgets
2020-02-10 15:14:18 +00:00
Gordon Williams
a96bf2c659 Added E.showPrompt, E.showAlert for Bangle.js
Also start responding to button pressed on IRQ rather than polling
2019-10-31 15:34:54 +00:00