Torstennator
cd33f271b1
PixelPaint: Add radial gradient support
...
This patch adds radial gradients to the gradients tool.
2023-04-29 11:55:31 +01:00
Ethan Yeager
bf5a18babb
PixelPaint: Correct gradient tool's position during preview
2023-04-14 13:42:45 +01:00
Linus Groh
09d40bfbb2
Everywhere: Use _{short_,}string to create Strings from literals
2023-02-25 20:51:49 +01:00
Andreas Kling
df07416171
PixelPaint: Store tool cursors as NNRP<Gfx::Bitmap const>
2023-02-21 00:54:04 +01:00
Sam Atkins
6b66e39df4
LibGUI+Userland: Stop returning Layout from Widget::(try_)set_layout()
...
Nobody uses this return value any more. It also lets us remove a whole
bunch of `(void)` casts. :^)
2023-02-18 16:56:56 +00:00
Sam Atkins
9561ec15f4
Userland: Use Widget::add_spacer() everywhere
2023-02-18 16:56:56 +00:00
Karol Kosek
be717edd33
PixelPaint: Propagate errors from making tool property widgets
2023-02-16 23:36:58 +00:00
Karol Kosek
83da3c5c3e
PixelPaint: Add an option for making a Gradient with a secondary color
2023-02-16 10:50:58 +00:00
Karol Kosek
1ce2d7e674
PixelPaint: Put the main gradient color at the cursor
...
It doesn't seem right to me that we are 'holding' a transparent color,
with the main color being on the opposite side.
2023-02-16 10:50:58 +00:00
Karol Kosek
d27d19f012
PixelPaint: Set Tool on_*_color_change logic using virtual functions
...
Previously, we were rewriting the on_primary_color_change in the Text
Tool and Gradient, which made the palette widget no longer update after
picking a color from an image. Additionally, it also crashed the program
after leaving the Gradient tool and trying to change color.
2023-02-16 10:50:58 +00:00
Karol Kosek
e39adc4772
Userland: Set Button text using the new String class
2023-02-13 00:45:09 +00:00
MacDue
69580d7f0e
PixelPaint: Allow the gradient tool to work with selections
...
Previously the call to layer->did_modify_bitmap() was missing so the
selection was not applied.
2023-01-27 18:05:19 +00:00
MacDue
681ed93a41
PixelPaint: Fix gradient tool clipping issues
...
This ensures that the gradient does not paint over the rulers at
any zoom level, and also shows the guidelines/handles even when the
gradient is clipped.
2023-01-27 18:05:19 +00:00
Torstennator
452285a3f8
PixelPaint: Add a GradientTool
...
This patch adds a new gradient tool to pixelpaint that allows us to fill
the canvas with a smooth color gradient outline at the edge of the
filled area.
2023-01-26 10:37:26 +00:00