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/screens/UScreenOpen.pas | |
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 '')
-rw-r--r-- | src/screens/UScreenOpen.pas | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/screens/UScreenOpen.pas b/src/screens/UScreenOpen.pas index ee77f34e..116fd175 100644 --- a/src/screens/UScreenOpen.pas +++ b/src/screens/UScreenOpen.pas @@ -145,18 +145,18 @@ begin // linijka { AddStatic(20, 10, 80, 30, 0, 0, 0, 'MainBar', 'JPG', TEXTURE_TYPE_COLORIZED); - AddText(35, 17, 1, 6, 1, 1, 1, 'Linijka'); - TextSentence := AddText(120, 14, 1, 8, 0, 0, 0, '0 / 0');} + AddText(35, 17, 1, 18, 1, 1, 1, 'Linijka'); + TextSentence := AddText(120, 14, 1, 24, 0, 0, 0, '0 / 0');} // file list // AddBox(400, 100, 350, 450); -// TextF[0] := AddText(430, 155, 0, 8, 0, 0, 0, 'a'); -// TextF[1] := AddText(430, 180, 0, 8, 0, 0, 0, 'a'); +// TextF[0] := AddText(430, 155, 0, 24, 0, 0, 0, 'a'); +// TextF[1] := AddText(430, 180, 0, 24, 0, 0, 0, 'a'); // file name AddBox(20, 540, 500, 40); - TextN := AddText(50, 548, 0, 8, 0, 0, 0, ConversionFileName); + TextN := AddText(50, 548, 0, 24, 0, 0, 0, ConversionFileName); AddInteraction(iText, TextN); // buttons |