Refonte pour utiliser le systeme de GUI #112

Merged
kazhnuz merged 102 commits from feat/gui into master 2022-01-06 19:15:16 +01:00
Showing only changes of commit b779a55eb7 - Show all commits

View file

@ -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()