forked from quickshell/quickshell
widgets: add ClippingRectangle
This commit is contained in:
parent
68ba5005ce
commit
fdc13023b7
9 changed files with 168 additions and 2 deletions
|
@ -1,10 +1,28 @@
|
|||
qt_add_library(quickshell-widgets STATIC)
|
||||
qt_add_library(quickshell-widgets STATIC
|
||||
cliprect.cpp
|
||||
)
|
||||
|
||||
qt_add_qml_module(quickshell-widgets
|
||||
URI Quickshell.Widgets
|
||||
VERSION 0.1
|
||||
QML_FILES
|
||||
IconImage.qml
|
||||
ClippingRectangle.qml
|
||||
)
|
||||
|
||||
qt6_add_shaders(quickshell-widgets "widgets-cliprect"
|
||||
NOHLSL NOMSL BATCHABLE PRECOMPILE OPTIMIZED QUIET
|
||||
PREFIX "/Quickshell/Widgets"
|
||||
FILES shaders/cliprect.frag
|
||||
OUTPUTS shaders/cliprect.frag.qsb
|
||||
)
|
||||
|
||||
qt6_add_shaders(quickshell-widgets "widgets-cliprect-ub"
|
||||
NOHLSL NOMSL BATCHABLE PRECOMPILE OPTIMIZED QUIET
|
||||
PREFIX "/Quickshell/Widgets"
|
||||
FILES shaders/cliprect.frag
|
||||
OUTPUTS shaders/cliprect-ub.frag.qsb
|
||||
DEFINES CONTENT_UNDER_BORDER
|
||||
)
|
||||
|
||||
install_qml_module(quickshell-widgets)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue