diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-23 18:09:11 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-07-23 18:09:11 +0000 |
commit | 21c1082f916cc9a4d7be625c132e02b1fc1d8012 (patch) | |
tree | cf3c705058db9839ba80cebfaf0fe69086fa38f2 /unicode/src/menu/UMenuBackgroundFade.pas | |
parent | 446eec893b7915d80a4504d40bbfc6f77cafa550 (diff) | |
download | usdx-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 '')
-rw-r--r-- | unicode/src/menu/UMenuBackgroundFade.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unicode/src/menu/UMenuBackgroundFade.pas b/unicode/src/menu/UMenuBackgroundFade.pas index b61a4542..6fef063f 100644 --- a/unicode/src/menu/UMenuBackgroundFade.pas +++ b/unicode/src/menu/UMenuBackgroundFade.pas @@ -36,7 +36,8 @@ interface uses
UThemes,
UTexture,
- UMenuBackground;
+ UMenuBackground,
+ UPath;
//TMenuBackgroundFade - Background Fade In for Overlay screens
//--------
@@ -72,7 +73,7 @@ uses constructor TMenuBackgroundFade.Create(const ThemedSettings: TThemeBackground);
var
- texFilename: string;
+ texFilename: IPath;
begin
inherited;
FadeTime := 0;
@@ -82,7 +83,6 @@ begin if (Length(ThemedSettings.Tex) > 0) then
begin
texFilename := Skin.GetTextureFileName(ThemedSettings.Tex);
- texFilename := AdaptFilePaths(texFilename);
Tex := Texture.GetTexture(texFilename, TEXTURE_TYPE_PLAIN);
UseTexture := (Tex.TexNum <> 0);
|