summaryrefslogtreecommitdiff
path: root/src/render.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not update unrelated layer surface settings on configure eventLeon Henrik Plickat2021-12-131-1/+0
| | | | | | | Before this patch, wlclock would always update all layer surface settings on every configure event. This is known to create a feedback loop with faulty compositors (see https://github.com/swaywm/sway/pull/6709). While wlclock did nothing wrong before, not updating these settings is more idiomatic.
* Fix multi-cussor mishapLeon Henrik Plickat2021-11-191-2/+2
|
* Use global contextLeon Henrik Plickat2021-11-141-36/+32
|
* Change face/hand line width configurationLeon Henrik Plickat2020-09-281-5/+7
| | | | | | Also decided there will be no additional hand styles, so removed --hand-style option. Xclock like hands can be enabled by setting the hand width to 0 (default).
* Rip out frame callbackLeon Henrik Plickat2020-09-281-90/+16
| | | | | Apparently, requesting a callback is asking "when can I render the /next/ frame?", not asking "when can I render /this/ frame?". Huh...
* Render on callbackLeon Henrik Plickat2020-09-261-22/+102
|
* Improve line size configurationLeon Henrik Plickat2020-09-261-3/+3
|
* Simplify hand drawingLeon Henrik Plickat2020-09-251-26/+21
|
* Add "lines" clock hand styleLeon Henrik Plickat2020-09-251-27/+44
|
* Make hour hand slowly progress instead of snappingLeon Henrik Plickat2020-09-251-15/+14
| | | | The snapping behaviour can be re-enabled via a command flag
* Draw clock handsLeon Henrik Plickat2020-09-251-11/+80
|
* Make size of clock face lines configurableLeon Henrik Plickat2020-09-251-1/+4
| | | | And use enum for long options
* Fix clockface when drawing on scaled outputLeon Henrik Plickat2020-09-251-5/+5
|
* Avoid too large radii which cause unexpected drawing behaviourLeon Henrik Plickat2020-09-251-1/+11
|
* Draw clock faceLeon Henrik Plickat2020-09-251-2/+33
|
* Change dimension model to ensure square centerLeon Henrik Plickat2020-09-251-62/+42
|
* Implement all configuration options and signal handlingLeon Henrik Plickat2020-09-251-2/+2
|
* Render backgroundLeon Henrik Plickat2020-09-241-0/+155