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:
parent
b33b950e45
commit
eef07a411b
5 changed files with 74 additions and 6 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue