43 lines
1.2 KiB
Lua
43 lines
1.2 KiB
Lua
local function getJacket(jacketWindowX, jacketWindowY)
|
|
-- jacket image
|
|
return {
|
|
{
|
|
id = "jacket_window",
|
|
dst = {
|
|
{ x = jacketWindowX, y = jacketWindowY, w = 408, h = 372, a = 255 }
|
|
}
|
|
},
|
|
{
|
|
id = "text_jacket_title",
|
|
dst = {
|
|
{ x = jacketWindowX + 68, y = jacketWindowY + 314, w = 130, h = 40, a = 255, r = 255, g = 255, b = 255 }
|
|
}
|
|
},
|
|
{
|
|
id = -110, -- black image for the black bars in the jacket window
|
|
dst = {
|
|
{ x = jacketWindowX + 6, y = jacketWindowY + 6, w = 396, h = 296, a = 255 }
|
|
}
|
|
},
|
|
{
|
|
id = -100, -- stage file (music select image)
|
|
op = { 191 },
|
|
dst = {
|
|
{ x = jacketWindowX + 6, y = jacketWindowY + 6, w = 396, h = 296, a = 255 }
|
|
}
|
|
|
|
},
|
|
{
|
|
id = "jacket_no_jacket",
|
|
op = { 190 },
|
|
dst = { -- text is centered so the draw origin is shifted by 200 px
|
|
{ x = jacketWindowX + 206, y = jacketWindowY + 120, w = 400, h = 52, a = 255, r = 255, g = 255, b = 255 }
|
|
}
|
|
}
|
|
}
|
|
end
|
|
|
|
return {
|
|
getJacket = getJacket
|
|
}
|