Heavy changes

This commit is contained in:
Stefano Moretti
2023-04-21 18:07:17 +02:00
parent 32a567a950
commit 11606b8f39
52 changed files with 1578 additions and 748 deletions

20
qml/Icon.qml Normal file
View File

@ -0,0 +1,20 @@
import QtQuick
Item {
id: root
property alias icon: internal.source
property color color: undefined
Image {
id: internal
anchors.fill: parent
layer.enabled: root.color != undefined
layer.samplerName: "maskSource"
layer.effect: ShaderEffect {
property color color: root.color
fragmentShader: "shaders/icon.frag.qsb"
}
}
}