1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-17 20:12:09 +00:00
serenity/Userland/Applications/PixelPaint/IconBag.h
Torstennator 5aeb6552f0 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.
2022-06-21 18:23:01 +01:00

46 lines
1.7 KiB
C++

/*
* Copyright (c) 2022, Brandon Jordan <brandonjordan124@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Error.h>
#include <LibGfx/Bitmap.h>
namespace PixelPaint {
struct IconBag final {
static ErrorOr<IconBag> try_create();
RefPtr<Gfx::Bitmap> filetype_pixelpaint { nullptr };
RefPtr<Gfx::Bitmap> new_clipboard { nullptr };
RefPtr<Gfx::Bitmap> file_export { nullptr };
RefPtr<Gfx::Bitmap> close_image { nullptr };
RefPtr<Gfx::Bitmap> edit_copy { nullptr };
RefPtr<Gfx::Bitmap> clear_selection { nullptr };
RefPtr<Gfx::Bitmap> swap_colors { nullptr };
RefPtr<Gfx::Bitmap> default_colors { nullptr };
RefPtr<Gfx::Bitmap> load_color_palette { nullptr };
RefPtr<Gfx::Bitmap> save_color_palette { nullptr };
RefPtr<Gfx::Bitmap> add_guide { nullptr };
RefPtr<Gfx::Bitmap> clear_guides { nullptr };
RefPtr<Gfx::Bitmap> edit_flip_vertical { nullptr };
RefPtr<Gfx::Bitmap> edit_flip_horizontal { nullptr };
RefPtr<Gfx::Bitmap> resize_image { nullptr };
RefPtr<Gfx::Bitmap> crop { nullptr };
RefPtr<Gfx::Bitmap> new_layer { nullptr };
RefPtr<Gfx::Bitmap> previous_layer { nullptr };
RefPtr<Gfx::Bitmap> next_layer { nullptr };
RefPtr<Gfx::Bitmap> top_layer { nullptr };
RefPtr<Gfx::Bitmap> bottom_layer { nullptr };
RefPtr<Gfx::Bitmap> active_layer_up { nullptr };
RefPtr<Gfx::Bitmap> active_layer_down { nullptr };
RefPtr<Gfx::Bitmap> delete_layer { nullptr };
RefPtr<Gfx::Bitmap> merge_visible { nullptr };
RefPtr<Gfx::Bitmap> merge_active_layer_up { nullptr };
RefPtr<Gfx::Bitmap> merge_active_layer_down { nullptr };
RefPtr<Gfx::Bitmap> filter { nullptr };
RefPtr<Gfx::Bitmap> levels { nullptr };
};
}