diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-25 20:44:45 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-05-25 20:44:45 +0000 |
commit | f9827cabe2bd6ff0bf8f0de7bfb7d041d77c4306 (patch) | |
tree | 917f49278bf4fda6e3f8db0555a28b01a450a0be /VideoPreview/src/screens | |
parent | d2525e356269d1ee9ac2a9b34ad349dd0f253d3d (diff) | |
download | usdx-f9827cabe2bd6ff0bf8f0de7bfb7d041d77c4306.tar.gz usdx-f9827cabe2bd6ff0bf8f0de7bfb7d041d77c4306.tar.xz usdx-f9827cabe2bd6ff0bf8f0de7bfb7d041d77c4306.zip |
fixed property AspectCorrection (write).
added constant ReflectionH (reflection height).
added procedures for drawing black borders (acoLetterBox).
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2422 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'VideoPreview/src/screens')
-rw-r--r-- | VideoPreview/src/screens/UScreenSing.pas | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/VideoPreview/src/screens/UScreenSing.pas b/VideoPreview/src/screens/UScreenSing.pas index 76eb385e..835cb2df 100644 --- a/VideoPreview/src/screens/UScreenSing.pas +++ b/VideoPreview/src/screens/UScreenSing.pas @@ -847,24 +847,19 @@ begin fCurrentVideo.GetFrame(VideoFrameTime); end; - // clear just once when in dual screen mode - if (ScreenAct = 1) then - begin - glClearColor(0, 0, 0, 0); - //glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT); - end; - //***** for testing: - fCurrentVideo.SetScreenPosition(300, 10); + {fCurrentVideo.SetScreenPosition(10, 10, 1); fCurrentVideo.Width := 200; - fCurrentVideo.Height := 150; + fCurrentVideo.Height := 200; fCurrentVideo.ReflectionSpacing := 10; + fCurrentVideo.Alpha := 1; + fCurrentVideo.AspectCorrection := acoLetterBox;} //***** end testing fCurrentVideo.SetScreen(ScreenAct); fCurrentVideo.Draw; - fCurrentVideo.DrawReflection; //just for testing, should be deleted! + //fCurrentVideo.DrawReflection; //just for testing, should be deleted! end; // draw static menu (FG) |