Commit Graph

87 Commits (master)

Author SHA1 Message Date
Gordon Williams 7a2af0e61d Fixing warnings 2022-12-09 09:52:34 +00:00
Martin Boonk dba3511e2a imageclock - Disable auto hide of widgets 2022-12-04 20:26:18 +01:00
Martin Boonk 7988e258ce imageclock - Use new widget_utils slideOn() 2022-11-21 20:47:58 +01:00
Martin Boonk c20a594987 imageclock - Load widgets after first full draw 2022-11-21 20:47:58 +01:00
Martin Boonk e787560fb3 imageclock - Use shorter variable names 2022-11-21 20:42:59 +01:00
Martin Boonk 111a7b8066 imageclock - Add UI when first draw is complete 2022-11-06 13:10:44 +01:00
Martin Boonk 0d0acfe075 imageclock - Change from drag to swipe event for widgets 2022-11-06 00:59:19 +01:00
Martin Boonk 94df58412b imageclock - Cache searches for numerical images 2022-11-06 00:59:19 +01:00
Martin Boonk 866155bbd0 imageclock - Directly set cached resource 2022-11-06 00:59:19 +01:00
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