1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

Browser: Show current zoom level in view menu

This commit is contained in:
MacDue 2023-03-26 19:41:06 +01:00 committed by Linus Groh
parent a2d333ff4a
commit 039d5edc6f
2 changed files with 19 additions and 3 deletions

View file

@ -62,6 +62,8 @@ private:
virtual void event(Core::Event&) override;
void update_zoom_menu_text();
enum class ScreenshotType {
Visible,
Full,
@ -80,6 +82,8 @@ private:
RefPtr<GUI::Action> m_take_visible_screenshot_action;
RefPtr<GUI::Action> m_take_full_screenshot_action;
RefPtr<GUI::Menu> m_zoom_menu;
CookieJar& m_cookie_jar;
WindowActions m_window_actions;
RefPtr<GUI::TabWidget> m_tab_widget;