17 lines
305 B
Lua
17 lines
305 B
Lua
|
|
||
|
|
||
|
local gradient = gfx.CreateSkinImage("multi/roomselect/lobby_select_gradiant.png", 1);
|
||
|
|
||
|
local draw = function(x,y)
|
||
|
|
||
|
gfx.Save()
|
||
|
local jw,jh = gfx.ImageSize(gradient);
|
||
|
gfx.BeginPath();
|
||
|
gfx.ImageRect(x/x, y/y+376, jw, jh, gradient,1,0);
|
||
|
|
||
|
gfx.Restore()
|
||
|
|
||
|
end
|
||
|
|
||
|
|
||
|
return {Draw = draw}
|