a1.11.10
This commit is contained in:
@@ -315,6 +315,13 @@ function DropDownMetaFunctions:Selected (_table)
|
||||
else
|
||||
self.icon:SetTexCoord (0, 1, 0, 1)
|
||||
end
|
||||
|
||||
if (_table.iconcolor) then
|
||||
self.icon:SetVertexColor (unpack (_table.iconcolor))
|
||||
else
|
||||
self.icon:SetVertexColor (1, 1, 1, 1)
|
||||
end
|
||||
|
||||
else
|
||||
self.label:SetPoint ("left", self.label:GetParent(), "left", 4, 0)
|
||||
end
|
||||
@@ -464,12 +471,20 @@ function DetailsDropDownOnMouseDown (button)
|
||||
|
||||
_this_row.icon:SetTexture (_table.icon)
|
||||
if (_table.icon) then
|
||||
|
||||
_this_row.label:SetPoint ("left", _this_row.icon, "right", 5, 0)
|
||||
|
||||
if (_table.texcoord) then
|
||||
_this_row.icon:SetTexCoord (unpack (_table.texcoord))
|
||||
else
|
||||
_this_row.icon:SetTexCoord (0, 1, 0, 1)
|
||||
end
|
||||
|
||||
if (_table.iconcolor) then
|
||||
_this_row.icon:SetVertexColor (unpack (_table.iconcolor))
|
||||
else
|
||||
_this_row.icon:SetVertexColor (1, 1, 1, 1)
|
||||
end
|
||||
else
|
||||
_this_row.label:SetPoint ("left", _this_row.statusbar, "left", 2, 0)
|
||||
end
|
||||
|
||||
@@ -594,6 +594,7 @@ function gump:IconPick (callback)
|
||||
|
||||
gump.IconPickFrame = CreateFrame ("frame", "DetailsIconPickFrame", UIParent)
|
||||
tinsert (UISpecialFrames, "DetailsIconPickFrame")
|
||||
gump.IconPickFrame:SetFrameStrata ("DIALOG")
|
||||
|
||||
gump.IconPickFrame:SetPoint ("center", UIParent, "center")
|
||||
gump.IconPickFrame:SetWidth (350)
|
||||
|
||||
@@ -7,6 +7,7 @@ local _
|
||||
window:SetResizable (true)
|
||||
window:SetMovable (true)
|
||||
tinsert (UISpecialFrames, "DetailsImageEdit")
|
||||
window:SetFrameStrata ("TOOLTIP")
|
||||
|
||||
window.hooks = {}
|
||||
|
||||
@@ -155,6 +156,7 @@ local _
|
||||
buttonsBackground:Hide()
|
||||
--buttonsBackground:SetMovable (true)
|
||||
tinsert (UISpecialFrames, "DetailsImageEditButtonsBg")
|
||||
buttonsBackground:SetFrameStrata ("TOOLTIP")
|
||||
|
||||
local alphaFrameShown = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user