mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 07:33:20 +00:00
LibWebView+UI: Generate the zoom menu
This commit is contained in:
parent
7d6ea99d0d
commit
9684e6dbc5
Notes:
github-actions[bot]
2025-09-11 18:24:52 +00:00
Author: https://github.com/trflynn89
Commit: 9684e6dbc5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6062
20 changed files with 104 additions and 210 deletions
|
@ -77,6 +77,9 @@ public:
|
|||
Action& select_all_action() { return *m_select_all_action; }
|
||||
Action& view_source_action() { return *m_view_source_action; }
|
||||
|
||||
Menu& zoom_menu() { return *m_zoom_menu; }
|
||||
Action& reset_zoom_action() { return *m_reset_zoom_action; }
|
||||
|
||||
Menu& color_scheme_menu() { return *m_color_scheme_menu; }
|
||||
Menu& contrast_menu() { return *m_contrast_menu; }
|
||||
Menu& motion_menu() { return *m_motion_menu; }
|
||||
|
@ -176,6 +179,9 @@ private:
|
|||
RefPtr<Action> m_select_all_action;
|
||||
RefPtr<Action> m_view_source_action;
|
||||
|
||||
RefPtr<Menu> m_zoom_menu;
|
||||
RefPtr<Action> m_reset_zoom_action;
|
||||
|
||||
RefPtr<Menu> m_color_scheme_menu;
|
||||
Web::CSS::PreferredColorScheme m_color_scheme { Web::CSS::PreferredColorScheme::Auto };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue