- updated all libraries
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
--[[-----------------------------------------------------------------------------
|
||||
Icon Widget
|
||||
-------------------------------------------------------------------------------]]
|
||||
local Type, Version = "Icon", 21
|
||||
local Type, Version = "Icon", 22
|
||||
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
|
||||
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end
|
||||
|
||||
@@ -67,6 +67,11 @@ local methods = {
|
||||
end
|
||||
end,
|
||||
|
||||
["SetImageByAtlas"] = function(self, atlasString)
|
||||
local image = self.image
|
||||
image:SetAtlas(atlasString)
|
||||
end,
|
||||
|
||||
["SetImageSize"] = function(self, width, height)
|
||||
self.image:SetWidth(width)
|
||||
self.image:SetHeight(height)
|
||||
|
||||
Reference in New Issue
Block a user