@@ -18,6 +18,7 @@ local showInsetBackdrop = {
18
18
TokenFrame = true
19
19
}
20
20
21
+ -- FIX ME 11.0 Mostly now in: TokenEntryMixin
21
22
local function TokenFrame_ScrollUpdate (frame )
22
23
for _ , child in next , { frame .ScrollTarget :GetChildren () } do
23
24
if child .Highlight and not child .IsSkinned then
@@ -219,6 +220,7 @@ local function FixSidebarTabCoords()
219
220
end
220
221
end
221
222
223
+ -- FIX ME 11.0 Mostly now in: ReputationEntryMixin
222
224
local function UpdateFactionSkins (frame )
223
225
for _ , child in next , { frame .ScrollTarget :GetChildren () } do
224
226
local container = child .Container
@@ -228,7 +230,7 @@ local function UpdateFactionSkins(frame)
228
230
container :StripTextures ()
229
231
230
232
if container .ExpandOrCollapseButton then
231
- S :HandleCollapseTexture (container .ExpandOrCollapseButton )
233
+ S :HandleCollapseTexture (container .ToggleCollapseButton )
232
234
end
233
235
234
236
if container .ReputationBar then
@@ -265,7 +267,7 @@ local function BackdropDesaturated(background, value)
265
267
end
266
268
end
267
269
268
- function S :CharacterFrame ()
270
+ function S :Blizzard_UIPanels_Game ()
269
271
if not (E .private .skins .blizzard .enable and E .private .skins .blizzard .character ) then return end
270
272
271
273
-- General
@@ -397,13 +399,17 @@ function S:CharacterFrame()
397
399
end
398
400
399
401
-- Reputation Frame
400
- _G .ReputationDetailFrame :StripTextures ()
401
- _G .ReputationDetailFrame :SetTemplate (' Transparent' )
402
- S :HandleCloseButton (_G .ReputationDetailCloseButton )
403
- S :HandleCheckBox (_G .ReputationDetailAtWarCheckBox )
404
- S :HandleCheckBox (_G .ReputationDetailMainScreenCheckBox )
405
- S :HandleCheckBox (_G .ReputationDetailInactiveCheckBox )
406
- S :HandleButton (_G .ReputationDetailViewRenownButton )
402
+ local ReputationFrame = _G .ReputationFrame
403
+ ReputationFrame :StripTextures ()
404
+ S :HandleDropDownBox (ReputationFrame .filterDropDown )
405
+
406
+ -- _G.ReputationDetailFrame:StripTextures()
407
+ -- _G.ReputationDetailFrame:SetTemplate('Transparent')
408
+ -- S:HandleCloseButton(_G.ReputationDetailCloseButton)
409
+ -- S:HandleCheckBox(_G.ReputationDetailAtWarCheckBox)
410
+ -- S:HandleCheckBox(_G.ReputationDetailMainScreenCheckBox)
411
+ -- S:HandleCheckBox(_G.ReputationDetailInactiveCheckBox)
412
+ -- S:HandleButton(_G.ReputationDetailViewRenownButton)
407
413
408
414
-- Currency Frame
409
415
_G .TokenFramePopup :StripTextures ()
@@ -413,15 +419,16 @@ function S:CharacterFrame()
413
419
S :HandleCheckBox (_G .TokenFramePopup .InactiveCheckBox )
414
420
S :HandleCheckBox (_G .TokenFramePopup .BackpackCheckBox )
415
421
422
+ -- FIX ME 11.0
416
423
if _G .TokenFramePopup .CloseButton then
417
424
S :HandleCloseButton (_G .TokenFramePopup .CloseButton )
418
425
end
419
426
420
- hooksecurefunc (_G .ReputationFrame .ScrollBox , ' Update' , UpdateFactionSkins )
421
- hooksecurefunc (_G .TokenFrame .ScrollBox , ' Update' , TokenFrame_ScrollUpdate )
427
+ -- hooksecurefunc(_G.ReputationFrame.ScrollBox, 'Update', UpdateFactionSkins)
428
+ -- hooksecurefunc(_G.TokenFrame.ScrollBox, 'Update', TokenFrame_ScrollUpdate)
422
429
hooksecurefunc (' PaperDollFrame_UpdateSidebarTabs' , FixSidebarTabCoords )
423
430
hooksecurefunc (' PaperDollItemSlotButton_Update' , PaperDollItemSlotButtonUpdate )
424
- hooksecurefunc (' CharacterFrame_ShowSubFrame ' , UpdateCharacterInset )
431
+ hooksecurefunc (CharacterFrameMixin , ' ShowSubFrame ' , UpdateCharacterInset )
425
432
end
426
433
427
- S :AddCallback ( ' CharacterFrame ' )
434
+ S :AddCallbackForAddon ( ' Blizzard_UIPanels_Game ' )
0 commit comments