diff --git a/AdeAlts.toc b/AdeAlts.toc index 7ab2172..2c55dbb 100644 --- a/AdeAlts.toc +++ b/AdeAlts.toc @@ -2,7 +2,7 @@ ## Title: Ade Alts ## Notes: Alt manager: cooldowns, inventory, bank, gear, professions and missing recipes of all your characters. /ade ## Author: Ade -## Version: 1.2.5 +## Version: 1.3.0 ## SavedVariables: AdeAltsDB, ProfCDTrackerDB ## OptionalDeps: pfUI, SuperWoW, nampower core.lua @@ -18,6 +18,7 @@ data_mining.lua data_survival.lua data_tailoring.lua recipes.lua +skin.lua scan.lua cdwin.lua ui_base.lua diff --git a/CHANGELOG.md b/CHANGELOG.md index 39e366b..5205a47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.3.0 +- Classic Blizzard window style for everyone without pfUI (dialog-style main windows, tooltip-style panels). With pfUI installed the pfUI look is still used. +- New setting **Window style**: Auto / Blizzard / pfUI (also `/ade style auto|blizz|pfui`). Takes effect immediately. +- Cooldowns window and the login popup follow the chosen style too. +- Minimap button redrawn as a standard round button with the gold ring, so it matches the other buttons in pfUI's panel and on the minimap. + ## 1.2.5 - Item tooltips now show how many of the item your other alts carry (bags / bank, per alt). - Fixed: alt info could be added twice to a tooltip. diff --git a/alert.lua b/alert.lua index a20e836..88cbfca 100644 --- a/alert.lua +++ b/alert.lua @@ -9,13 +9,7 @@ al:SetWidth(300) al:SetHeight(80) al:SetPoint("TOP", UIParent, "TOP", 0, -140) al:SetFrameStrata("DIALOG") -al:SetBackdrop({ - bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", - edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", - tile = true, tileSize = 16, edgeSize = 16, - insets = { left = 4, right = 4, top = 4, bottom = 4 }, -}) -al:SetBackdropColor(0, 0, 0, 0.92) +AA.SkinFrame(al, 0.92, true, true) al:SetMovable(true) al:EnableMouse(true) al:RegisterForDrag("LeftButton") diff --git a/cdwin.lua b/cdwin.lua index b26d5fe..34f76f1 100644 --- a/cdwin.lua +++ b/cdwin.lua @@ -9,13 +9,7 @@ AA.f:SetWidth(400) AA.f:SetHeight(100) AA.f:SetPoint("CENTER", UIParent, "CENTER", 0, 0) AA.f:SetFrameStrata("DIALOG") -AA.f:SetBackdrop({ - bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", - edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border", - tile = true, tileSize = 16, edgeSize = 16, - insets = { left = 4, right = 4, top = 4, bottom = 4 }, -}) -AA.f:SetBackdropColor(0, 0, 0, 1) +AA.SkinFrame(AA.f, 1, true, true) AA.f:SetMovable(true) AA.f:EnableMouse(true) AA.f:RegisterForDrag("LeftButton") diff --git a/core.lua b/core.lua index 306d05f..31babb6 100644 --- a/core.lua +++ b/core.lua @@ -7,7 +7,7 @@ local AA = AdeAlts -- Command: /pcd Minimap button: auto-docked by pfUI's addon button panel. AA.ADDON = "AdeAlts" -AA.VERSION = "1.2.5" +AA.VERSION = "1.3.0" AA.PREFIX = "PCDT" AA.DAY = 86400 AA.RDATA = {} -- recipe database, filled by the data_*.lua files