View Single Post
Unread 10-01-08, 01:59 AM   #4
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,351
If its a graphic card issue there is probably nothing that you can do. What helped me on another occasion was a OnShow script. It may not help you here, but its worth a try.

Don't forget to anchor the main frame to UIParent this is important especially for scaling issues.

Code:
    local f = CreateFrame("Frame",nil,UIParent)
    f:SetFrameStrata("BACKGROUND")
    f:SetWidth(200)
    f:SetHeight(200)
    f:SetPoint("CENTER",0,0)
    f:Show()
    
    local t = f:CreateTexture(nil, "BACKGROUND")
    t:SetTexture("PATH\\TO\\MY\\TEXTURE")
    t:SetAllPoints(f)

    f:SetScript("OnShow",function() 
      DEFAULT_CHAT_FRAME:AddMessage("ping")
      t:SetTexture("PATH\\TO\\MY\\TEXTURE")
    end)
The script will become active for example when opening and closing the WordMap and on every other occasion where the UIParent runs the OnShow event.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline   Reply With Quote