mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Browser: Show current zoom level in view menu
This commit is contained in:
parent
a2d333ff4a
commit
039d5edc6f
Notes:
sideshowbarker
2024-07-16 23:23:26 +09:00
Author: https://github.com/MacDue
Commit: 039d5edc6f
Pull-request: https://github.com/SerenityOS/serenity/pull/18054
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
2 changed files with 19 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue