View Single Post
09-17-14, 07:16 PM   #1
evilbib
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Jun 2010
Posts: 30
GhostFrame Button Highlight

Hi,

first of all my code:

Code:
GhostFrameContentsFrameIcon:SetTexCoord(0.07, 0.93, 0.07, 0.93)
GhostFrameContentsFrameText:SetFont(STANDARD_TEXT_FONT, 12, "OUTLINE")
GhostFrameContentsFrameText:SetShadowOffset(-1, 1)
GhostFrameContentsFrameText:SetShadowColor(0, 0, 0, 0)
GhostFrameLeft:SetVertexColor(0, 0, 0, 0)
GhostFrameMiddle:SetVertexColor(0, 0, 0, 0)
GhostFrameRight:SetVertexColor(0, 0, 0, 0)

GhostFrame:SetBackdrop( { 
  bgFile = "Interface\\Tooltips\\UI-Tooltip-Background", 
  edgeFile = nil, 
  insets = { left = 3, right = 3, top = 3, bottom = 3 }
})

GhostFrame:SetBackdropColor(0, 0, 0, 0.7)
GhostFrameContentsFrame:CreateBeautyBorder(11)
GhostFrameContentsFrame:SetBeautyBorderPadding(-2)
But the border is infront of the highlight texture...
My problem is that I cant figure out how to change the highlight texture of the GhostFrame Button.
Any suggestions?
  Reply With Quote