mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00: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
8 changed files with 4 additions and 3 deletions
|
@ -24,6 +24,7 @@ object=*.o,*.obj
|
||||||
gml=*.gml
|
gml=*.gml
|
||||||
palette=*.palette
|
palette=*.palette
|
||||||
pdf=*.pdf
|
pdf=*.pdf
|
||||||
|
presenter=*.presenter
|
||||||
python=*.py
|
python=*.py
|
||||||
ruby=*.rb
|
ruby=*.rb
|
||||||
shell=*.sh,*.bash,*.zsh
|
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
|
Slide.cpp
|
||||||
SlideObject.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)
|
target_link_libraries(Presenter PRIVATE LibWebView LibGUI LibGfx LibFileSystemAccessClient LibCore LibMain)
|
||||||
|
|
|
@ -102,7 +102,7 @@ ErrorOr<void> PresenterWidget::initialize_menubar()
|
||||||
update_slides_actions();
|
update_slides_actions();
|
||||||
|
|
||||||
auto help_menu = TRY(window->try_add_menu("&Help"));
|
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 {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
auto app = TRY(GUI::Application::try_create(arguments));
|
auto app = TRY(GUI::Application::try_create(arguments));
|
||||||
auto window = TRY(GUI::Window::try_create());
|
auto window = TRY(GUI::Window::try_create());
|
||||||
window->set_title("Presenter");
|
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>());
|
auto main_widget = TRY(window->set_main_widget<PresenterWidget>());
|
||||||
TRY(main_widget->initialize_menubar());
|
TRY(main_widget->initialize_menubar());
|
||||||
window->show();
|
window->show();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue