From 296adbe3840c76481c4f69c06ed65db66112ba3c Mon Sep 17 00:00:00 2001 From: urnati Date: Mon, 26 Apr 2021 21:12:59 -0400 Subject: [PATCH] - Update Ace3 in advance of updated Burning Crusades (BC) (Starting with 9.0.5 API) - Update per Backdrop change in api 9.0 - Change DropDownLib per Backdrop change - Note: different than arith lib - Update slider XML & code. Thanks to gulfar for the code! Impacts Clock, Volume, and Performance --- TitanClassic/TitanPanelClassicTemplate.lua | 20 ++ TitanClassic/TitanPanelClassicTemplate.xml | 15 +- .../LibUIDropDownMenu/LibUIDropDownMenu.lua | 4 +- TitanClassic/libs/AceGUI-3.0/AceGUI-3.0.lua | 231 +++++++++--------- .../widgets/AceGUIContainer-DropDownGroup.lua | 6 +- .../AceGUI-3.0/widgets/AceGUIContainer-Frame.lua | 18 +- .../widgets/AceGUIContainer-InlineGroup.lua | 4 +- .../widgets/AceGUIContainer-ScrollFrame.lua | 25 +- .../widgets/AceGUIContainer-TabGroup.lua | 39 ++- .../widgets/AceGUIContainer-TreeGroup.lua | 91 ++++--- .../AceGUI-3.0/widgets/AceGUIContainer-Window.lua | 108 ++++----- .../AceGUI-3.0/widgets/AceGUIWidget-Button.lua | 2 +- .../AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua | 44 ++-- .../widgets/AceGUIWidget-ColorPicker.lua | 8 +- .../widgets/AceGUIWidget-DropDown-Items.lua | 142 +++++------ .../AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua | 250 ++++++++++---------- .../AceGUI-3.0/widgets/AceGUIWidget-Heading.lua | 4 +- .../libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 4 +- .../widgets/AceGUIWidget-InteractiveLabel.lua | 7 - .../AceGUI-3.0/widgets/AceGUIWidget-Keybinding.lua | 4 +- .../libs/AceGUI-3.0/widgets/AceGUIWidget-Label.lua | 20 +- .../widgets/AceGUIWidget-MultiLineEditBox.lua | 18 +- .../AceGUI-3.0/widgets/AceGUIWidget-Slider.lua | 11 +- TitanClassicClock/TitanClassicClock.lua | 14 +- TitanClassicClock/TitanClassicClock.xml | 10 +- .../TitanClassicPerformance.lua | 8 + .../TitanClassicPerformance.xml | 6 +- 27 files changed, 585 insertions(+), 528 deletions(-) diff --git a/TitanClassic/TitanPanelClassicTemplate.lua b/TitanClassic/TitanPanelClassicTemplate.lua index 1be418e..528ab24 100644 --- a/TitanClassic/TitanPanelClassicTemplate.lua +++ b/TitanClassic/TitanPanelClassicTemplate.lua @@ -1051,3 +1051,23 @@ function TitanPanelButton_GetType(id) return type; end +--[[ Titan +NAME: TitanOptionsSliderTemplate_OnLoad +DESC: Loads the Backdrop for TitanOptionsSliderTemplate with new 9.0 API +VAR: self - The frame +--]] +function TitanOptionsSliderTemplate_OnLoad(self) + self:SetBackdrop({ + bgFile="Interface\\Buttons\\UI-SliderBar-Background", + edgeFile="Interface\\Buttons\\UI-SliderBar-Border", + tile = true, + insets = { + left = 6, + right = 6, + top = 3, + bottom = 3, + }, + tileSize = 8, + edgeSize = 8, + }) +end diff --git a/TitanClassic/TitanPanelClassicTemplate.xml b/TitanClassic/TitanPanelClassicTemplate.xml index d063544..9fb1d55 100644 --- a/TitanClassic/TitanPanelClassicTemplate.xml +++ b/TitanClassic/TitanPanelClassicTemplate.xml @@ -2,6 +2,9 @@ ..\FrameXML\UI.xsd">