Hello everyone,
we are messing around with Decoration::DecorationButton(s) for https://bugs.kde.org/show_bug.cgi?id=399757
the goal is to provide the window buttons painting in a plasmoid.
I used the kcmkwin decoration code as an example for this.
[1] In my undestanding single created DecorationButtons do not support animations, they support only painting themselves through paint function, is that correct?
[2] Animations shown in the kcm are drawn because this is provided by the Decoration itself painting, is that correct?
A:[1] if this is true, is it possible to support the animations signaling through DecorationButton(s)?
A:[2] if this is true, it doesnt help drawing the entire decoration because it draws also the background that we dont need it and we also cant get a signal for which button was pressed.
With the current infrastructure we have reached at this point:
Breeze: https://drive.google.com/file/d/1NTAaKe-lnMWwm0kNZcQLaDhlkRROiccn/view?usp=sharing
SierraBreeze: https://drive.google.com/file/d/1wsVAU2qgo_guGR4LKCyMiUyoZMijFbct/view?usp=sharing
these are DecorationsButton(s) painted in a transparent latte panel