qml_module(ZShell-components
	URI ZShell.Components
	DEPENDENCIES QtQuick.Layouts
	SOURCES
		lazylistview.hpp lazylistview.cpp
		chatlistview.hpp chatlistview.cpp
		wavyline.hpp wavyline.cpp
		wavylinerenderer.hpp wavylinerenderer.cpp
		buttonrow.hpp buttonrow.cpp
		carouselview.hpp carouselview.cpp
		sparklinecontent.hpp sparklinecontent.cpp
		sparklineitem.hpp sparklineitem.cpp
		sparklinesceneitem.hpp sparklinesceneitem.cpp
		roundedmask.hpp roundedmask.cpp
		roundedclip.hpp roundedclip.cpp
		snaplayout.hpp snaplayout.cpp
		wheelinverter.hpp
	LIBRARIES
		Qt::Quick
		Qt::QuickPrivate
		Qt::QuickLayouts
		Qt::QuickLayoutsPrivate
		Qt::GuiPrivate
		Qt::CanvasPainter
		ZShell-internal
)

qt_add_shaders(ZShell-components "components_shaders"
	BATCHABLE OPTIMIZED NOHLSL NOMSL
	GLSL "300es,330"
	PREFIX "/"
	FILES
		shaders/roundedmask.frag
		shaders/roundedmask.vert
)
