Salim Blume
d65726d9fc
Fix for step notification, debug for time notification, better buzzes
2022-03-05 21:19:18 -06:00
Salim Blume
63426d9b97
Correct initial step notification increment
2022-03-05 21:19:13 -06:00
Salim Blume
3a6009a963
Add vibration settings and reorg to use object for settings
2022-03-05 21:19:10 -06:00
Salim Blume
d0cb22e7df
Bug fixes
2022-03-05 21:19:09 -06:00
Salim Blume
1cf5a07761
Debug
2022-03-05 21:19:07 -06:00
Salim Blume
4b371e1f18
Don't use spread operator
2022-03-05 21:19:06 -06:00
Salim Blume
c3fc12dfa2
Chasing down a settings bug
2022-03-05 21:19:04 -06:00
Salim Blume
b923423238
Cleanup
2022-03-05 21:19:02 -06:00
Salim Blume
35d1cf85e8
More notification testing
2022-03-05 21:19:00 -06:00
Salim Blume
5e3e7a0c0f
Testing exstats notifications
2022-03-05 21:18:58 -06:00
Salim Blume
aebc8bb3d5
Initial commit
2022-03-05 21:18:51 -06:00
copoer
54ca2eed97
Fix step count
2022-02-23 12:57:22 -04:00
Gordon Williams
17b7d85950
Layout: remove 'fsz' hack as any firmware 2v11+ will support font size in the string now
2022-02-23 10:45:18 +00:00
Gordon Williams
580497b1e7
Fix Layout module rendering black text on white
2022-02-21 10:55:22 +00:00
Gordon Williams
71e60eda00
stop cadence needing GPS - fix #1480
2022-02-21 10:25:56 +00:00
Gordon Williams
af0dfed2c3
allow non-button elements of Layout to be tapped
2022-02-08 10:42:14 +00:00
Gordon Williams
c4c539006a
fix speed calcs
2022-02-01 17:26:43 +00:00
Gordon Williams
55b7650a0d
fix distance over-calculation, add averaging to current speed
2022-02-01 14:23:37 +00:00
Gordon Williams
5708e0b433
run 0.05: exstats updated so update 'distance' label is updated, option for 'speed'
2022-01-31 10:40:35 +00:00
Gordon Williams
08e168ab62
docs on modules
2022-01-28 09:46:19 +00:00
Gordon Williams
d2ec2ce3e6
run 0.04: Use the exstats module, and make what is displayed configurable
2022-01-28 09:45:56 +00:00
Gordon Williams
30d038324a
create xstats module and make run app configurable to display different stats
2022-01-27 14:05:47 +00:00
Richard de Boer
6a72aafc19
layout: use 'col' for btn label/image
2022-01-07 20:18:17 +01:00
Gordon Williams
896508e7a2
docs
2022-01-05 16:37:24 +00:00
Richard de Boer
3baa465f01
remove Settings module
...
Better not to have this at all than to have a library that you can't
actually use in widgets/boot/settings code
2021-12-01 19:34:52 +01:00
Gordon Williams
d1534bdcbf
comment
2021-11-26 15:05:05 +00:00
Richard de Boer
efd12d627a
Settings library: use `appid.json`, update README.md and sanitycheck.js
2021-11-20 17:52:44 +01:00
Richard de Boer
b44df86f27
simplify Settings library some more, suggest users make their own helper
2021-11-20 17:16:06 +01:00
Richard de Boer
68569cd9ba
simplify Settings library
2021-11-20 17:16:06 +01:00
Richard de Boer
477b2e5fdc
create Settings library
2021-11-20 17:16:06 +01:00
Gordon Williams
f4f40cee3a
Fixes for Bangle.js 1
2021-11-10 13:42:11 +00:00
Gordon Williams
935d409f4c
ability to depend on a specific app ID
...
Layout can display images in buttons
iOS and Android integration apps
2021-11-04 17:16:02 +00:00
Gordon Williams
f87f0a19f4
Layout now uses appRect (should be fine with the new polyFill)
2021-10-27 16:50:16 +01:00
Gordon Williams
fc3ce86009
misc tweaks for layout/gps time/bootloader
2021-10-20 20:28:28 +01:00
Gordon Williams
1e0f6cd675
Allow non-function images, and fix touch handling for 'fake' buttons on Bangle.js 2
2021-10-18 14:33:42 +01:00
Gordon Williams
c4c2a93056
oops
2021-10-18 13:35:28 +01:00
Gordon Williams
f41b3c5a88
Update bootloader to include polyfills for g.wrapString, g.imageMetrics, g.stringMetrics - and modify Layout lib to use those functions
2021-10-18 12:01:40 +01:00
Gordon Williams
3f26b8b88e
Layout module now allows 'soft' buttons to be cycled through and selected using up/down on Bangle.js 1
2021-10-18 11:32:46 +01:00
Ben Whittaker
cdf95566bd
Layout: Add `forgetLazyState` method
2021-10-05 20:57:10 -04:00
Ben Whittaker
f37b744ed5
Layout: defer initial update until first render
2021-10-05 12:32:06 -04:00
Ben Whittaker
202690de40
Layout: Implement text wrapping
2021-10-04 16:06:46 -04:00
Gordon Williams
c5d7a73f4f
fix image width/height code
2021-09-30 17:00:46 +01:00
Gordon Williams
dd49e1f631
tweaks to reduce layout memory usage
2021-09-29 14:22:36 +01:00
Gordon Williams
c96ae6c8ae
Minor layout speed tweak
2021-09-29 09:20:56 +01:00
Gordon Williams
ee60bda59b
Merge branch 'master' of github.com:espruino/BangleApps
2021-09-29 09:18:46 +01:00
Ben Whittaker
3622895f09
Layout: avoid floating point numbers
...
The previous approach involved calculating the width of each element
independently, and deriving the `x` coordinate of each element by
summing the previous widths. However, if the widths are rounded, summing
them leads to accumulated rounding errors.
This change effectively takes the alternate approach of calculating the
`x` coordinate of each element independently, and then deriving the
widths from the differences between adjacent values of `x`.
As a bonus, this change corrects a couple issues in the
`padding_with_fill` test.
2021-09-28 23:07:00 -04:00
Gordon Williams
912b7e8dbf
Minor speed/memory layout tweaks - issue with floating point width/height still outstanding
2021-09-28 11:19:46 +01:00
Ben Whittaker
be5539d948
Lazy Layout: don't assume bg is already cleared
2021-09-27 11:00:22 -04:00
Ben Whittaker
221c3acc94
Layout: make `pad` behave more consistently
...
Fixes the second test case in #819
2021-09-24 17:43:56 -04:00
Ben Whittaker
807ac743fc
Layout: only set fillxy/y if null
...
Fixes #820
2021-09-23 22:32:06 -04:00