Thread Tools Display Modes
09-18-18, 10:19 AM   #1
Krainz
A Wyrmkin Dreamwalker
Join Date: Oct 2016
Posts: 57
Skinner Addon Help

Hi I'm using the beta 7.7 version of Skinner for BFA

How do I make it so Skinner doesn't hide the texture image on arena, dungeon and raid pop-ups?



Like the purple background above picturing heart of fear

(I want only that texture modification, all other modifications on the pop-up window can stay)
  Reply With Quote
09-20-18, 09:07 AM   #2
Krainz
A Wyrmkin Dreamwalker
Join Date: Oct 2016
Posts: 57
I found out that removing the kfs=true in the addSkinFrame function opts solves that

Lua Code:
  1. aObj.blizzFrames[ftype].LFGFrame = function(self)
  2.     if not self.prdb.PVEFrame or self.initialized.LFGFrame then return end
  3.     self.initialized.LFGFrame = true
  4.  
  5.     self:SecureHookScript(_G.LFGDungeonReadyPopup, "OnShow", function(this) -- a.k.a. ReadyCheck
  6.         self:addSkinFrame{obj=_G.LFGDungeonReadyStatus, ft=ftype, ofs=-5}
  7.         _G.LFGDungeonReadyDialog.instanceInfo:DisableDrawLayer("BACKGROUND")
  8.         self:skinStdButton{obj=_G.LFGDungeonReadyDialog.enterButton}
  9.         self:skinStdButton{obj=_G.LFGDungeonReadyDialog.leaveButton}
  10.         self:addSkinFrame{obj=_G.LFGDungeonReadyDialog, ft=ftype, ofs=-5}
  11.         _G.LFGDungeonReadyDialog.SetBackdrop = _G.nop
  12.  
  13.         -- RewardsFrame
  14.         _G.LFGDungeonReadyDialogRewardsFrameReward1Border:SetAlpha(0)
  15.         _G.LFGDungeonReadyDialogRewardsFrameReward2Border:SetAlpha(0)
  16.         self:addButtonBorder{obj=_G.LFGDungeonReadyDialogRewardsFrameReward1, relTo=_G.LFGDungeonReadyDialogRewardsFrameReward1.texture}
  17.         self:addButtonBorder{obj=_G.LFGDungeonReadyDialogRewardsFrameReward2, relTo=_G.LFGDungeonReadyDialogRewardsFrameReward2.texture}
  18.  
  19.         self:Unhook(this, "OnShow")
  20.     end)
  21.  
  22.     -- hook new button creation
  23.     self:RawHook("LFGRewardsFrame_SetItemButton", function(...)
  24.         local frame = self.hooks.LFGRewardsFrame_SetItemButton(...)
  25.         _G[frame:GetName() .. "NameFrame"]:SetTexture(nil)
  26.         self:addButtonBorder{obj=frame, libt=true}
  27.         return frame
  28.     end, true)
  29.  
  30.     self:SecureHookScript(_G.LFGInvitePopup, "OnShow", function(this)
  31.         self:skinStdButton{obj=_G.LFGInvitePopupAcceptButton}
  32.         self:skinStdButton{obj=_G.LFGInvitePopupDeclineButton}
  33.         self:addSkinFrame{obj=this, ft=ftype}
  34.         self:Unhook(this, "OnShow")
  35.     end)
  36.  
  37. end

End result:



How it was originally:

  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Skinner Addon Help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off