aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Menu')
-rw-r--r--Game/Code/Menu/UMenu.pas15
1 files changed, 0 insertions, 15 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas
index 99f10c08..e6bb6b45 100644
--- a/Game/Code/Menu/UMenu.pas
+++ b/Game/Code/Menu/UMenu.pas
@@ -277,10 +277,6 @@ begin
//Button Collections are Created when the first ChildButton is Created
PrepareButtonCollections(ThemeBasic.ButtonCollection);
- {$ifdef fpc}
- writeln(' TMenu.LoadFromThem : '+ThemeBasic.Background.Tex );
- {$endif}
-
//Add Background
AddBackground(ThemeBasic.Background.Tex);
@@ -298,24 +294,13 @@ var
begin
if Name <> '' then
begin
-// BackImg := Texture.LoadTexture(false, PChar(Skin.SkinPath + FileName), 'JPG', 'Plain', 0); // new theme system
lFileName := Skin.GetTextureFileName(Name);
lFileName := AdaptFilePaths( lFileName );
- {$ifdef fpc}
- writeln(' TMenu.AddBackground : '+Name+ ' - '+ lFileName );
- {$endif}
-
-// if lFileName <> '' then
if fileexists( lFileName ) then
begin
BackImg := Texture.GetTexture( lFileName , 'Plain');
- {$ifdef fpc}
- writeln(' TMenu.AddBackground : '+ lFileName +' - LOADED');
- {$endif}
-
-
BackImg.W := 800;
BackImg.H := 600;
BackW := 1;