Commit Graph

90 Commits (399c9f0de65ceba5c988d05605dfa1e59bdba480)

Author SHA1 Message Date
Alessandro Cocco 42c2b5c8a2 Use default Bangle formatter for booleans 2022-06-18 22:08:51 +02:00
Martin Boonk 5f0025fe76 Update demo watchface 2022-06-02 16:20:29 +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 be4521d0f5 Update demo watchfaces 2022-06-02 16:20:29 +02:00
Martin Boonk a7959390ba Adds settings 2022-06-02 16:20:29 +02:00
Martin Boonk 662b4c1cda Update README 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 eb54751886 Optionally add debug printing to generated code 2022-06-02 16:20:29 +02:00
Martin Boonk 850e76685f Render watchfaces using additional planes without drawing to p0 correctly 2022-06-02 16:20:29 +02:00
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