mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
PixelPaint: Add level sliders for brightness, contrast and gamma
This patch adds a basic dialog to change brightness, contrast and gamma correction for the selected layer.
This commit is contained in:
parent
69c451e485
commit
5aeb6552f0
9 changed files with 303 additions and 0 deletions
|
@ -40,6 +40,7 @@ ErrorOr<IconBag> IconBag::try_create()
|
|||
icon_bag.merge_active_layer_up = TRY(Gfx::Bitmap::try_load_from_file("/res/icons/pixelpaint/merge-active-layer-up.png"));
|
||||
icon_bag.merge_active_layer_down = TRY(Gfx::Bitmap::try_load_from_file("/res/icons/pixelpaint/merge-active-layer-down.png"));
|
||||
icon_bag.filter = TRY(Gfx::Bitmap::try_load_from_file("/res/icons/pixelpaint/filter.png"));
|
||||
icon_bag.levels = TRY(Gfx::Bitmap::try_load_from_file("/res/icons/pixelpaint/levels.png"));
|
||||
|
||||
return icon_bag;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue