Commit Graph

46 Commits (eb3dd9e401d404b64b3a8c94d3afed77e3a13b34)

Author SHA1 Message Date
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
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 8e161940d5 Allow hiding elements on lock 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 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
Martin Boonk a40eb22cdf Temporarily load widgets and overwrite their draw methods to hide them 2022-06-02 16:20:28 +02:00
Martin Boonk 7994e61bc0 Allow drawing polys 2022-06-02 16:20:28 +02:00
Martin Boonk 0c49b22c73 Handle charging event 2022-06-02 16:20:28 +02:00
Martin Boonk d2ddc649ac Add support for time values containing fractions 2022-06-02 16:20:28 +02:00
Martin Boonk c70f25a15e Fix reading weather data if not available 2022-06-02 16:20:28 +02:00
Martin Boonk 2b6ffb127a Convert palette data correctly 2022-06-02 16:20:28 +02:00
Martin Boonk 6fe2a6dc14 Fix finding the "on" function in resources and trying to draw it 2022-06-02 16:20:28 +02:00
Martin Boonk 92d7493ad2 Use locale for temperature 2022-06-02 16:20:28 +02:00
Martin Boonk 01eef85199 Set intervals to trigger aligned to real time (i.e. 60000 on the full minute) 2022-06-02 16:20:28 +02:00
Martin Boonk bff3564926 Cache created buffers directly in resource instead of creating new object 2022-06-02 16:20:28 +02:00
Martin Boonk 9c6793e815 Add configurability for events 2022-06-02 16:20:28 +02:00
Martin Boonk bb88d06c78 Allow compression to be used 2022-06-02 16:20:28 +02:00
Martin Boonk 64d0b6fccb Adds additional prints 2022-06-02 16:20:28 +02:00
Martin Boonk 1742e08b45 Better logic for detemining not needed draws 2022-06-02 16:20:28 +02:00
Martin Boonk bd51747f10 Fix color inheritance 2022-06-02 16:20:28 +02:00
Martin Boonk e0d54d5586 Allow image rotation and forced transparency color by filename 2022-06-02 16:20:28 +02:00
Martin Boonk 9a24086101 Do no use events just for redrawing 2022-06-02 16:20:28 +02:00
Martin Boonk 84b03366a7 Allow per object refresh policy 2022-06-02 16:20:28 +02:00
Martin Boonk 299a66b0c7 Use fewer predefined element types and instead rely on datasources 2022-06-02 16:20:28 +02:00
Martin Boonk f9001e1969 customclock - Initial work on easily customizable clock 2022-06-02 16:20:28 +02:00