Commit Graph

78 Commits (ad88625b8c4e54b36e2045b148a4e7084d769fda)

Author SHA1 Message Date
Martin Boonk ad88625b8c imageclock - Use widget_utils module 2022-11-06 00:59:19 +01:00
Martin Boonk b6f1eb6b9f imageclock - Fix setMatchedInterval calls without delay 2022-10-05 20:05:52 +02:00
Martin Boonk 5e9aa581a0 imageclock - Clear the deferred timeout before setting a new one 2022-10-05 20:05:52 +02:00
Martin Boonk e73dd6c9ba imageclock - Add more performance logging 2022-10-05 20:05:52 +02:00
Martin Boonk a6cc39db5e imageclock - Prevent clearing timeouts that have an already known ID 2022-10-05 20:05:52 +02:00
Martin Boonk ed223840de imageclock - Add some prints 2022-10-05 20:05:52 +02:00
Martin Boonk 08b2193a91 imageclock - Cleanup performance logging 2022-10-05 20:05:52 +02:00
Martin Boonk c0b5b8343d imageclock - Fix using palettes 2022-10-05 20:05:52 +02:00
Martin Boonk 36d8cea4cb imageclock - Clear initial timeouts 2022-10-03 20:08:37 +02:00
Martin Boonk e6c5a61393 imageclock - Make performance function accessible again 2022-10-03 20:08:37 +02:00
Martin Boonk c610eb8f2d imageclock - Readd short loading screen for slow watchfaces 2022-10-03 20:08:37 +02:00
Martin Boonk c7f102a5f4 imageclock - Use let to store functions in variables 2022-10-03 20:08:37 +02:00
Martin Boonk 2c79b06be5 imageclock - Move loadWidgets to after setUI 2022-10-03 20:08:37 +02:00
Martin Boonk 3f5c74a50b imageclock - Fix the clock not refreshing completely after switch 2022-09-30 18:05:53 +02:00
Martin Boonk cb23df95ce imageclock - Comment out a debug print 2022-09-30 10:37:49 +02:00
Martin Boonk 14d4c2e250 imageclock - Fix strange widget behaviour 2022-09-29 23:34:53 +02:00
Martin Boonk 8274a23952 imageclock - Always clear as default is not showing widgets 2022-09-27 22:16:42 +02:00
Martin Boonk 8b2fac1a71 imageclock - Initial implementation of remove UI 2022-09-27 20:44:32 +02:00
Martin Boonk a818496f45 Use let instead of var 2022-09-27 17:37:58 +02:00
Martin Boonk ebce52ea13 Use a 4 bit buffer 2022-06-02 16:20:29 +02:00
Martin Boonk 6f8a7b0534 Add drawing of circles and refactor poly 2022-06-02 16:20:29 +02:00
Martin Boonk a7959390ba Adds settings 2022-06-02 16:20:29 +02:00
Martin Boonk 09dabad760 Refactoring and removing old code 2022-06-02 16:20:29 +02:00
Martin Boonk c047cfda6d Allow hiding/showing widgets on drag up/down 2022-06-02 16:20:29 +02:00
Martin Boonk 46b6ba3929 Generate smaller code 2022-06-02 16:20:29 +02:00
Martin Boonk 555a5e34b5 Render in planes 2022-06-02 16:20:29 +02:00
Martin Boonk 0efe1dd6a5 Only switch sensors on on unlock if used by watchface 2022-06-02 16:20:29 +02:00
Martin Boonk 627c58e8cd Allow optionally drawing using timeouts 2022-06-02 16:20:29 +02:00
Martin Boonk 092a042c84 Catch barometer errors 2022-06-02 16:20:29 +02:00
Martin Boonk 23eb62f9a6 Remove obsolete drawing methods 2022-06-02 16:20:29 +02:00
Martin Boonk 163b59dac9 Draw into buffer to prevent visible refreshing 2022-06-02 16:20:29 +02:00
Martin Boonk ebfc73ebd8 Cache complete image in elements for faster drawing 2022-06-02 16:20:29 +02:00
Martin Boonk 1a6683695c Allow drawing rectangles 2022-06-02 16:20:29 +02:00
Martin Boonk c24be8c698 Allow refreshing selectively 2022-06-02 16:20:29 +02:00
Martin Boonk 1b733dd330 Use the last draw time to set better timeouts 2022-06-02 16:20:29 +02:00
Martin Boonk 20f4c10c9c Load widgets in timeout 2022-06-02 16:20:29 +02:00
Martin Boonk 87c74b7536 Modify resource directly, making caching the default 2022-06-02 16:20:29 +02:00
Martin Boonk 0bbf574613 Do not use resources/face variables from global scope but as parameters 2022-06-02 16:20:29 +02:00
Martin Boonk 10884bbbc2 Remove checkRedraw 2022-06-02 16:20:29 +02:00
Martin Boonk 841f098f2a Remove all code for compression and other resource types than data file 2022-06-02 16:20:29 +02:00
Martin Boonk 73e05fdb5d Redraw before setting intervals to minimize error 2022-06-02 16:20:28 +02:00
Martin Boonk 7e5891d829 Run callable on defining the matched interval as not to miss the first one 2022-06-02 16:20:28 +02:00
Martin Boonk d03734fe3f Clear and reset graphics on every draw 2022-06-02 16:20:28 +02:00
Martin Boonk 0e6e627b7c Precompile watchface to JS 2022-06-02 16:20:28 +02:00
Martin Boonk a500fd26a9 Write binary data in imageclock.resources.data 2022-06-02 16:20:28 +02:00
Martin Boonk 16e4393092 Allow resetting perflog 2022-06-02 16:20:28 +02:00
Martin Boonk 0cca59144d Allow collapsing the watchface tree down to an array 2022-06-02 16:20:28 +02:00
Martin Boonk dfd127f498 Use Graphics.transformVertices and convert rotation to radians 2022-06-02 16:20:28 +02:00
Martin Boonk 8f7bd34693 Fix rendering issues 2022-06-02 16:20:28 +02:00
Martin Boonk 9fdad181e0 Adds performance logging 2022-06-02 16:20:28 +02:00