1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +00:00

VideoPlayer: Create submenu to set sizing mode

Also add icon to the sizing mode cycling button.
This commit is contained in:
timre13 2023-03-03 18:10:52 +01:00 committed by Sam Atkins
parent b33b950e45
commit eef07a411b
5 changed files with 74 additions and 6 deletions

View file

@ -70,6 +70,12 @@ private:
RefPtr<GUI::Action> m_toggle_fullscreen_action;
OwnPtr<GUI::ActionGroup> m_sizing_mode_group;
RefPtr<GUI::Action> m_size_fit_action;
RefPtr<GUI::Action> m_size_fill_action;
RefPtr<GUI::Action> m_size_stretch_action;
RefPtr<GUI::Action> m_size_fullsize_action;
OwnPtr<Video::PlaybackManager> m_playback_manager;
bool m_was_playing_before_seek { false };