diff --git a/Base/res/icons/16x16/bottom-layer.png b/Base/res/icons/16x16/bottom-layer.png new file mode 100644 index 0000000000..f8b540b48e Binary files /dev/null and b/Base/res/icons/16x16/bottom-layer.png differ diff --git a/Base/res/icons/16x16/new-layer.png b/Base/res/icons/16x16/new-layer.png new file mode 100644 index 0000000000..1262c2d9fd Binary files /dev/null and b/Base/res/icons/16x16/new-layer.png differ diff --git a/Base/res/icons/16x16/top-layer.png b/Base/res/icons/16x16/top-layer.png new file mode 100644 index 0000000000..50b7dfd942 Binary files /dev/null and b/Base/res/icons/16x16/top-layer.png differ diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp index 75413d267c..8f41e7b320 100644 --- a/Userland/Applications/PixelPaint/MainWidget.cpp +++ b/Userland/Applications/PixelPaint/MainWidget.cpp @@ -431,7 +431,7 @@ void MainWidget::initialize_menubar(GUI::Window& window) auto& layer_menu = window.add_menu("&Layer"); layer_menu.add_action(GUI::Action::create( - "New &Layer...", { Mod_Ctrl | Mod_Shift, Key_N }, [&](auto&) { + "New &Layer...", { Mod_Ctrl | Mod_Shift, Key_N }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/new-layer.png"), [&](auto&) { auto* editor = current_image_editor(); if (!editor) return; @@ -458,11 +458,11 @@ void MainWidget::initialize_menubar(GUI::Window& window) m_layer_list_widget->cycle_through_selection(-1); })); layer_menu.add_action(GUI::Action::create( - "Select &Top Layer", { 0, Key_Home }, [&](auto&) { + "Select &Top Layer", { 0, Key_Home }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/top-layer.png"), [&](auto&) { m_layer_list_widget->select_top_layer(); })); layer_menu.add_action(GUI::Action::create( - "Select B&ottom Layer", { 0, Key_End }, [&](auto&) { + "Select B&ottom Layer", { 0, Key_End }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/bottom-layer.png"), [&](auto&) { m_layer_list_widget->select_bottom_layer(); })); layer_menu.add_separator();