Commit Graph

22 Commits

Author SHA1 Message Date
81907c5842
[Refactor] Calculate large arc flag in a more effective way 2022-05-19 09:21:57 +02:00
b07361d392
[Bugfix] Fix the day part arcs for locations on the western hemisphere 2022-05-19 08:45:29 +02:00
8a4c25bd80
[Bugfix] Calculate the current UTC hour in a more safe way
This should now work in any time zone from -12:00 to +12:00, any time of the day.
2022-05-19 08:33:29 +02:00
b0a943c270
Calculate day parts based on UTC time instead of local time 2022-05-19 08:14:01 +02:00
95557c839b
Show the current hour’s name and the current time in a box 2022-05-19 06:19:38 +02:00
6e0dedb1fb
Colour hour name plates based on their season 2022-05-19 05:04:48 +02:00
e24e199e9e
Create a Seasons enum 2022-05-19 04:59:34 +02:00
08cb444e7d
Add hour names 2022-05-19 04:48:28 +02:00
064e11640c
Create a path we can use to run hour names along 2022-05-18 18:48:19 +02:00
c6eee17618
Pre-fill the pixmap with the background color to prevent having white strips at the edge 2022-05-18 17:20:05 +02:00
5e3ab2c7ed
[Bugfix] Don’t fill the smoothing circle so day parts remain visible 2022-05-18 17:19:49 +02:00
53671b21fb
Add a circle with the background colour around day parts
…so it smoothens the edges!
2022-05-18 17:15:27 +02:00
a613855a66
Add a Sun disc to the dial
It rises on the horizon ^_^
2022-05-18 17:13:56 +02:00
534bf3a899
[Bugfix] Fix the night-time colour 2022-05-18 17:13:56 +02:00
ed81334a20
Add day parts to the watch face 2022-05-18 13:17:58 +02:00
585e68cc58
Make font sizes relative to the image size 2022-05-18 10:52:29 +02:00
5513510ad1
Add markers with the solar noon and nadir (solar midnight) 2022-05-18 05:49:23 +02:00
fc40b1a8db
Add UTC hours to the watch face 2022-05-18 05:44:07 +02:00
c2ef71ed92
Add the current Moon phase in the middle 2022-05-17 17:35:50 +02:00
44904cd176
[Code Cleanup] Format code with rustfmt 2022-05-17 16:56:26 +02:00
d4eef759be
Create a basic 24h clock 2022-05-17 16:53:02 +02:00
642fa1e416
Initial version that creates an empty window 2022-05-17 15:40:28 +02:00