D20112: [analog-clock] Allow themes to define hand shadow offset & hand rot center

2019-04-12 Thread Friedrich W. H. Kossebau
This revision was automatically updated to reflect the committed changes. Closed by commit R120:2558f3626280: [analog-clock] Allow themes to define hand shadow offset & hand rot center (authored by kossebau). CHANGED PRIOR TO COMMIT https://phabricator.kde.org/D20112?vs=55777&id=56045#toc REPO

D20112: [analog-clock] Allow themes to define hand shadow offset & hand rot center

2019-04-08 Thread Friedrich W. H. Kossebau
kossebau added a comment. Looking around on store.kde.org, I saw quite some clocks of (old) themes which have hands that are e.g. only indicators directly at the border. Or are ghost-like pointers floating disconnected from the center. They usually compensate by having an empty region until

D20112: [analog-clock] Allow themes to define hand shadow offset & hand rot center

2019-04-08 Thread Friedrich W. H. Kossebau
kossebau updated this revision to Diff 55777. kossebau added a comment. Instead of using the size of a hint to define the rotation center of a hand shape, use the relative position of the (center of) hint. This allows to define rotation centers outside of the hand element, like useful for

D20112: [analog-clock] Allow themes to define hand shadow offset & hand rot center

2019-03-29 Thread Friedrich W. H. Kossebau
kossebau added a comment. To test, you can download the Unicorn theme from store.kde.org, then edit the .local/share/plasma/desktoptheme/unicorn/widgets/clock.svg and append this before the final ``: Reloading the theme will then fix the clock to look like thi

D20112: [analog-clock] Allow themes to define hand shadow offset & hand rot center

2019-03-29 Thread Friedrich W. H. Kossebau
kossebau created this revision. kossebau added reviewers: Plasma, VDG, mart, davidedmundson, ngraham. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. kossebau requested review of this revision. REVISION SUMMARY Currently the shadow offset of the hands as well as the rota