Commit Graph

17 Commits (367b883f93d1980889e4bb1a69072501e42176fa)

Author SHA1 Message Date
Gordon Williams 337bf47354
Use more lightningy bitmap, now we're not resizing don't redraw all widgets, use let scoping(faster), and hard-code 's' to make rendering quicker 2023-09-13 09:18:37 +01:00
Pavel Machek 60a99aae53 Widget size no longer changes, so remove associated code. 2023-09-02 23:25:54 +02:00
Pavel Machek bc92e0c8c6 widbat: Use flash, not fork to indicate charging
Green fork is not easily visible, which can be confusing.
2023-08-19 21:03:07 +02:00
Gordon Williams 6ac1713122 0.11: Change level for medium charge (50% -> 40%), and darken color on light themes as yellow was almost invisible 2023-02-24 15:46:35 +00:00
KungPhoo 2538d417ad
Change colour
Changes the to yellow on < 50% and red on < 20% battery percentage.
2023-02-08 13:59:38 +01:00
Gordon Williams f413930ced Misc battery widget tweaks, and make icon = the actual widget's icon 2021-10-22 08:52:05 +01:00
Gordon Williams 0d7bddddde widbat 0.08: Ensure battery updates every 60s even if LCD was on at boot and stays on 2021-08-25 08:45:09 +01:00
Gordon Williams 50c7c15a50 tweaks for low BPP screens 2021-06-22 09:36:57 +01:00
Gordon Williams 1dca641ff0 boot 0.23: Move to a precalculated .boot0 file which should speed up load time
setting 0.25: Move boot.js code into 'boot' app itself
launch 0.05: Use g.theme for colours
widbat 0.06: Use 'g.theme' (requires bootloader 0.23)
widlock: new widget
2021-05-26 16:21:52 +01:00
Tuukka Ikkala c6fd71be03 Force indent to 2 spaces
Based on http://www.espruino.com/Code+Style
2020-05-24 00:32:33 +03:00
Gordon Williams a8f1aabbee Fix regression stopping correct widget updates 2020-04-15 14:30:51 +01:00
Gordon Williams 257a8b2662 Copied widbat changes to new widget 2020-04-02 08:34:47 +01:00
Richard de Boer 09fc1f7d3e Battery Widget: Show battery percentage as text 2020-04-02 00:16:46 +02:00
Richard de Boer 2c84fbd3ae Battery Widget: make color depend on level 2020-04-02 00:12:48 +02:00
Gordon Williams 0da0acefd2 Tweaks for issues redrawing after variable size widget addition (partial #121) 2020-03-09 14:30:56 +00:00
Gordon Williams e0d29c81f2 Big refactor #2 - variable width widgets 2020-03-05 13:15:27 +00:00
Gordon Williams 50e3c852fb MASSIVE REFACTOR
New Bangle.js firmwares remove 8 char name restriction so we're ditching the first char -> file type and using normal file extensions
Took the opportunity to remove code for older Bangle.js (since the new stuff won't work anyway)
Also removed the need for an 'app.json' - it's now renamed 'app.info' on the watch, and we just auto-generate it
Renamed a few apps so widgets all start with 'wid'
2020-02-28 11:44:25 +00:00