+ mode select label to titlescreen header
This commit is contained in:
parent
d1753e3cc5
commit
de3d9584ed
|
@ -15,6 +15,7 @@ local desh = 1920
|
||||||
local scale;
|
local scale;
|
||||||
|
|
||||||
local bgImage = gfx.CreateSkinImage('titlescreen/bg.png', 0);
|
local bgImage = gfx.CreateSkinImage('titlescreen/bg.png', 0);
|
||||||
|
local headerTitleImage = gfx.CreateSkinImage('titlescreen/title.png', 0);
|
||||||
local selectorBgImage = gfx.CreateSkinImage('titlescreen/selector_bg.png', 0);
|
local selectorBgImage = gfx.CreateSkinImage('titlescreen/selector_bg.png', 0);
|
||||||
local selectorArrowsImage = gfx.CreateSkinImage(
|
local selectorArrowsImage = gfx.CreateSkinImage(
|
||||||
'titlescreen/selector_arrows.png', 0);
|
'titlescreen/selector_arrows.png', 0);
|
||||||
|
@ -261,8 +262,7 @@ function drawHeader()
|
||||||
gfx.Fill();
|
gfx.Fill();
|
||||||
gfx.ClosePath()
|
gfx.ClosePath()
|
||||||
|
|
||||||
-- gfx.ImageRect(42, 14, 423*0.85, 80*0.85, headerTitleImage, 1, 0)
|
gfx.ImageRect(desw/2 - 200, HEADER_HEIGHT/2 - 20, 400, 40, headerTitleImage, 1, 0)
|
||||||
-- gfx.ImageRect(42, 14, 423*0.85, 80*0.85, headerGlowTitleImage, animationHeaderGlowAlpha, 0)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function sign(x) return x > 0 and 1 or x < 0 and -1 or 0 end
|
function sign(x) return x > 0 and 1 or x < 0 and -1 or 0 end
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue