diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-20 12:37:24 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-20 12:37:24 +0000 |
commit | fd5f18250e6da98c47f23f49b7c4663c9a8bf7d3 (patch) | |
tree | 4e8f12143e4bdf8c37f6e6960bad46f88ad3c706 /Game/Code/Menu | |
parent | 707441e6eac0f628f9c61f0130df07c6768ba291 (diff) | |
download | usdx-fd5f18250e6da98c47f23f49b7c4663c9a8bf7d3.tar.gz usdx-fd5f18250e6da98c47f23f49b7c4663c9a8bf7d3.tar.xz usdx-fd5f18250e6da98c47f23f49b7c4663c9a8bf7d3.zip |
Adding new Resource compiler for lazarus projects..
(other one did not name resources correctly)
this resource compiler could be expanded by someone to Parse
Ultrastar.rc and compile the lrs file, rather than having it hardcoded in USDXResCompiler
other changes, include ability to read the Resource String properly in code generated by lazarus.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@422 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Menu')
-rw-r--r-- | Game/Code/Menu/UMenu.pas | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas index 1e6c1e87..ccce325e 100644 --- a/Game/Code/Menu/UMenu.pas +++ b/Game/Code/Menu/UMenu.pas @@ -288,7 +288,8 @@ end; procedure TMenu.AddBackground(Name: string);
begin
- if Name <> '' then begin
+ if Name <> '' then
+ begin
// BackImg := Texture.LoadTexture(false, PChar(Skin.SkinPath + FileName), 'JPG', 'Plain', 0); // new theme system
BackImg := Texture.GetTexture(Skin.GetTextureFileName(Name), 'Plain');
BackImg.W := 800;
|