1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 13:27:35 +00:00
serenity/Userland/Applications/PixelPaint
sin-ack e11d177618 Userland+LibGUI: Add shorthand versions of the Margins constructor
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same
margin on all edges, for example. The constructors follow CSS' style of
specifying margins. The added constructors are:

- Margins(int all): Sets the same margin on all edges.
- Margins(int vertical, int horizontal): Sets the first argument to top
  and bottom margins, and the second argument to left and right margins.
- Margins(int top, int vertical, int bottom): Sets the first argument to
  the top margin, the second argument to the left and right margins,
  and the third argument to the bottom margin.
2021-08-18 10:30:50 +02:00
..
BrushTool.cpp PixelPaint: Tighten update rects for Tools 2021-08-08 13:55:39 +02:00
BrushTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
BucketTool.cpp PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
BucketTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt PixelPaint: Use unveil to hide file system 2021-08-07 12:48:22 +02:00
CreateNewGuideDialog.cpp Everywhere: Use tobyase@serenityos.org for my copyright headers 2021-08-09 21:43:05 +02:00
CreateNewGuideDialog.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
CreateNewGuideDialog.h Everywhere: Use tobyase@serenityos.org for my copyright headers 2021-08-09 21:43:05 +02:00
CreateNewImageDialog.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
CreateNewImageDialog.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
CreateNewLayerDialog.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
CreateNewLayerDialog.h PixelPaint: Convert to east-const style 2021-06-11 22:51:10 +02:00
EllipseTool.cpp PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
EllipseTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
EraseTool.cpp PixelPaint: Tighten update rects for Tools 2021-08-08 13:55:39 +02:00
EraseTool.h PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
FilterParams.h Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
Guide.h Everywhere: Use tobyase@serenityos.org for my copyright headers 2021-08-09 21:43:05 +02:00
GuideTool.cpp PixelPaint: Disable context menu for GuideTool when no guide is found 2021-08-14 12:45:48 +02:00
GuideTool.h PixelPaint: Show Guides on GuideTool activation 2021-08-14 12:45:48 +02:00
Image.cpp PixelPaint: Use unveil to hide file system 2021-08-07 12:48:22 +02:00
Image.h PixelPaint: Use unveil to hide file system 2021-08-07 12:48:22 +02:00
ImageEditor.cpp PixelPaint: Show Guides on GuideTool activation 2021-08-14 12:45:48 +02:00
ImageEditor.h PixelPaint: Show Guides on GuideTool activation 2021-08-14 12:45:48 +02:00
Layer.cpp LibGfx: Use "try_" prefix for static factory functions 2021-07-21 18:02:15 +02:00
Layer.h PixelPaint: Allow partial invalidation of Layer and Image 2021-07-07 13:01:20 +02:00
LayerListWidget.cpp PixelPaint: Only update the layer thumbnail on layer bitmap changes 2021-07-09 22:07:00 +02:00
LayerListWidget.h PixelPaint: Only update the layer thumbnail on layer bitmap changes 2021-07-09 22:07:00 +02:00
LayerPropertiesWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
LayerPropertiesWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LineTool.cpp PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
LineTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
main.cpp Userland+LibGUI: Make Margins arguments match CSS ordering 2021-08-18 10:30:50 +02:00
Mask.cpp PixelPaint: Add a Mask class 2021-06-22 11:00:00 +02:00
Mask.h PixelPaint: Add a Mask class 2021-06-22 11:00:00 +02:00
MoveTool.cpp PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
MoveTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
PaletteWidget.cpp PixelPaint: Use unveil to hide file system 2021-08-07 12:48:22 +02:00
PaletteWidget.h PixelPaint: Use unveil to hide file system 2021-08-07 12:48:22 +02:00
PenTool.cpp PixelPaint: Inflate update rect for PenTool 2021-08-08 13:55:39 +02:00
PenTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
PickerTool.cpp Applications: Remove unused header includes 2021-08-01 08:10:16 +02:00
PickerTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
PixelPaintWindow.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
RectangleSelectTool.cpp PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
RectangleSelectTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
RectangleTool.cpp PixelPaint: Move properties for RectangleTool to ToolPropertiesWidget 2021-08-03 09:04:57 +02:00
RectangleTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
Selection.cpp PixelPaint: Revert update rect tightening for Selection 2021-08-14 12:45:48 +02:00
Selection.h PixelPaint: Expose more complex selection operations 2021-06-22 11:00:00 +02:00
SprayTool.cpp PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
SprayTool.h PixelPaint: Let Tools have different cursors 2021-08-09 00:57:44 +02:00
Tool.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Tool.h PixelPaint: Show Guides on GuideTool activation 2021-08-14 12:45:48 +02:00
ToolboxWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
ToolboxWidget.h PixelPaint: Use GUI::Toolbar inside the toolbox widget 2021-05-16 01:11:56 +02:00
ToolPropertiesWidget.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
ToolPropertiesWidget.h PixelPaint: Use a StackWidget in ToolPropertiesWidget 2021-08-06 23:59:14 +02:00
ZoomTool.cpp PixelPaint: Use the ValueSlider widget for Tool properties 2021-08-06 23:35:48 +02:00
ZoomTool.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00