mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 06:49:12 +03:00
Base+Presenter: Add icons for Presenter
Add application and filetype icons for Presenter in 32px and 16px
This commit is contained in:
parent
38b0b32bb4
commit
0cfce93e51
Notes:
sideshowbarker
2024-07-17 10:05:47 +09:00
Author: https://github.com/cubiclove 🔰 Commit: https://github.com/SerenityOS/serenity/commit/0cfce93e51 Pull-request: https://github.com/SerenityOS/serenity/pull/17260
@ -24,6 +24,7 @@ object=*.o,*.obj
|
||||
gml=*.gml
|
||||
palette=*.palette
|
||||
pdf=*.pdf
|
||||
presenter=*.presenter
|
||||
python=*.py
|
||||
ruby=*.rb
|
||||
shell=*.sh,*.bash,*.zsh
|
||||
|
BIN
Base/res/icons/16x16/app-presenter.png
Normal file
BIN
Base/res/icons/16x16/app-presenter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 244 B |
BIN
Base/res/icons/16x16/filetype-presenter.png
Normal file
BIN
Base/res/icons/16x16/filetype-presenter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 237 B |
BIN
Base/res/icons/32x32/app-presenter.png
Normal file
BIN
Base/res/icons/32x32/app-presenter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 405 B |
BIN
Base/res/icons/32x32/filetype-presenter.png
Normal file
BIN
Base/res/icons/32x32/filetype-presenter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 318 B |
@ -13,5 +13,5 @@ set(SOURCES
|
||||
Slide.cpp
|
||||
SlideObject.cpp
|
||||
)
|
||||
serenity_app(Presenter ICON app-display-settings)
|
||||
serenity_app(Presenter ICON app-presenter)
|
||||
target_link_libraries(Presenter PRIVATE LibWebView LibGUI LibGfx LibFileSystemAccessClient LibCore LibMain)
|
||||
|
@ -102,7 +102,7 @@ ErrorOr<void> PresenterWidget::initialize_menubar()
|
||||
update_slides_actions();
|
||||
|
||||
auto help_menu = TRY(window->try_add_menu("&Help"));
|
||||
TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Presenter", GUI::Icon::default_icon("app-display-settings"sv))));
|
||||
TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Presenter", GUI::Icon::default_icon("app-presenter"sv))));
|
||||
|
||||
return {};
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
auto window = TRY(GUI::Window::try_create());
|
||||
window->set_title("Presenter");
|
||||
window->set_icon(GUI::Icon::default_icon("app-display-settings"sv).bitmap_for_size(16));
|
||||
window->set_icon(GUI::Icon::default_icon("app-presenter"sv).bitmap_for_size(16));
|
||||
auto main_widget = TRY(window->set_main_widget<PresenterWidget>());
|
||||
TRY(main_widget->initialize_menubar());
|
||||
window->show();
|
||||
|
Loading…
Reference in New Issue
Block a user