Commit Graph

14 Commits (master)

Author SHA1 Message Date
Richard de Boer fe61fd2a12
ClockFace: remove clockHasWidgets hack
Added in 1d4fb1301a to make fast loading
work correctly (workaround for the fact that ClockFace clocks contained
`loadWidgets` in their source, but sometimes didn't call it)
No longer needed, as we now always call loadWidgets.
2023-01-07 17:52:31 +01:00
Richard de Boer 6980a0d9c9
ClockFace: always loadWidgets, option to hide them using widget_utils 2023-01-07 16:50:30 +01:00
Richard de Boer 825a705339
ClockFace: fix fast loading 2022-12-11 15:15:44 +01:00
Richard de Boer 1d4fb1301a
ClockFace: support Fast Loading, by adding a remove() function to clocks 2022-12-01 01:13:34 +01:00
Gordon Williams 38ec9aecaa Now lint modules too 2022-11-10 13:54:39 +00:00
Gordon Williams 43b2a0b55c
Merge pull request #2046 from rigrig/clockface-powersave
Clockface: powersaving
2022-07-15 08:16:38 +01:00
Richard de Boer fed49792de
ClockFace: make `tick` a "ram" function
Should allow clocks to update without waking flash storage if their
`update` runs in "ram" as well.
2022-06-25 23:58:34 +02:00
Richard de Boer 9fb3fccb32
ClockFace: minor cleanup
No idea how that `true` got there, but it does nothing.
2022-06-19 20:00:54 +02:00
Richard de Boer 6090b453c3
ClockFace: don't erase widgets when using `draw`
If a clock specifies `draw` but not `update`, we create our own
`update`, but it should only erase the clock area, not the whole screen.
2022-06-19 20:00:18 +02:00
Richard de Boer ecd5868821
ClockFace: add settings support 2022-05-27 17:08:50 +02:00
Gordon Williams 778432e945 comment 2022-05-23 10:25:31 +01:00
Richard de Boer 365b3859b3
ClockFace: set Bangle.CLOCK=1 before loading widgets 2022-05-22 19:59:17 +02:00
Richard de Boer f7efc338f1
ClockFace: add `is12Hour` property, document `paused` 2022-05-16 20:21:24 +02:00
Richard de Boer 12f84357ca
add ClockFace module 2022-05-15 18:27:35 +02:00