diff --git a/ItemRack/ItemRack.toc b/ItemRack/ItemRack.toc index 4296b74..f6d5deb 100644 --- a/ItemRack/ItemRack.toc +++ b/ItemRack/ItemRack.toc @@ -1,5 +1,5 @@ ## Interface: 30403, 40400 -## Interface-Vanilla: 11504 +## Interface-Vanilla: 11505 ## Interface-TBC: 20504 ## Interface-Wrath: 30403 ## Interface-Cata: 40400 diff --git a/ItemRack/ItemRack.xml b/ItemRack/ItemRack.xml index 25fe38a..f6d8791 100644 --- a/ItemRack/ItemRack.xml +++ b/ItemRack/ItemRack.xml @@ -10,25 +10,25 @@ - + - - - - - - - - - - - - - - + + local backdropInfo = + { + bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background", + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + tile = true, + tileEdge = true, + tileSize = 16, + edgeSize = 16, + insets = { left = 4, right = 4, top = 4, bottom = 4 }, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.3, 0.3, 0.3) + ItemRack.MenuOnHide() diff --git a/ItemRackOptions/ItemRackOptions.toc b/ItemRackOptions/ItemRackOptions.toc index 12a8fe3..b321256 100644 --- a/ItemRackOptions/ItemRackOptions.toc +++ b/ItemRackOptions/ItemRackOptions.toc @@ -1,5 +1,5 @@ ## Interface: 30403, 40400 -## Interface-Vanilla: 11500 +## Interface-Vanilla: 11505 ## Interface-TBC: 20504 ## Interface-Wrath: 30403 ## Interface-Cata: 40400 diff --git a/ItemRackOptions/ItemRackOptions.xml b/ItemRackOptions/ItemRackOptions.xml index 3575fd9..f21f712 100644 --- a/ItemRackOptions/ItemRackOptions.xml +++ b/ItemRackOptions/ItemRackOptions.xml @@ -47,7 +47,6 @@ - @@ -141,7 +140,7 @@ - + @@ -152,12 +151,6 @@ - - - - - - @@ -180,6 +173,17 @@ + + + local backdropInfo = + { + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + edgeSize = 16, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.3, 0.3, 0.3) + + @@ -411,24 +415,13 @@ - + - - - - - - - - - - - @@ -454,6 +447,18 @@ + + local backdropInfo = + { + bgFile = "Interface\\Buttons\\UI-SliderBar-Background", + edgeFile = "Interface\\Buttons\\UI-SliderBar-Border", + edgeSize = 8, + tileSize = 8, + insets = { left = 3, right = 3, top = 6, bottom = 6 }, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.3, 0.3, 0.3) + -- ChatFrame1:AddMessage(self:GetName().." OnValueChanged. value="..tostring(value)) if ItemRack.testLoaded then @@ -481,7 +486,6 @@ - @@ -846,7 +850,7 @@ - + @@ -857,18 +861,6 @@ - - - - - - - - - - - - @@ -1162,7 +1154,7 @@ - + @@ -1173,12 +1165,6 @@ - - - - - - @@ -1201,6 +1187,17 @@ + + + local backdropInfo = + { + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + edgeSize = 16, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.3, 0.3, 0.3) + + + + local backdropInfo = + { + bgFile = "Interface\\DialogFrame\\UI-DialogBox-Background", + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + tile = true, + tileEdge = true, + tileSize = 16, + edgeSize = 16, + insets = { left = 4, right = 4, top = 4, bottom = 4 }, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.5, 0.5, 0.5) + ItemRackOpt.BindFrameOnShow() @@ -2150,7 +2171,7 @@ - + @@ -2161,12 +2182,6 @@ - - - - - - @@ -2189,6 +2204,17 @@ + + + local backdropInfo = + { + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + edgeSize = 16, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.3, 0.3, 0.3) + + - + @@ -2575,12 +2601,6 @@ - - - - - - @@ -2603,6 +2623,17 @@ + + + local backdropInfo = + { + edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", + edgeSize = 16, + } + self:SetBackdrop(backdropInfo) + self:SetBackdropBorderColor(0.3, 0.3, 0.3) + +