naming conventions act 2: the end
This commit is contained in:
@@ -39,7 +39,7 @@ function InterfaceButton:new(x,y,w,h,table_values,value,style)
|
||||
scale_proportion = 1.5
|
||||
}
|
||||
|
||||
AddElement(o)
|
||||
addElement(o)
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
@@ -71,7 +71,7 @@ function InterfaceButton:checkMouse(mouse_x, mouse_y)
|
||||
end
|
||||
end
|
||||
|
||||
function InterfaceButton:Draw()
|
||||
function InterfaceButton:draw()
|
||||
local c1, c2, c3, a = love.graphics.getColor()
|
||||
|
||||
love.graphics.setColor(self.style.color[1],self.style.color[2],self.style.color[3],self.style.alpha)
|
||||
|
||||
@@ -29,7 +29,7 @@ function InterfaceDialog:new(style)
|
||||
scale_proportion = 1
|
||||
}
|
||||
|
||||
AddElement(o)
|
||||
addElement(o)
|
||||
|
||||
setmetatable(o, self)
|
||||
self.__index = self
|
||||
@@ -65,7 +65,7 @@ function InterfaceDialog:checkConfirm()
|
||||
end
|
||||
end
|
||||
|
||||
function InterfaceDialog:Draw()
|
||||
function InterfaceDialog:draw()
|
||||
local c1, c2, c3, a = love.graphics.getColor()
|
||||
|
||||
love.graphics.setColor(self.style.color[1],self.style.color[2],self.style.color[3],self.style.alpha)
|
||||
|
||||
Reference in New Issue
Block a user