mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Userland+Base: Add "ladyball" logo for the system :^)
Thanks to Katalin Kult for the artwork!
This commit is contained in:
parent
2b78d90d04
commit
6c2ec4c1a4
Notes:
sideshowbarker
2024-07-18 19:06:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6c2ec4c1a49
5 changed files with 4 additions and 4 deletions
BIN
Base/res/icons/16x16/ladyball.png
Normal file
BIN
Base/res/icons/16x16/ladyball.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 334 B |
BIN
Base/res/icons/32x32/ladyball.png
Normal file
BIN
Base/res/icons/32x32/ladyball.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 575 B |
|
@ -32,7 +32,7 @@ int main(int argc, char** argv)
|
|||
|
||||
unveil(nullptr, nullptr);
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("ladybug");
|
||||
GUI::AboutDialog::show("SerenityOS", nullptr, nullptr, app_icon.bitmap_for_size(32));
|
||||
auto app_icon = GUI::Icon::default_icon("ladyball");
|
||||
GUI::AboutDialog::show("SerenityOS", app_icon.bitmap_for_size(32), nullptr, app_icon.bitmap_for_size(16));
|
||||
return app->exec();
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ TaskbarWindow::TaskbarWindow(NonnullRefPtr<GUI::Menu> start_menu)
|
|||
m_start_button->set_font(Gfx::FontDatabase::default_bold_font());
|
||||
m_start_button->set_icon_spacing(0);
|
||||
m_start_button->set_fixed_size(80, 22);
|
||||
auto app_icon = GUI::Icon::default_icon("ladybug");
|
||||
auto app_icon = GUI::Icon::default_icon("ladyball");
|
||||
m_start_button->set_icon(app_icon.bitmap_for_size(16));
|
||||
m_start_button->set_menu(m_start_menu);
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ NonnullRefPtr<GUI::Menu> build_system_menu()
|
|||
const Vector<String> sorted_app_categories = discover_apps_and_categories();
|
||||
auto system_menu = GUI::Menu::construct("\xE2\x9A\xA1"); // HIGH VOLTAGE SIGN
|
||||
|
||||
system_menu->add_action(GUI::Action::create("About SerenityOS", Gfx::Bitmap::load_from_file("/res/icons/16x16/ladybug.png"), [](auto&) {
|
||||
system_menu->add_action(GUI::Action::create("About SerenityOS", Gfx::Bitmap::load_from_file("/res/icons/16x16/ladyball.png"), [](auto&) {
|
||||
pid_t child_pid;
|
||||
const char* argv[] = { "/bin/About", nullptr };
|
||||
if ((errno = posix_spawn(&child_pid, "/bin/About", nullptr, nullptr, const_cast<char**>(argv), environ))) {
|
||||
|
|
Loading…
Reference in a new issue