1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-15 09:27:35 +00:00
serenity/Userland/Applications/ImageViewer
Andreas Kling 687a12d7fb Userland: Add GUI::Window::add_menu() and use it everywhere
Applications previously had to create a GUI::Menubar object, add menus
to it, and then call GUI::Window::set_menubar().

This patch introduces GUI::Window::add_menu() which creates the menubar
automatically and adds items to it. Application code becomes slightly
simpler as a result. :^)
2021-07-21 21:24:26 +02:00
..
CMakeLists.txt Everywhere: Add component declarations 2021-06-17 11:03:51 +02:00
main.cpp Userland: Add GUI::Window::add_menu() and use it everywhere 2021-07-21 21:24:26 +02:00
ViewWidget.cpp ImageViewer: Do not resize the window if the image fits into the window 2021-07-20 23:40:26 +02:00
ViewWidget.h ImageViewer: Use the same function to resize the window 2021-07-20 23:40:26 +02:00