mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
Userland+Base: Add "ladyball" logo for the system :^)
Thanks to Katalin Kult for the artwork!
This commit is contained in:
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))) {
|
||||
|
||||
Reference in New Issue
Block a user