diff --git a/Base/res/icons/16x16/app-playground.png b/Base/res/icons/16x16/app-playground.png new file mode 100644 index 0000000000..3fc21c9466 Binary files /dev/null and b/Base/res/icons/16x16/app-playground.png differ diff --git a/Base/res/icons/32x32/app-playground.png b/Base/res/icons/32x32/app-playground.png new file mode 100644 index 0000000000..1b8f3cba4c Binary files /dev/null and b/Base/res/icons/32x32/app-playground.png differ diff --git a/DevTools/Playground/CMakeLists.txt b/DevTools/Playground/CMakeLists.txt index d4e696d6ef..01e72b95b8 100644 --- a/DevTools/Playground/CMakeLists.txt +++ b/DevTools/Playground/CMakeLists.txt @@ -2,5 +2,5 @@ set(SOURCES main.cpp ) -serenity_app(Playground) +serenity_app(Playground ICON app-playground) target_link_libraries(Playground LibGUI) diff --git a/DevTools/Playground/main.cpp b/DevTools/Playground/main.cpp index f24780e826..3e620a407b 100644 --- a/DevTools/Playground/main.cpp +++ b/DevTools/Playground/main.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -33,8 +34,10 @@ int main(int argc, char** argv) { auto app = GUI::Application::construct(argc, argv); + auto app_icon = GUI::Icon::default_icon("app-playground"); auto window = GUI::Window::construct(); window->set_title("GML Playground"); + window->set_icon(app_icon.bitmap_for_size(16)); window->resize(800, 600); auto& splitter = window->set_main_widget();