Quantcast

cleanup

Munglunch [07-25-14 - 17:34]
cleanup
Filename
Interface/AddOns/SVUI/SVUI.lua.orig
Interface/AddOns/SVUI/system/templates.lua
Interface/BUTTONS/Thumbs.db
Interface/GLUES/COMMON/Thumbs.db
Interface/TAXIFRAME/Thumbs.db
Interface/Tooltips/Thumbs.db
diff --git a/Interface/AddOns/SVUI/SVUI.lua.orig b/Interface/AddOns/SVUI/SVUI.lua.orig
deleted file mode 100644
index 15393ec..0000000
--- a/Interface/AddOns/SVUI/SVUI.lua.orig
+++ /dev/null
@@ -1,302 +0,0 @@
---[[
-##############################################################################
-_____/\\\\\\\\\\\____/\\\________/\\\__/\\\________/\\\__/\\\\\\\\\\\_       #
- ___/\\\/////////\\\_\/\\\_______\/\\\_\/\\\_______\/\\\_\/////\\\///__      #
-  __\//\\\______\///__\//\\\______/\\\__\/\\\_______\/\\\_____\/\\\_____     #
-   ___\////\\\__________\//\\\____/\\\___\/\\\_______\/\\\_____\/\\\_____    #
-    ______\////\\\________\//\\\__/\\\____\/\\\_______\/\\\_____\/\\\_____   #
-     _________\////\\\______\//\\\/\\\_____\/\\\_______\/\\\_____\/\\\_____  #
-      __/\\\______\//\\\______\//\\\\\______\//\\\______/\\\______\/\\\_____ #
-       _\///\\\\\\\\\\\/________\//\\\________\///\\\\\\\\\/____/\\\\\\\\\\\_#
-        ___\///////////___________\///___________\/////////_____\///////////_#
-##############################################################################
-S U P E R - V I L L A I N - U I   By: Munglunch                              #
-############################################################################## ]]--
---[[ GLOBALS ]]--
-local _G = _G;
-local unpack        = _G.unpack;
-local select        = _G.select;
-local pairs         = _G.pairs;
-local type          = _G.type;
-local rawset        = _G.rawset;
-local rawget        = _G.rawget;
-local tinsert       = _G.tinsert;
-local tremove       = _G.tremove;
-local tostring      = _G.tostring;
-local error         = _G.error;
-local getmetatable  = _G.getmetatable;
-local setmetatable  = _G.setmetatable;
-local string    = _G.string;
-local math      = _G.math;
-local table     = _G.table;
---[[ STRING METHODS ]]--
-local upper = string.upper;
-local format, find, match, gsub = string.format, string.find, string.match, string.gsub;
---[[ MATH METHODS ]]--
-local floor = math.floor
---[[ TABLE METHODS ]]--
-local tsort, tconcat = table.sort, table.concat;
---[[
-##########################################################
-CONSTANTS
-##########################################################
-]]--
-SVUI_LIB, SVUI_LOCALE = {}, {}
-BINDING_HEADER_SVUI = GetAddOnMetadata(..., "Title");
-SLASH_RELOADUI1="/rl"
-SLASH_RELOADUI2="/reloadui"
-SlashCmdList.RELOADUI=ReloadUI
---[[
-##########################################################
-LOCAL VARIABLES
-##########################################################
-]]--
-local callbacks = {};
-local numCallbacks = 0;
---[[
-##########################################################
-MUNGLUNCH's FASTER ASSERT FUNCTION
-##########################################################
-]]--
-function enforce(condition, ...)
-   if not condition then
-      if next({...}) then
-         local fn = function (...) return(string.format(...)) end
-         local s,r = pcall(fn, ...)
-         if s then
-            error("Error!: " .. r, 2)
-         end
-      end
-      error("Error!", 2)
-   end
-end
-local assert = enforce;
---[[
-##########################################################
-OBJECT CONSTRUCTOR GLOBAL
-##########################################################
-]]--
-local rootstring = function(self) return self.name end
-
-function SVUI_LIB:SetObject(globalName)
-    local r = {}
-    r.name = globalName
-    local mt = {}
-    local old = getmetatable(r)
-    if old then
-        for k, v in pairs(old) do mt[k] = v end
-    end
-    mt.__tostring = rootstring
-    setmetatable(r, mt)
-    return r
-end
---[[
-##########################################################
-LOCALIZATION GLOBAL
-##########################################################
-]]--
-local failsafe = function() assert(false) end
-
-local metaread = {
-    __index = function(self, key)
-        rawset(self, key, key)
-        return key
-    end
-}
-
-local activeLocale
-
-local defaultwrite = setmetatable({}, {
-    __newindex = function(self, key, value)
-        if not rawget(activeLocale, key) then
-            rawset(activeLocale, key, value == true and key or value)
-        end
-    end,
-    __index = failsafe
-})
-
-local metawrite = setmetatable({}, {
-    __newindex = function(self, key, value)
-        rawset(activeLocale, key, value == true and key or value)
-    end,
-    __index = failsafe
-})
-
-function SVUI_LOCALE:SetLocalStrings(locale, isDefault)
-    local gameLocale = GetLocale()
-    if gameLocale == "enGB" then gameLocale = "enUS" end
-
-    if not SVUI_LOCALE["LANG"] then
-        SVUI_LOCALE["LANG"] = setmetatable({}, metaread)
-    end
-
-    activeLocale = SVUI_LOCALE["LANG"]
-
-    if isDefault then
-        return defaultwrite
-    elseif(locale == GAME_LOCALE or locale == gameLocale) then
-        return metawrite
-    end
-end
-
-function SVUI_LOCALE:SetObject()
-    return SVUI_LOCALE["LANG"]
-end
---[[
-##########################################################
-LOCAL FUNCTIONS
-##########################################################
-]]--
-local function formatValueString(text)
-    if "string" == type(text) then
-        text = gsub(text,"\n","\\n")
-        if match(gsub(text,"[^'\"]",""),'^"+$') then
-            return "'"..text.."'";
-        else
-            return '"'..gsub(text,'"','\\"')..'"';
-        end;
-    else
-        return tostring(text);
-    end
-end;
-local function formatKeyString(text)
-    if "string"==type(text) and match(text,"^[_%a][_%a%d]*$") then
-        return text;
-    else
-        return "["..formatValueString(text).."]";
-    end
-end;
-local function RegisterCallback(self, m, h)
-    assert(type(m) == "string" or type(m) == "function", "Bad argument #1 to :RegisterCallback (string or function expected)")
-    if type(m) == "string" then
-        assert(type(h) == "table", "Bad argument #2 to :RegisterCallback (table expected)")
-        assert(type(h[m]) == "function", "Bad argument #1 to :RegisterCallback (m \"" .. m .. "\" not found)")
-        m = h[m]
-    end
-    callbacks[m] = h or true
-    numCallbacks = numCallbacks + 1
-end;
-local function UnregisterCallback(self, m, h)
-    assert(type(m) == "string" or type(m) == "function", "Bad argument #1 to :UnregisterCallback (string or function expected)")
-    if type(m) == "string" then
-        assert(type(h) == "table", "Bad argument #2 to :UnregisterCallback (table expected)")
-        assert(type(h[m]) == "function", "Bad argument #1 to :UnregisterCallback (m \"" .. m .. "\" not found)")
-        m = h[m]
-    end
-    callbacks[m] = nil
-    numCallbacks = numCallbacks + 1
-end;
-local function DispatchCallbacks()
-    if (numCallbacks < 1) then return end;
-    for m, h in pairs(callbacks) do
-        local ok, err = pcall(m, h ~= true and h or nil)
-        if not ok then
-            print("ERROR:", err)
-        end
-    end
-end;
---[[
-##########################################################
-BUILD CLASS COLOR GLOBAL
-##########################################################
-]]--
-SVUI_CLASS_COLORS = {};
-do
-    local classes = {};
-    local supercolors = {
-        ["HUNTER"]        = { r = 0.454, g = 0.698, b = 0 },
-        ["WARLOCK"]       = { r = 0.286, g = 0,     b = 0.788 },
-        ["PRIEST"]        = { r = 0.976, g = 1,     b = 0.839 },
-        ["PALADIN"]       = { r = 0.956, g = 0.207, b = 0.733 },
-        ["MAGE"]          = { r = 0,     g = 0.796, b = 1 },
-        ["ROGUE"]         = { r = 1,     g = 0.894, b = 0.117 },
-        ["DRUID"]         = { r = 1,     g = 0.513, b = 0 },
-        ["SHAMAN"]        = { r = 0,     g = 0.38,  b = 1 },
-        ["WARRIOR"]       = { r = 0.698, g = 0.36,  b = 0.152 },
-        ["DEATHKNIGHT"]   = { r = 0.847, g = 0.117, b = 0.074 },
-        ["MONK"]          = { r = 0.015, g = 0.886, b = 0.38 },
-    };
-    for class in pairs(RAID_CLASS_COLORS) do
-        tinsert(classes, class)
-    end
-    tsort(classes)
-    setmetatable(SVUI_CLASS_COLORS,{
-        __index = function(t, k)
-            if k == "RegisterCallback" then return RegisterCallback end
-            if k == "UnregisterCallback" then return UnregisterCallback end
-            if k == "DispatchCallbacks" then return DispatchCallbacks end
-        end
-    });
-    for i, class in ipairs(classes) do
-        local color = supercolors[class]
-        local r, g, b = color.r, color.g, color.b
-        local hex = format("ff%02x%02x%02x", r * 255, g * 255, b * 255)
-        if not SVUI_CLASS_COLORS[class] or not SVUI_CLASS_COLORS[class].r or not SVUI_CLASS_COLORS[class].g or not SVUI_CLASS_COLORS[class].b then
-            SVUI_CLASS_COLORS[class] = {
-                r = r,
-                g = g,
-                b = b,
-                colorStr = hex,
-            }
-        end
-    end
-    classes = nil
-end;
---[[
-##########################################################
-APPENDED GLOBAL FUNCTIONS
-##########################################################
-]]--
-function math.parsefloat(value,decimal)
-    if decimal and decimal > 0 then
-        local calc1 = 10 ^ decimal;
-        local calc2 = (value * calc1) + 0.5;
-        return floor(calc2) / calc1
-    end;
-    return floor(value + 0.5)
-end
-
-function table.dump(targetTable)
-    local dumpTable = {};
-    local dumpCheck = {};
-    for key,value in ipairs(targetTable) do
-        tinsert(dumpTable, formatValueString(value));
-        dumpCheck[key] = true;
-    end;
-    for key,value in pairs(targetTable) do
-        if not dumpCheck[key] then
-            tinsert(dumpTable, "\n    "..formatKeyString(key).." = "..formatValueString(value));
-        end
-    end;
-    local output = tconcat(dumpTable, ", ");
-    return "{ "..output.." }";
-end
-
-function table.copy(targetTable,deepCopy,mergeTable)
-    mergeTable = mergeTable or {};
-    if targetTable==nil then return nil end;
-    if mergeTable[targetTable] then return mergeTable[targetTable] end;
-    local replacementTable = {}
-    for key,value in pairs(targetTable)do
-        if deepCopy and type(value) == "table" then
-            replacementTable[key] = table.copy(value, deepCopy, mergeTable)
-        else
-            replacementTable[key] = value
-        end
-    end;
-    setmetatable(replacementTable, table.copy(getmetatable(targetTable), deepCopy, mergeTable))
-    mergeTable[targetTable] = replacementTable;
-    return replacementTable
-end
-
-function string.trim(this)
-    return this:find'^%s*$' and '' or this:match'^%s*(.*%S)'
-end
-
-function string.color(this,color)
-    return "|cff"..color..this.."|r";
-end
-
-function string.link(this,prefix,text,color)
-    return "|H"..prefix..":"..tostring(text).."|h"..tostring(this):color(color or"ffffff").."|h";
-end
\ No newline at end of file
diff --git a/Interface/AddOns/SVUI/system/templates.lua b/Interface/AddOns/SVUI/system/templates.lua
index 7a8e6d5..19e205a 100644
--- a/Interface/AddOns/SVUI/system/templates.lua
+++ b/Interface/AddOns/SVUI/system/templates.lua
@@ -58,26 +58,26 @@ APPENDED POSITIONING METHODS
 ]]--
 local function UserScale(value)
     return screenMod * floor(value / screenMod + .5);
-end;
+end

 local function Size(self,width,height)
-    if not self then return end;
+    if not self then return end
     self:SetSize(UserScale(width),UserScale(height or width))
-end;
+end

 local function Width(self,b)
-    if not self then return end;
+    if not self then return end
     self:SetWidth(UserScale(b))
-end;
+end

 local function Height(self,c)
-    if not self then return end;
+    if not self then return end
     self:SetHeight(UserScale(c))
-end;
+end

 local function Point(self, ...)
     local arg1, arg2, arg3, arg4, arg5 = select(1, ...)
-    if not self then return end;
+    if not self then return end
     local params = { arg1, arg2, arg3, arg4, arg5 }
     for i = 1, #params do
         if type(params[i]) == "number" then
@@ -85,7 +85,7 @@ local function Point(self, ...)
         end
     end
     self:SetPoint(unpack(params))
-end;
+end

 local function WrapOuter(self, target, x, y)
     x = UserScale(x or 1);
@@ -93,10 +93,10 @@ local function WrapOuter(self, target, x, y)
     target = target or self:GetParent()
     if self:GetPoint() then
         self:ClearAllPoints()
-    end;
+    end
     self:SetPoint("TOPLEFT", target, "TOPLEFT", -x, y)
     self:SetPoint("BOTTOMRIGHT", target, "BOTTOMRIGHT", x, -y)
-end;
+end

 local function FillInner(self, target, x, y)
     x = UserScale(x or 1);
@@ -104,10 +104,10 @@ local function FillInner(self, target, x, y)
     target = target or self:GetParent()
     if self:GetPoint() then
         self:ClearAllPoints()
-    end;
+    end
     self:SetPoint("TOPLEFT", target, "TOPLEFT", x, -y)
     self:SetPoint("BOTTOMRIGHT", target, "BOTTOMRIGHT", -x, y)
-end;
+end
 --[[
 ##########################################################
 APPENDED DESTROY METHODS
@@ -123,9 +123,9 @@ local function MUNG(self)
         self:SetParent(MUNGFRAME)
     else
         self.Show = SuperVillain.fubar
-    end;
+    end
     self:Hide()
-end;
+end

 local function Formula409(self, option)
     for i = 1, self:GetNumRegions()do
@@ -137,7 +137,7 @@ local function Formula409(self, option)
                     target:SetParent(MUNGFRAME)
                 else
                     target.Show = target.Hide
-                end;
+                end
                 target:Hide()
             elseif(target:GetDrawLayer() == option) then
                 target:SetTexture(nil)
@@ -148,7 +148,7 @@ local function Formula409(self, option)
             end
         end
     end
-end;
+end
 --[[
 ##########################################################
 APPENDED FONT TEMPLATING METHODS
@@ -170,7 +170,7 @@ local function SetFontTemplate(self, font, fontSize, fontStyle, fontJustifyH, fo
         self:SetShadowColor(0, 0, 0, 0)
     else
         self:SetShadowColor(0, 0, 0, 0.2)
-    end;
+    end
     self:SetShadowOffset(1, -1)
     self:SetJustifyH(fontJustifyH)
     self:SetJustifyV(fontJustifyV)
@@ -178,7 +178,7 @@ local function SetFontTemplate(self, font, fontSize, fontStyle, fontJustifyH, fo
     if(not noUpdate) then
         FontUpdateFrames[self] = true
     end
-end;
+end
 --[[
 ##########################################################
 FONT UPDATE CALLBACK
@@ -566,25 +566,25 @@ local HookPanelBorderColor = function(self,r,g,b,a)
         self[4]:SetTexture(r,g,b,a)
         if self[5]then
             self[5]:SetBackdropBorderColor(r,g,b,0.5)
-        end;
-    end;
-end;
+        end
+    end
+end

 local HookBackdrop = function(self,...)
     self.Panel:SetBackdrop(...)
-end;
+end

 local HookBackdropColor = function(self,...)
     self.Panel:SetBackdropColor(...)
-end;
+end

 local HookBackdropBorderColor = function(self,...)
     self.Panel:SetBackdropBorderColor(...)
-end;
+end

 local HookVertexColor = function(self,...)
     self._skin:SetVertexColor(...)
-end;
+end

 local HookCustomBackdrop = function(self)
     local newBgFile = SuperVillain.Media.bg[self._bdtex]
@@ -603,14 +603,14 @@ local HookCustomBackdrop = function(self)
         },
     }
     self:SetBackdrop(bd)
-end;
+end
 --[[
 ##########################################################
 TEMPLATE HELPERS
 ##########################################################
 ]]--
 local function CreatePanelTemplate(frame, templateName, underlay, noupdate, padding, xOffset, yOffset)
-    if(not templateName or not _templates[templateName]) then templateName = 'Default' end;
+    if(not templateName or not _templates[templateName]) then templateName = 'Default' end
     local settings = _templates[templateName]
     local colorName = settings.color
     local gradientName = settings.gradient
@@ -658,7 +658,7 @@ local function CreatePanelTemplate(frame, templateName, underlay, noupdate, padd
         panel[4]:SetPoint("BOTTOMLEFT")
         panel[4]:SetPoint("BOTTOMRIGHT")
         panel[4]:SetHeight(padding)
-    end;
+    end

     if(hasShadow) then
         if(underlay) then
@@ -785,7 +785,7 @@ local function CreatePanelTemplate(frame, templateName, underlay, noupdate, padd
         bottomLeft:SetPoint("TOPLEFT", frame.Panel, "LEFT", 0, 0)
         bottomLeft:SetVertexColor(0.1, 0.1, 0.1, 0.5)
         bottomLeft:SetNonBlocking(true)
-    end;
+    end

     local level = frame:GetFrameLevel() - 1
     if(level >= 0) then
@@ -793,7 +793,7 @@ local function CreatePanelTemplate(frame, templateName, underlay, noupdate, padd
     else
         frame.Panel:SetFrameLevel(0)
     end
-end;
+end

 local function HasCooldown(n)
     local cd = n and n.."Cooldown"
@@ -805,23 +805,23 @@ local function CreateButtonPanel(frame, noChecked, brightChecked)

     if(frame.Left) then
         frame.Left:SetAlpha(0)
-    end;
+    end

     if(frame.Middle) then
         frame.Middle:SetAlpha(0)
-    end;
+    end

     if(frame.Right) then
         frame.Right:SetAlpha(0)
-    end;
+    end

     if(frame.SetNormalTexture) then
         frame:SetNormalTexture("")
-    end;
+    end

     if(frame.SetDisabledTexture) then
         frame:SetDisabledTexture("")
-    end;
+    end

     if(frame.SetHighlightTexture and not frame.hover) then
         local hover = frame:CreateTexture(nil, "OVERLAY")
@@ -830,7 +830,7 @@ local function CreateButtonPanel(frame, noChecked, brightChecked)
         hover:FillInner(frame.Panel)
         frame.hover = hover;
         frame:SetHighlightTexture(hover)
-    end;
+    end

     if(frame.SetPushedTexture and not frame.pushed) then
         local pushed = frame:CreateTexture(nil, "OVERLAY")
@@ -838,7 +838,7 @@ local function CreateButtonPanel(frame, noChecked, brightChecked)
         pushed:FillInner(frame.Panel)
         frame.pushed = pushed;
         frame:SetPushedTexture(pushed)
-    end;
+    end

     if(not noChecked and frame.SetCheckedTexture) then
         local checked = frame:CreateTexture(nil, "OVERLAY")
@@ -852,16 +852,16 @@ local function CreateButtonPanel(frame, noChecked, brightChecked)
         checked:FillInner(frame.Panel)
         frame.checked = checked;
         frame:SetCheckedTexture(checked)
-    end;
+    end

     local cd = HasCooldown(frame:GetName())
     if cd then
         cd:ClearAllPoints()
         cd:SetAllPoints()
-    end;
+    end

     frame.hasPanel = true
-end;
+end
 --[[
 ##########################################################
 TEMPLATE API
@@ -869,7 +869,7 @@ TEMPLATE API
 ]]--
 local function SetPanelTemplate(self, templateName, noupdate, overridePadding, xOffset, yOffset)
     if(self.Panel) then return; end
-    if(not templateName or not _templates[templateName]) then templateName = 'Default' end;
+    if(not templateName or not _templates[templateName]) then templateName = 'Default' end

     local padding = false
     if(overridePadding and type(overridePadding) == "number") then
@@ -881,11 +881,11 @@ local function SetPanelTemplate(self, templateName, noupdate, overridePadding, x
     if(not self._noupdate) then
         TemplateUpdateFrames[self] = true
     end
-end;
+end

 local function SetFixedPanelTemplate(self, templateName, noupdate, overridePadding, xOffset, yOffset)
     if(self.Panel) then return; end
-    if(not templateName or not _templates[templateName]) then templateName = 'Default' end;
+    if(not templateName or not _templates[templateName]) then templateName = 'Default' end

     local padding = false
     if(overridePadding and type(overridePadding) == "number") then
@@ -897,7 +897,7 @@ local function SetFixedPanelTemplate(self, templateName, noupdate, overridePaddi
     if(not self._noupdate) then
         TemplateUpdateFrames[self] = true
     end
-end;
+end

 local function SetPanelColor(self, ...)
     local arg1,arg2,arg3,arg4,arg5,arg6,arg7 = select(1, ...)
@@ -922,8 +922,8 @@ local function SetPanelColor(self, ...)
                         self:SetBackdropColor(r,g,b,a)
                     end
                 end
-            end;
-        end;
+            end
+        end
     elseif(type(arg1) == "string" and SuperVillain.Media.color[arg1]) then
         local t = SuperVillain.Media.color[arg1]
         local r,g,b,a = t[1], t[2], t[3], t[4] or 1;
@@ -937,37 +937,37 @@ local function SetPanelColor(self, ...)
         end
     elseif(arg1 and type(arg1) == "number") then
         self:SetBackdropColor(...)
-    end;
-end;
+    end
+end
 --[[
 ##########################################################
 APPENDED BUTTON TEMPLATING METHODS
 ##########################################################
 ]]--
 local function SetButtonTemplate(self)
-    if self.styled then return end;
+    if self.styled then return end

     CreatePanelTemplate(self, "Button", false, true, 1)

     if(self.Left) then
         self.Left:SetAlpha(0)
-    end;
+    end

     if(self.Middle) then
         self.Middle:SetAlpha(0)
-    end;
+    end

     if(self.Right) then
         self.Right:SetAlpha(0)
-    end;
+    end

     if(self.SetNormalTexture) then
         self:SetNormalTexture("")
-    end;
+    end

     if(self.SetDisabledTexture) then
         self:SetDisabledTexture("")
-    end;
+    end

     if(self.SetHighlightTexture and not self.hover) then
         local hover = self:CreateTexture(nil, "HIGHLIGHT")
@@ -976,7 +976,7 @@ local function SetButtonTemplate(self)
         FillInner(hover, self.Panel)
         self.hover = hover;
         self:SetHighlightTexture(hover)
-    end;
+    end

     if(self.SetPushedTexture and not self.pushed) then
         local pushed = self:CreateTexture(nil, "OVERLAY")
@@ -984,7 +984,7 @@ local function SetButtonTemplate(self)
         FillInner(pushed, self.Panel)
         self.pushed = pushed;
         self:SetPushedTexture(pushed)
-    end;
+    end

     if(self.SetCheckedTexture and not self.checked) then
         local checked = self:CreateTexture(nil, "OVERLAY")
@@ -993,21 +993,21 @@ local function SetButtonTemplate(self)
         FillInner(checked, self.Panel)
         self.checked = checked;
         self:SetCheckedTexture(checked)
-    end;
+    end

     self.styled = true
-end;
+end

 local function SetSlotTemplate(self, underlay, padding, x, y, noChecked)
-    if self.styled then return end;
+    if self.styled then return end
     padding = padding or 1
     CreatePanelTemplate(self, "Slot", underlay, true, padding, x, y)
     CreateButtonPanel(self, noChecked)
     self.styled = true
-end;
+end

 local function SetCheckboxTemplate(self, underlay, x, y)
-    if self.styled then return end;
+    if self.styled then return end
     if(underlay) then
         x = -7
         y = -7
@@ -1024,60 +1024,60 @@ local function SetCheckboxTemplate(self, underlay, x, y)
     end)

     self.styled = true
-end;
+end

 local function SetEditboxTemplate(self, x, y)
-    if self.styled then return end;
+    if self.styled then return end

-    if self.TopLeftTex then MUNG(self.TopLeftTex) end;
-    if self.TopRightTex then MUNG(self.TopRightTex) end;
-    if self.TopTex then MUNG(self.TopTex) end;
-    if self.BottomLeftTex then MUNG(self.BottomLeftTex) end;
-    if self.BottomRightTex then MUNG(self.BottomRightTex) end;
-    if self.BottomTex then MUNG(self.BottomTex) end;
-    if self.LeftTex then MUNG(self.LeftTex) end;
-    if self.RightTex then MUNG(self.RightTex) end;
-    if self.MiddleTex then MUNG(self.MiddleTex) end;
+    if self.TopLeftTex then MUNG(self.TopLeftTex) end
+    if self.TopRightTex then MUNG(self.TopRightTex) end
+    if self.TopTex then MUNG(self.TopTex) end
+    if self.BottomLeftTex then MUNG(self.BottomLeftTex) end
+    if self.BottomRightTex then MUNG(self.BottomRightTex) end
+    if self.BottomTex then MUNG(self.BottomTex) end
+    if self.LeftTex then MUNG(self.LeftTex) end
+    if self.RightTex then MUNG(self.RightTex) end
+    if self.MiddleTex then MUNG(self.MiddleTex) end

     CreatePanelTemplate(self, "Inset", true, true, 1, x, y)

     local globalName = self:GetName();
     if globalName then
-        if _G[globalName.."Left"] then MUNG(_G[globalName.."Left"]) end;
-        if _G[globalName.."Middle"] then MUNG(_G[globalName.."Middle"]) end;
-        if _G[globalName.."Right"] then MUNG(_G[globalName.."Right"]) end;
-        if _G[globalName.."Mid"] then MUNG(_G[globalName.."Mid"]) end;
+        if _G[globalName.."Left"] then MUNG(_G[globalName.."Left"]) end
+        if _G[globalName.."Middle"] then MUNG(_G[globalName.."Middle"]) end
+        if _G[globalName.."Right"] then MUNG(_G[globalName.."Right"]) end
+        if _G[globalName.."Mid"] then MUNG(_G[globalName.."Mid"]) end
         if globalName:find("Silver") or globalName:find("Copper") then
             self.Panel:SetPoint("BOTTOMRIGHT", -12, -2)
         end
     end
     self.styled = true
-end;
+end

 local function SetFramedButtonTemplate(self, template)
-    if self.styled then return end;
+    if self.styled then return end
     template = template or "FramedBottom"
     CreatePanelTemplate(self, template, false, false, 1)

     if(self.Left) then
         self.Left:SetAlpha(0)
-    end;
+    end

     if(self.Middle) then
         self.Middle:SetAlpha(0)
-    end;
+    end

     if(self.Right) then
         self.Right:SetAlpha(0)
-    end;
+    end

     if(self.SetNormalTexture) then
         self:SetNormalTexture("")
-    end;
+    end

     if(self.SetDisabledTexture) then
         self:SetDisabledTexture("")
-    end;
+    end

     local border = NewFrame('Frame',nil,self)
     border:Point('TOPLEFT', self, 'TOPLEFT', -2, 2)
@@ -1129,12 +1129,12 @@ local function SetFramedButtonTemplate(self, template)
         if(self.SetHighlightTexture) then
             self:SetHighlightTexture(hover)
         end
-    end;
+    end

     self.BorderPanel = border
     self.styled = true
     TemplateUpdateFrames[self] = true
-end;
+end
 --[[
 ##########################################################
 TEMPLATE UPDATE CALLBACK
@@ -1157,7 +1157,7 @@ local function FrameTemplateUpdates()
                 local tex = SuperVillain.Media.bg[frame._texture]
                 if(tex) then
                     frame._skin:SetTexture(tex)
-                end;
+                end
                 if(not frame.NoColorUpdate) then
                     if(frame._gradient and SuperVillain.Media.gradient[frame._gradient]) then
                         local g = SuperVillain.Media.gradient[frame._gradient]
diff --git a/Interface/BUTTONS/Thumbs.db b/Interface/BUTTONS/Thumbs.db
deleted file mode 100644
index 9a524d6..0000000
Binary files a/Interface/BUTTONS/Thumbs.db and /dev/null differ
diff --git a/Interface/GLUES/COMMON/Thumbs.db b/Interface/GLUES/COMMON/Thumbs.db
deleted file mode 100644
index f45b1b0..0000000
Binary files a/Interface/GLUES/COMMON/Thumbs.db and /dev/null differ
diff --git a/Interface/TAXIFRAME/Thumbs.db b/Interface/TAXIFRAME/Thumbs.db
deleted file mode 100644
index 544aded..0000000
Binary files a/Interface/TAXIFRAME/Thumbs.db and /dev/null differ
diff --git a/Interface/Tooltips/Thumbs.db b/Interface/Tooltips/Thumbs.db
deleted file mode 100644
index 60da366..0000000
Binary files a/Interface/Tooltips/Thumbs.db and /dev/null differ