1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +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

@ -28,7 +28,7 @@ public:
void set_bitmap(Gfx::Bitmap const*);
Gfx::Bitmap const* bitmap() const { return m_bitmap.ptr(); }
void set_sizing_mode(VideoSizingMode value) { m_sizing_mode = value; }
void set_sizing_mode(VideoSizingMode value);
VideoSizingMode sizing_mode() const { return m_sizing_mode; }
void set_auto_resize(bool value);