WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Skinner Addon Help (https://www.wowinterface.com/forums/showthread.php?t=56684)

Krainz 09-18-18 10:19 AM

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)

Krainz 09-20-18 09:07 AM

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:



All times are GMT -6. The time now is 07:25 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI