1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-29 16:12:34 +00:00
serenity/Userland/Applications/PixelPaint/IconBag.h
electrikmilk dece108f9a PixelPaint: Implement IconBag to organize icons
Implement IconBag method of organizing menubar icons from Browser.
2022-02-12 11:24:00 +01:00

35 lines
1.2 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> edit_copy { nullptr };
RefPtr<Gfx::Bitmap> clear_selection { nullptr };
RefPtr<Gfx::Bitmap> swap_colors { nullptr };
RefPtr<Gfx::Bitmap> default_colors { nullptr };
RefPtr<Gfx::Bitmap> edit_flip_vertical { nullptr };
RefPtr<Gfx::Bitmap> edit_flip_horizontal { 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> filter { nullptr };
};
}