1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00
serenity/Userland/Applications/PixelPaint
Andreas Kling c6dd3377ee PixelPaint: Make the main UI tabbed and allow multiple open images :^)
This patch adds a GUI::TabWidget to the main UI and allows having
multiple images open at the same time.

Some of the changes here are a bit hackish and mechanical and there's
still code around that needs more work to fit better in the new world.

One nice side-effect of this change is that ImageEditor now always
has one Image associated with it, and it never changes.
2021-06-16 12:12:39 +02:00
..
BrushTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
BrushTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
BucketTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
BucketTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt PixelPaint: Add a Selection class (ImageEditor has a Selection) 2021-06-14 18:25:17 +02:00
CreateNewImageDialog.cpp PixelPaint: Increase default size of new images from 1x1 to 480x360 2021-06-15 10:05:16 +02:00
CreateNewImageDialog.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
CreateNewLayerDialog.cpp PixelPaint: Don't allow creating empty layers or images 2021-06-15 10:05:16 +02:00
CreateNewLayerDialog.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EllipseTool.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EllipseTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EraseTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
EraseTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
FilterParams.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
Image.cpp PixelPaint: Display an error message if exporting to PNG/BMP fails 2021-06-15 13:38:43 +02:00
Image.h PixelPaint: Display an error message if exporting to PNG/BMP fails 2021-06-15 13:38:43 +02:00
ImageEditor.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
ImageEditor.h PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
Layer.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
Layer.h PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
LayerListWidget.cpp PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
LayerListWidget.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
LayerPropertiesWidget.cpp PixelPaint: Convert main UI to GML :^) 2021-05-16 01:11:56 +02:00
LayerPropertiesWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LineTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
LineTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
main.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
MoveTool.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
MoveTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PaletteWidget.cpp PixelPaint: Tweak height of palette widget 2021-05-16 01:11:56 +02:00
PaletteWidget.h PixelPaint: Convert main UI to GML :^) 2021-05-16 01:11:56 +02:00
PenTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
PenTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PickerTool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PickerTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PixelPaintWindow.gml PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
RectangleSelectTool.cpp PixelPaint: Always animate marching ants during interactive selection 2021-06-14 18:25:17 +02:00
RectangleSelectTool.h PixelPaint: Draw the current editor selection as marching ants 2021-06-14 18:25:17 +02:00
RectangleTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
RectangleTool.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
Selection.cpp PixelPaint: Alternate selection outline between black and white 2021-06-15 16:15:09 +02:00
Selection.h PixelPaint: No need to pass ImageEditor& to Selection::paint() 2021-06-15 01:16:34 +02:00
SprayTool.cpp PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
SprayTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Tool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Tool.h PixelPaint: Make the main UI tabbed and allow multiple open images :^) 2021-06-16 12:12:39 +02:00
ToolboxWidget.cpp PixelPaint: Add a new "Rectangle Select" tool :^) 2021-06-14 18:25:17 +02:00
ToolboxWidget.h PixelPaint: Use GUI::Toolbar inside the toolbox widget 2021-05-16 01:11:56 +02:00
ToolPropertiesWidget.cpp PixelPaint: Convert main UI to GML :^) 2021-05-16 01:11:56 +02:00
ToolPropertiesWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ZoomTool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ZoomTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00