diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-10-19 16:24:59 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-10-19 16:24:59 +0000 |
commit | 2f768387f3849699320229a5b756db78af1207a2 (patch) | |
tree | e39161fd1ba290e78ded030323d7a07c4272abab /src/media | |
parent | af9523c588b9440880e2d1bebe0cf79235cc4d59 (diff) | |
download | usdx-2f768387f3849699320229a5b756db78af1207a2.tar.gz usdx-2f768387f3849699320229a5b756db78af1207a2.tar.xz usdx-2f768387f3849699320229a5b756db78af1207a2.zip |
The size given to TextGL.SetSize() now expresses the size in pixel (formerly it was 1/3 of the pixel-size).
For theme and plugin compatibility the following functions multiply the size with 3:
- UScreenSingModi.Print
- TTheme.ThemeLoadText
- TTheme.ThemeLoadSelectSlide
TODO: Convert the themes/plugins and remove the "*3"
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1459 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media')
-rw-r--r-- | src/media/UVideo.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index 32484d5e..84949766 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -764,7 +764,7 @@ begin glColor4f(0.7, 1, 0.3, 1); SetFontStyle (1); SetFontItalic(False); - SetFontSize(9); + SetFontSize(27); SetFontPos (300, 0); glPrint('Delay due to negative VideoGap'); glColor4f(1, 1, 1, 1); @@ -783,7 +783,7 @@ begin glColor4f(1, 1, 1, 1); SetFontStyle (1); SetFontItalic(False); - SetFontSize(9); + SetFontSize(27); SetFontPos (5, 0); glPrint('delaying frame'); SetFontPos (5, 20); |