diff --git a/API.txt b/API.txt index 5d82174a..8b87a9fa 100644 --- a/API.txt +++ b/API.txt @@ -1,7 +1,7 @@ This is a short document for Details! API, describing attributes, combat, container, actor. It still is incomplete, we are working on. -This is a diagram showing the structure: http://i.imgur.com/vyTjpFh.png +This is a diagram showing the structure: http://i.imgur.com/vyTjpFh diff --git a/core/control.lua b/core/control.lua index 3f9967dd..b5566a0d 100644 --- a/core/control.lua +++ b/core/control.lua @@ -1341,7 +1341,7 @@ end local bgColor, borderColor = {0, 0, 0, 0.8}, {0, 0, 0, 0.5} --{0.37, 0.37, 0.37, .75}, {.30, .30, .30, .3} - local backdrop = {bgFile = [[Interface\AddOns\Details\images\background83.png]], edgeFile = [[Interface\Buttons\WHITE8X8]], tile=true, + local backdrop = {bgFile = [[Interface\AddOns\Details\images\background83]], edgeFile = [[Interface\Buttons\WHITE8X8]], tile=true, edgeSize = 1, tileSize = 64, insets = {left = 0, right = 0, top = 0, bottom = 0}} function Details:FormatCooltipForSpells() @@ -1351,7 +1351,7 @@ GameCooltip:SetType("tooltip") GameCooltip:SetOption("StatusBarTexture", [[Interface\AddOns\Details\images\bar_background_dark_withline]]) - --GameCooltip:SetOption("StatusBarTexture", [[Interface\AddOns\Details\images\bar_textures\bar_rounded.png]]) + --GameCooltip:SetOption("StatusBarTexture", [[Interface\AddOns\Details\images\bar_textures\bar_rounded]]) GameCooltip:SetOption("TextSize", Details.tooltip.fontsize) GameCooltip:SetOption("TextFont", Details.tooltip.fontface) @@ -1466,7 +1466,7 @@ if (not Details.GameCooltipFrame1Shadow) then Details.GameCooltipFrame1Shadow = GameCooltipFrame1:CreateTexture(nil, "background") - Details.GameCooltipFrame1Shadow:SetTexture([[Interface\AddOns\Details\images\shadow_square.png]], nil, nil, "TRILINEAR") + Details.GameCooltipFrame1Shadow:SetTexture([[Interface\AddOns\Details\images\shadow_square]], nil, nil, "TRILINEAR") local offset = 4 Details.GameCooltipFrame1Shadow:SetPoint("topleft", GameCooltipFrame1, "topleft", -offset, offset) Details.GameCooltipFrame1Shadow:SetPoint("bottomright", GameCooltipFrame1, "bottomright", offset, -offset) diff --git a/functions/skins.lua b/functions/skins.lua index 378b6241..1883d5f2 100644 --- a/functions/skins.lua +++ b/functions/skins.lua @@ -474,7 +474,7 @@ local addonName, Details222 = ... ["textL_custom_text"] = "{data1}. {data3}{data2}", ["font_size"] = 16, ["height"] = 21, - ["texture_file"] = "Interface\\AddOns\\Details\\images\\bar_textures\\bar_best.png", + ["texture_file"] = "Interface\\AddOns\\Details\\images\\bar_textures\\bar_best", ["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small", ["textR_bracket"] = "(", ["textR_enable_custom_text"] = false, diff --git a/images/background83.blp b/images/background83.blp new file mode 100644 index 00000000..cffbb9ca Binary files /dev/null and b/images/background83.blp differ diff --git a/images/background83.png b/images/background83.png deleted file mode 100644 index 9be10c81..00000000 Binary files a/images/background83.png and /dev/null differ diff --git a/images/bar_textures/bar_best.blp b/images/bar_textures/bar_best.blp new file mode 100644 index 00000000..600a51f2 Binary files /dev/null and b/images/bar_textures/bar_best.blp differ diff --git a/images/bar_textures/bar_best.png b/images/bar_textures/bar_best.png deleted file mode 100644 index 0abde618..00000000 Binary files a/images/bar_textures/bar_best.png and /dev/null differ diff --git a/images/bar_textures/bar_hyanda_reverse.blp b/images/bar_textures/bar_hyanda_reverse.blp new file mode 100644 index 00000000..8f2fc6a2 Binary files /dev/null and b/images/bar_textures/bar_hyanda_reverse.blp differ diff --git a/images/bar_textures/bar_hyanda_reverse.png b/images/bar_textures/bar_hyanda_reverse.png deleted file mode 100644 index 7a573919..00000000 Binary files a/images/bar_textures/bar_hyanda_reverse.png and /dev/null differ diff --git a/images/shadow_square.blp b/images/shadow_square.blp new file mode 100644 index 00000000..374f2185 Binary files /dev/null and b/images/shadow_square.blp differ diff --git a/images/shadow_square.png b/images/shadow_square.png deleted file mode 100644 index 1abd3181..00000000 Binary files a/images/shadow_square.png and /dev/null differ