Refonte pour utiliser le systeme de GUI #112
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ function FancyMenu:new(name, x, y, w, itemNumber, haveBiseau)
|
||||||
self.itemNumber = itemNumber
|
self.itemNumber = itemNumber
|
||||||
self.box = gui.newChoiceBack(self.w + 24)
|
self.box = gui.newChoiceBack(self.w + 24)
|
||||||
self.cursorTexture = love.graphics.newImage("assets/gui/cursor-menulist.png")
|
self.cursorTexture = love.graphics.newImage("assets/gui/cursor-menulist.png")
|
||||||
|
self.canvas.padding = 24
|
||||||
end
|
end
|
||||||
|
|
||||||
function FancyMenu:getDimensions()
|
function FancyMenu:getDimensions()
|
||||||
|
|
Loading…
Reference in a new issue