improve button handling with overlays

This commit is contained in:
Hendrik Leppkes
2008-03-07 10:18:42 +00:00
parent b83005b733
commit 3246f3a8a5
2 changed files with 30 additions and 24 deletions
+4 -1
View File
@@ -14,7 +14,7 @@ local styles = {
local styledata = {
["default"] = {},
["zoom"] = { texCoord = {0.06, 0.94, 0.06, 0.94} },
["zoom"] = { texCoord = {0.07, 0.93, 0.07, 0.93} },
["dream"] = {
texCoord = {0.08,0.92,0.08,0.92},
padding = 3,
@@ -27,6 +27,9 @@ local styledata = {
frame:SetBackdropColor(0, 0, 0, 0.6)
frame:SetAllPoints(button)
frame:SetFrameLevel(button:GetFrameLevel() - 2)
frame:Show()
frame.type = "dream"
frame.hidegrid = true
return frame
end,
},