From 199fd9cd09dffbd87c30df731eb2dbed9d84010f Mon Sep 17 00:00:00 2001 From: Albirew Date: Mon, 24 May 2021 18:20:20 +0200 Subject: [PATCH] update for classic BC --- Bar.lua | 2 ++ ButtonForge.toc | 6 +++--- UILibLayers.xml | 2 +- UILibLines.lua | 2 ++ Util.lua | 19 +++++++++---------- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/Bar.lua b/Bar.lua index 7c3722c..dceef92 100644 --- a/Bar.lua +++ b/Bar.lua @@ -142,6 +142,7 @@ function Bar.New(BarSave) --[[Background Layer, this will contain all controls and is used in resizing]]-- local Background = CreateFrame("FRAME", nil, ControlFrame); + Mixin(Background, BackdropTemplateMixin) Background:SetSize(1, 1); Background:SetPoint("TOPLEFT", ControlFrame, "TOPLEFT"); Background:SetBackdrop({bgFile = Const.ImagesDir.."Backdrop.tga", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 16, insets = {left=3, right=3, bottom=3, top=3}}); @@ -183,6 +184,7 @@ function Bar.New(BarSave) --[[Label Frame]]-- local LabelFrame = CreateFrame("FRAME", nil, ControlFrame); + Mixin(LabelFrame, BackdropTemplateMixin) LabelFrame:SetSize(1, 1); LabelFrame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", edgeFile = "Interface/Tooltips/UI-Tooltip-Border", tile = true, tileSize = 16, edgeSize = 8, insets = {left=1.5, right=1.5, bottom=1.5, top=1.5}}); LabelFrame:SetBackdropColor(0, 0, 0, 1); diff --git a/ButtonForge.toc b/ButtonForge.toc index 64662c4..af65eb4 100644 --- a/ButtonForge.toc +++ b/ButtonForge.toc @@ -1,6 +1,6 @@ -## Interface: 11306 -## Title: Button Forge |cff69ccf0(Classic)|r -## Version: 1.0.3-classic-1 +## Interface: 20501 +## Title: Button Forge |cff69f0d1(Classic BC)|r +## Version: 1.0.3-classic-BC ## Author: Massiner of Nathrezim, Albirew ## Notes: Add as many or few extra Action Bars and Buttons to your user interface to complement the standard (or other) Action Bars ## SavedVariables: ButtonForgeGlobalSettings, ButtonForgeGlobalProfiles, ButtonForgeGlobalBackup diff --git a/UILibLayers.xml b/UILibLayers.xml index 986856c..e694d4c 100644 --- a/UILibLayers.xml +++ b/UILibLayers.xml @@ -2,7 +2,7 @@