aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenCredits.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-19 16:24:59 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-19 16:24:59 +0000
commit2f768387f3849699320229a5b756db78af1207a2 (patch)
treee39161fd1ba290e78ded030323d7a07c4272abab /src/screens/UScreenCredits.pas
parentaf9523c588b9440880e2d1bebe0cf79235cc4d59 (diff)
downloadusdx-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/screens/UScreenCredits.pas')
-rw-r--r--src/screens/UScreenCredits.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/UScreenCredits.pas b/src/screens/UScreenCredits.pas
index 197fb076..fca65359 100644
--- a/src/screens/UScreenCredits.pas
+++ b/src/screens/UScreenCredits.pas
@@ -329,7 +329,7 @@ var
X,Y,A: Real;
visibleText: PChar;
begin
- SetFontSize(10);
+ SetFontSize(30);
//Init ScrollingText
if (CTime = Timings[7]) then
begin
@@ -367,7 +367,7 @@ begin
X:=5;
SetFontStyle (2);
SetFontItalic(False);
- SetFontSize(9);
+ SetFontSize(27);
glColor4f(1, 1, 1, 1);
for S:=0 to high(CTime_hold) do begin
visibleText:=pchar(inttostr(CTime_hold[S]));
@@ -1352,7 +1352,7 @@ begin
// draw credits runtime counter
SetFontStyle (2);
SetFontItalic(False);
- SetFontSize(9);
+ SetFontSize(27);
SetFontPos (5, 5);
glColor4f(1, 1, 1, 1);
//RuntimeStr:='CTime: '+inttostr(floor(CTime/30.320663991914489602156136106092))+'.'+inttostr(floor(CTime/3.0320663991914489602156136106092)-floor(CTime/30.320663991914489602156136106092)*10);