233 Commits

Author SHA1 Message Date
Gordon Williams
90eb7b05ff fix multiple touch handler issue 2021-05-27 08:50:39 +01:00
Gordon Williams
109d2d4a1d Improve drawmenu to avoid a complete redraw when just moving up/down or changing a setting 2021-05-26 20:24:14 +01:00
Gordon Williams
633d3e19b8 Update showPrompt to use setUI 2021-05-26 19:37:31 +01:00
Gordon Williams
b9df56023d Add Bangle.setUI and use for showMenu 2021-05-26 17:07:35 +01:00
Gordon Williams
01d689b64e fix typo in new theme code 2021-05-26 16:37:22 +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
2adbd148d6 Fix E.showMessage memory leak (storing message in global variable - seemed to be minification issue) 2021-02-17 11:42:12 +00:00
Gordon Williams
bc29b7b455 Pull in fixed SHT3C.min.js for RAK5010 2020-11-04 14:53:43 +00:00
Gordon Williams
d802fcd592 Bangle.js: fix require("locale").time(new Date()) for default locale 2020-10-27 08:09:30 +00:00
Gordon Williams
425435b155 Merging in support for the F5 2020-10-19 15:30:21 +01:00
Gordon Williams
f6ca3b7fc4 Merge branch 'master' into SMAQ3 2020-10-19 10:43:57 +01:00
Gordon Williams
96441b5861 Added global Microbit object, with accelOn, play, record, and proper gesture handling 2020-10-07 10:51:24 +01:00
Gordon Williams
753cffe2d1 Merge branch 'master' into SMAQ3 2020-09-03 14:22:04 +01:00
Gordon Williams
000b5ff644 Espruino WiFi: Fix startAP function when open and no password supplied 2020-08-27 08:31:19 +01:00
Gordon Williams
ace3ff50d7 draw widgets at edge of screen for Q3 2020-07-29 09:02:58 +01:00
Gordon Williams
bf5472f796 Fix menu/alert/etc for SMAQ3 2020-07-17 14:41:28 +01:00
Ben Whittaker
ccd06effa1 Make Bangle.showLauncher() use less ram
Avoids having the contents of all files in memory at the same time.
2020-06-13 14:24:20 -04:00
Gordon Williams
32327fca38 RAK5010 now working pretty well 2020-06-10 10:17:57 +01:00
Gordon Williams
56f6ef608f Now have comms to modem 2020-06-09 16:48:31 +01:00
Gordon Williams
35ae61cbca initial RAK5010 - accelerometer/opto working 2020-06-09 16:31:04 +01:00
Gordon Williams
4a54cadefe padding 2020-05-11 11:46:07 +01:00
Gordon Williams
26cb781949 Bangle.js: fix 'speed' units for built-in locale 2020-05-07 08:22:32 +01:00
Gordon Williams
c6d011c7aa Bangle.js: fix 'short' time for built-in locale 2020-05-06 08:45:14 +01:00
Gordon Williams
41028995b2 Pixl.js: Fix E.showMessage 2020-04-29 11:17:48 +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
e9163cc12b Bangle.js: Add 'meridian' to locale library 2020-03-26 08:20:34 +00: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
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
9c17b44f6a Changed 6x8 builtin font to a modified Dina_r400-6 supporting non-ASCII characters 2020-03-05 17:08:13 +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
1d2b1666d2 Fix locale.time(date,true) (short version) to not include seconds 2020-03-05 13:16:23 +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
2ffd1274ec Bangle.js: Added built-in 'locale' module to handle common conversions - this can be overwritten by a Storage File to change language 2020-02-28 16:53:12 +00:00
Gordon Williams
06a6ca5606 Storage.list() can now take a RegEx/string to filter returned results 2020-02-28 10:53:16 +00:00
Gordon Williams
e4904f49d7 Bangle.js: NEEDS NEW APPS - Move away from using first char as file descriptor and use file extensions insteadMove away froBangle.js: NEEDS NEW APPS - Move away from using first char as file descriptor and use file extensions instead 2020-02-28 10:18:55 +00:00
Gordon Williams
31e29a0a06 Espruino WiFi: WiFi module now makes BOOT pin open circuit when sleeping - saves ~2mA 2020-02-25 11:20:35 +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
55498b313f Pixl.js: Add E.showPrompt/Alert/Message (fix #1747) 2020-02-10 15:54:48 +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
4df8fef963 fix menu ending 1 line early 2020-02-06 14:25:24 +00:00
Gordon Williams
b3aeb08073 Bangle.js: Add Bangle.showLauncher 2020-01-17 11:02:36 +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
Gordon Williams
be6fe41ed4 now flip when setting LED - turns display on 2019-12-05 10:38:04 +00:00
Gordon Williams
3bdafd892f Bangle.js: add fake LED/LED1/LED2 as @allObjects suggested 2019-12-04 11:59:12 +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
Gordon Williams
720738944f Add E.showMenu, deprecate Pixl.menu - use a common function to ease porting between devices 2019-10-31 11:23:04 +00:00
Gordon Williams
a1ab52ef61 improve handling of timeouts for RAK8212 GPS 2019-04-04 08:15:49 +01:00