fixed some bugs and reformatted the play button correctly
This commit is contained in:
parent
d17f78e679
commit
34cbbdae9f
|
@ -1,7 +1,7 @@
|
||||||
accentColor = colors.gray
|
accentColor = colors.gray
|
||||||
buttonColor = colors.lightGray
|
buttonColor = colors.lightGray
|
||||||
textColor = color.lightGray
|
textColor = colors.lightGray
|
||||||
altTextColor = color.gray
|
altTextColor = colors.gray
|
||||||
backgroundColor = colors.black
|
backgroundColor = colors.black
|
||||||
|
|
||||||
function round(n)
|
function round(n)
|
||||||
|
@ -64,10 +64,10 @@ function stopDisc()
|
||||||
end
|
end
|
||||||
|
|
||||||
function renderPlayButton()
|
function renderPlayButton()
|
||||||
paintutils.drawFilledBox(centerWidth - 4, centerHeight - 4, centerWidth + 5, centerHeight + 3, accentColor)
|
paintutils.drawFilledBox(centerWidth - 4, centerHeight - 4, centerWidth + 4, centerHeight + 2, accentColor)
|
||||||
paintutils.drawFilledBox(centerWidth - 2, centerHeight - 3, centerWidth - 1, centerHeight + 1, buttonColor)
|
paintutils.drawFilledBox(centerWidth - 2, centerHeight - 3, centerWidth - 1, centerHeight + 1, buttonColor)
|
||||||
paintutils.drawFilledBox(centerWidth, centerHeight - 2, centerWidth + 1, centerHeight - 1, buttonColor)
|
paintutils.drawFilledBox(centerWidth, centerHeight - 2, centerWidth + 1, centerHeight, buttonColor)
|
||||||
paintutils.drawPixel(centerWidth, centerHeight - 2, buttonColor)
|
paintutils.drawPixel(centerWidth + 2, centerHeight - 1, buttonColor)
|
||||||
end
|
end
|
||||||
|
|
||||||
playDisc()
|
playDisc()
|
||||||
|
|
Loading…
Reference in a new issue