Commit Graph

10954 Commits (46b6ba3929862fa8c709be166d724d72cbf500de)

Author SHA1 Message Date
Martin Boonk 46b6ba3929 Generate smaller code 2022-06-02 16:20:29 +02:00
Martin Boonk f9494b592f Fix double variable definition when wrapping in timeouts 2022-06-02 16:20:29 +02:00
Martin Boonk 04bd84b439 Fix setting properties in Amazfit conversion 2022-06-02 16:20:29 +02:00
Martin Boonk 3608574ab2 Convert to json from default JS object 2022-06-02 16:20:29 +02:00
Martin Boonk c1f1d0938a Update changelog and metadata 2022-06-02 16:20:29 +02:00
Martin Boonk 73c9ea2c1a Set planes for Amazfit conversion 2022-06-02 16:20:29 +02:00
Martin Boonk e246b762b6 Clear all panes if clear is requested 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 36e2a64cda Optionally wrap in 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 eb3dd9e401 Update demo apps 2022-06-02 16:20:29 +02:00
Martin Boonk f25d5d577e Update ChangeLog 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 ec7125c7dd Update metadata and README 2022-06-02 16:20:29 +02:00
Martin Boonk 2c9939578e Remove option to only collapse, precompile is always faster 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 70b0c50946 Update simpleanalog demo watchface 2022-06-02 16:20:29 +02:00
Martin Boonk a2db554239 Correctly set properties on amazfit conversion 2022-06-02 16:20:28 +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
Martin Boonk cdab89b414 Print stack on error 2022-06-02 16:20:28 +02:00
Martin Boonk 093d250722 Get value for coded image with helper 2022-06-02 16:20:28 +02:00
Martin Boonk 755ba01ef2 Fix data file checkbox 2022-06-02 16:20:28 +02:00
Martin Boonk 8e161940d5 Allow hiding elements on lock 2022-06-02 16:20:28 +02:00
Martin Boonk 90a2a47d6a Update demo apps 2022-06-02 16:20:28 +02:00
Martin Boonk 995f339b48 Fix getting rotation values 2022-06-02 16:20:28 +02:00
Martin Boonk fbc62eed03 Allow writing image data to separate file to keep it out of memory 2022-06-02 16:20:28 +02:00
Martin Boonk 7a62248f6b Initial work on unofficial amazfit format compatible parser 2022-06-02 16:20:28 +02:00
Martin Boonk 51a5b42f0c Update demo watchfaces 2022-06-02 16:20:28 +02:00
Martin Boonk 7da5de7235 Allow drawing images with fixed number of steps 2022-06-02 16:20:28 +02:00
Martin Boonk cd613588e7 Refactor scaling for rotation 2022-06-02 16:20:28 +02:00