1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00
serenity/Userland/Applications/PixelPaint/CMakeLists.txt
Davipb 0828c75e57 PixelPaint: Add a Mask class
The Mask class represents an opacity mask over a rectangular section
of an image, linking every pixel to an alpha value ranging from 0 (not
selected) to 255 (fully selected). "Partially selected" pixels can be
used to simulate anti-aliased curves.

This class will be used as the basis for the new non-rectangular
selection feature.
2021-06-22 11:00:00 +02:00

41 lines
858 B
CMake

serenity_component(
PixelPaint
RECOMMENDED
TARGETS PixelPaint
DEPENDS ImageDecoder
)
compile_gml(PixelPaintWindow.gml PixelPaintWindowGML.h pixel_paint_window_gml)
set(SOURCES
BrushTool.cpp
BucketTool.cpp
CreateNewImageDialog.cpp
CreateNewLayerDialog.cpp
EllipseTool.cpp
EraseTool.cpp
Image.cpp
ImageEditor.cpp
Layer.cpp
LayerListWidget.cpp
LayerPropertiesWidget.cpp
LineTool.cpp
main.cpp
MoveTool.cpp
PaletteWidget.cpp
PenTool.cpp
PickerTool.cpp
PixelPaintWindowGML.h
RectangleTool.cpp
RectangleSelectTool.cpp
Mask.cpp
Selection.cpp
SprayTool.cpp
ToolboxWidget.cpp
ToolPropertiesWidget.cpp
Tool.cpp
ZoomTool.cpp
)
serenity_app(PixelPaint ICON app-pixel-paint)
target_link_libraries(PixelPaint LibImageDecoderClient LibGUI LibGfx)