15 Commits

Author SHA1 Message Date
Gordon Williams
1d3d4ff06e Update minified code with pretokenised ints 2025-05-02 11:13:04 +01: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
Martin Boonk
64958d3e65 Only clear if widgets with width>0 exist 2022-11-07 23:28:43 +01:00
Gordon Williams
5be68a80ba Slightly faster, cleaner, Bangle.drawWidgets code 2022-10-28 11:35:11 +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
1ecfdf7d0a avoid skipping widget rendering if an area hasn't been defined for a widget 2021-07-08 11:15:30 +01:00
Gordon Williams
c886fa247b wrap widget draw/load in a try..catch 2021-05-26 16:36:26 +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
b96a7abef8 Bangle.js: fix post-kickstarter issue adding widgets in bottom of screen (#1790) 2020-04-17 08:39:30 +01:00
Gordon Williams
87d8b8cc72 Bangle.js: Now clear entire top/bottom row if there are widgets in it (fix #1790) 2020-03-31 15:58:56 +01:00
Gordon Williams
292f7d0dbf Tweaks to prev. commit, ref: https://github.com/espruino/BangleApps/issues/121 2020-03-09 14:46:58 +00:00
Gordon Williams
3182c0f071 Bangle.js: Modify Bangle.drawWidgets to only clear the areas where widgets actually are, not the whole top&bottom bar (ref https://github.com/espruino/BangleApps/issues/121) 2020-03-09 14:42:52 +00:00
Gordon Williams
13e58bd002 Bangle.js: Modify handling of widgets to allow variable width widgets (requires new widget JS) 2020-03-05 13:24:43 +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
d8d937c333 Bangle.js: add Bangle.loadWidgets/drawWidgets
Bangle.js: Remove deprecated Bangle.menuBangle.js: add Bangle.loadWidgets/drawWidgets
2020-01-16 16:36:11 +00:00