From 3e5206f810aa790cdfaa576ed3fac50974e0c4b4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 17 Apr 2007 22:04:58 +0000 Subject: [PATCH] Actor:FullScreen --- stepmania/Themes/default/Scripts/Actor.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/Themes/default/Scripts/Actor.lua b/stepmania/Themes/default/Scripts/Actor.lua index f90a0f2e51..6b2ca1e45e 100644 --- a/stepmania/Themes/default/Scripts/Actor.lua +++ b/stepmania/Themes/default/Scripts/Actor.lua @@ -92,6 +92,10 @@ function Actor:align(h, v) self:valign( v ); end +function Actor:FullScreen() + self:stretchto( 0,0,SCREEN_WIDTH,SCREEN_HEIGHT ); +end + -- Most backgrounds are 640x480. Some are 768x480. Stretch the 640x480 ones. function Actor:scale_or_crop_background() if self:GetWidth() == 640 and self:GetHeight() == 480 then