BenJilks
1c27568ab0
PixelPaint: Undo and redo actions
...
The most used feature of any image editor, undo. Each tool now
notifies the ImageEditor that they completed an action, where
it'll take a snapshot if its current state.
For now, a snapshot is just a copy of the whole image and its
layers. There's a hard limit on the amount of actions it stores.
2020-11-22 16:07:00 +01:00
Linus Groh
7072806234
Meta: Replace remaining LibM/math.h includes with math.h
2020-08-12 16:18:33 +02:00
Andreas Kling
984683cf34
Revert "LibM: Always include <math.h> instead of <LibM/math.h>"
...
This reverts commit dc12cbca41
.
Sadly this broke the build due to some confusion about <new>.
Reverting until this can be solved fully.
2020-08-04 21:17:43 +02:00
Andreas Kling
dc12cbca41
LibM: Always include <math.h> instead of <LibM/math.h>
...
This makes Lagom pick up the host math.h, which is what we want.
2020-08-04 19:06:27 +02:00
Matthew Olsson
335916d8db
LibGfx: Templatize Point, Size, and Rect
2020-07-27 01:06:26 +02:00
Andreas Kling
116cf92156
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
...
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much
better visual clue about what type of metric is being used.
2020-06-10 10:59:04 +02:00
Andreas Kling
9fc4ad2a52
PixelPaint: Make the EllipseTool previews work while zoomed in
2020-05-22 15:57:04 +02:00
Andreas Kling
58fa9c6e89
PixelPaint: Rename from PaintBrush :^)
2020-05-20 20:35:35 +02:00