1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

VideoPlayer: Port to GML

This commit is contained in:
implicitfield 2023-01-08 17:35:22 +02:00 committed by Sam Atkins
parent f0a33b2a8e
commit f63ecc2763
7 changed files with 95 additions and 42 deletions

View file

@ -9,10 +9,13 @@
#include "VideoFrameWidget.h"
REGISTER_WIDGET(VideoPlayer, VideoFrameWidget);
namespace VideoPlayer {
VideoFrameWidget::VideoFrameWidget()
{
REGISTER_BOOL_PROPERTY("auto_resize", auto_resize, set_auto_resize);
set_auto_resize(true);
}