aboutsummaryrefslogtreecommitdiffstats
path: root/unicode/src/menu/UMenuBackgroundTexture.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 18:09:11 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-07-23 18:09:11 +0000
commit21c1082f916cc9a4d7be625c132e02b1fc1d8012 (patch)
treecf3c705058db9839ba80cebfaf0fe69086fa38f2 /unicode/src/menu/UMenuBackgroundTexture.pas
parent446eec893b7915d80a4504d40bbfc6f77cafa550 (diff)
downloadusdx-21c1082f916cc9a4d7be625c132e02b1fc1d8012.tar.gz
usdx-21c1082f916cc9a4d7be625c132e02b1fc1d8012.tar.xz
usdx-21c1082f916cc9a4d7be625c132e02b1fc1d8012.zip
- IPath integration
- BASS is now unicode compatible git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1875 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'unicode/src/menu/UMenuBackgroundTexture.pas')
-rw-r--r--unicode/src/menu/UMenuBackgroundTexture.pas7
1 files changed, 4 insertions, 3 deletions
diff --git a/unicode/src/menu/UMenuBackgroundTexture.pas b/unicode/src/menu/UMenuBackgroundTexture.pas
index a1b9e88a..91ea6503 100644
--- a/unicode/src/menu/UMenuBackgroundTexture.pas
+++ b/unicode/src/menu/UMenuBackgroundTexture.pas
@@ -36,7 +36,8 @@ interface
uses
UThemes,
UTexture,
- UMenuBackground;
+ UMenuBackground,
+ UPath;
//TMenuBackgroundColor - Background Color
//--------
@@ -65,7 +66,8 @@ uses
UGraphic;
constructor TMenuBackgroundTexture.Create(const ThemedSettings: TThemeBackground);
-var texFilename: string;
+var
+ texFilename: IPath;
begin
inherited;
@@ -75,7 +77,6 @@ begin
Color := ThemedSettings.Color;
texFilename := Skin.GetTextureFileName(ThemedSettings.Tex);
- texFilename := AdaptFilePaths(texFilename);
Tex := Texture.GetTexture(texFilename, TEXTURE_TYPE_PLAIN);
if (Tex.TexNum = 0) then