Quantcast

5.0.68

Steven Jackson [10-18-14 - 22:19]
5.0.68
Filename
Interface/AddOns/SVUI/packages/aura/SVAura.lua
Interface/AddOns/SVUI/packages/unit/resources/warlock.lua
Interface/AddOns/SVUI/xml/widgets.xml
Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
Interface/AddOns/SVUI_StyleOMatic/components/blizzard/character.lua
diff --git a/Interface/AddOns/SVUI/packages/aura/SVAura.lua b/Interface/AddOns/SVUI/packages/aura/SVAura.lua
index b92576d..1ba5483 100644
--- a/Interface/AddOns/SVUI/packages/aura/SVAura.lua
+++ b/Interface/AddOns/SVUI/packages/aura/SVAura.lua
@@ -386,7 +386,7 @@ do
 			local maxShown = #AURA_ICONS - 1
 			local CB_HEIGHT = SVUI_MinimapFrame:GetHeight()
 			local CB_WIDTH = (CB_HEIGHT / maxShown) + 4
-			print("ToggleConsolidatedBuffs "..CB_WIDTH)
+			--print("ToggleConsolidatedBuffs "..CB_WIDTH)
 			SVUI_AurasAnchor:SetSize(CB_WIDTH, CB_HEIGHT)
 			SVUI_ConsolidatedBuffs:Show()
 			BuffFrame:RegisterUnitEvent("UNIT_AURA", "player")
@@ -558,7 +558,7 @@ function MOD:ReLoad()
 	local maxShown = #AURA_ICONS - 1
 	local CB_HEIGHT = SVUI_MinimapFrame:GetHeight() - 50
 	local CB_WIDTH = (CB_HEIGHT / maxShown) + 4
-	print("Reload "..CB_WIDTH)
+	--print("Reload "..CB_WIDTH)
 	SVUI_AurasAnchor:SetSize(CB_WIDTH, CB_HEIGHT)
 	AURA_FADE_TIME = SV.db.SVAura.fadeBy
 	MOD:UpdateAuraHeader(SVUI_PlayerBuffs, "buffs");
@@ -569,7 +569,7 @@ function MOD:Load()
 	local maxShown = #AURA_ICONS - 1
 	local CB_HEIGHT = SVUI_MinimapFrame:GetHeight() - 50
 	local CB_WIDTH = (CB_HEIGHT / maxShown) + 4
-	print("Load "..CB_WIDTH)
+	--print("Load "..CB_WIDTH)
 	if not SV.db.SVAura.enable then return end
 	if SV.db.SVAura.disableBlizzard then
 		BuffFrame:Die()
diff --git a/Interface/AddOns/SVUI/packages/unit/resources/warlock.lua b/Interface/AddOns/SVUI/packages/unit/resources/warlock.lua
index b27f953..eb0b4a3 100644
--- a/Interface/AddOns/SVUI/packages/unit/resources/warlock.lua
+++ b/Interface/AddOns/SVUI/packages/unit/resources/warlock.lua
@@ -99,7 +99,7 @@ local Reposition = function(self)

 	bar.DemonBar:ClearAllPoints()
 	bar.DemonBar:Size(width, (size * 1.25))
-	bar.DemonBar:SetPoint("LEFT", bar, "LEFT", 4, dbOffset)
+	bar.DemonBar:SetPoint("LEFT", bar, "LEFT", 0, dbOffset)
 	for i = 1, max do
 		bar[i]:ClearAllPoints()
 		bar[i]:SetHeight(size)
@@ -320,7 +320,7 @@ function MOD:CreateClassBar(playerFrame)
 	demonBar:SetStatusBarTexture(SV.Media.bar.lazer)

 	local bgFrame = CreateFrame("Frame", nil, demonBar)
-	bgFrame:FillInner(demonBar, -2, 10)
+	bgFrame:FillInner(demonBar, 0, 8)
 	bgFrame:SetFrameLevel(bgFrame:GetFrameLevel() - 1)

 	demonBar.bg = bgFrame:CreateTexture(nil, "BACKGROUND")
diff --git a/Interface/AddOns/SVUI/xml/widgets.xml b/Interface/AddOns/SVUI/xml/widgets.xml
index 85a85b7..02627c5 100644
--- a/Interface/AddOns/SVUI/xml/widgets.xml
+++ b/Interface/AddOns/SVUI/xml/widgets.xml
@@ -612,132 +612,44 @@
     <Frame name="SVUI_PanelTemplate_Comic" virtual="true">
         <Attributes>
             <Attribute name="panelID" type="string" value="comic" />
-            <Attribute name="panelPadding" type="number" value="3" />
+            <Attribute name="panelPadding" type="number" value="1" />
             <Attribute name="panelColor" type="string" value="class" />
             <Attribute name="panelGradient" type="string" value="class" />
             <Attribute name="panelTexUpdate" type="boolean" value="true" />
             <Attribute name="panelSkipUpdate" type="boolean" value="false" />
         </Attributes>
-        <Backdrop bgFile="Interface\AddOns\SVUI\assets\artwork\Template\Background\COMIC1" edgeFile="Interface\BUTTONS\WHITE8X8" tile="false">
-            <EdgeSize val="3" />
+        <Backdrop bgFile="Interface\AddOns\SVUI\assets\artwork\Template\Background\COMIC1" tile="false">
             <TileSize val="0" />
             <BackgroundInsets left="0" right="0" top="0" bottom="0" />
             <Color r="0.2" g="0.2" b="0.2" a="1" />
-            <BorderColor r="0" g="0" b="0" a="1" />
         </Backdrop>
         <Layers>
             <Layer level="BACKGROUND" textureSubLevel="1">
                 <Texture parentKey="Skin" nonBlocking="true" file="Interface\AddOns\SVUI\assets\artwork\Template\Background\COMIC1" setAllPoints="true" />
                 <Color r="0.2" g="0.2" b="0.2" a="1" />
             </Layer>
-            <Layer level="BORDER">
-                <Texture parentKey="BorderLeft" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
-                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension x="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-                <Texture parentKey="BorderRight" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
-                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension x="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-                <Texture parentKey="BorderTop" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
-                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension y="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-                <Texture parentKey="BorderBottom" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" />
-                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension y="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-            </Layer>
         </Layers>
     </Frame>

     <Frame name="SVUI_PanelTemplate_Model" virtual="true">
         <Attributes>
             <Attribute name="panelID" type="string" value="model" />
-            <Attribute name="panelPadding" type="number" value="3" />
+            <Attribute name="panelPadding" type="number" value="1" />
             <Attribute name="panelColor" type="string" value="special" />
             <Attribute name="panelGradient" type="string" value="class" />
             <Attribute name="panelTexUpdate" type="boolean" value="true" />
             <Attribute name="panelSkipUpdate" type="boolean" value="false" />
         </Attributes>
-        <Backdrop bgFile="Interface\AddOns\SVUI\assets\artwork\Template\Background\COMIC-MODEL" edgeFile="Interface\BUTTONS\WHITE8X8" tile="false">
-            <EdgeSize val="3" />
+        <Backdrop bgFile="Interface\AddOns\SVUI\assets\artwork\Template\Background\COMIC-MODEL" tile="false">
             <TileSize val="0" />
             <BackgroundInsets left="0" right="0" top="0" bottom="0" />
             <Color r="0.37" g="0.32" b="0.29" a="1" />
-            <BorderColor r="0" g="0" b="0" a="1" />
         </Backdrop>
         <Layers>
             <Layer level="BACKGROUND" textureSubLevel="1">
                 <Texture parentKey="Skin" nonBlocking="true" file="Interface\AddOns\SVUI\assets\artwork\Template\Background\COMIC-MODEL" setAllPoints="true" />
                 <Color r="0.37" g="0.32" b="0.29" a="1" />
             </Layer>
-            <Layer level="BORDER">
-                <Texture parentKey="BorderLeft" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
-                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension x="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-                <Texture parentKey="BorderRight" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
-                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension x="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-                <Texture parentKey="BorderTop" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
-                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension y="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-                <Texture parentKey="BorderBottom" file="Interface\BUTTONS\WHITE8X8">
-                    <Anchors>
-                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" />
-                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" />
-                    </Anchors>
-                    <Size>
-                        <AbsDimension y="3" />
-                    </Size>
-                    <Color r="0" g="0" b="0" a="1" />
-                </Texture>
-            </Layer>
         </Layers>
     </Frame>

diff --git a/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua b/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
index 4363182..1f12f79 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/SVUI_StyleOMatic.lua
@@ -134,8 +134,8 @@ function PLUGIN:SaveAddonStyle(addon, fn, force, passive, ...)
 			self:DefineEventFunction(event, addon)
 		end
 	end
-	if(self.db.addons and self.db.addons[addon] == nil) then
-		self.db.addons[addon] = true
+	if(self.configs.addons and self.configs.addons[addon] == nil) then
+		self.configs.addons[addon] = true
 	end

 	if force then
diff --git a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/character.lua b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/character.lua
index e25e9ee..da1a519 100644
--- a/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/character.lua
+++ b/Interface/AddOns/SVUI_StyleOMatic/components/blizzard/character.lua
@@ -112,7 +112,7 @@ local function StyleCharacterSlots()
 				if(iconTex) then
 					iconTex:SetTexCoord(0.1, 0.9, 0.1, 0.9)
 					iconTex:SetParent(charSlot.Panel)
-					iconTex:SetAllPoints(charSlot.Panel)
+					iconTex:FillInner(charSlot.Panel, 2, 2)
 				end
 			end