View Single Post
10-26-10, 05:08 PM   #3
lilgulps
A Theradrim Guardian
 
lilgulps's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 62
Still not displaying my texture, however when I use UI-Tooltip-Background I see a texture...

Code:
local f = CreateFrame("Frame", nil, UIParent)
f:SetFrameStrata("LOW")
f:SetWidth(200)
f:SetHeight(100)
	
	-- Creating the texture for the frame

local t = f:CreateTexture(nil, "LOW")
t:SetTexture("Interface\\Tooltips\\UI-Tooltip-Background")
t:SetAllPoints(f)

f.texture = t

f:SetPoint("CENTER", 0, -5)
f:Show()
Is there a certain size image that only will load?

If so is there a way to force load in my custom size .tga files?

Edit: Doesn't have to be a texture, i'm just trying to get a picture I created to display in game and having trouble doing so.

Last edited by lilgulps : 10-26-10 at 05:11 PM.
  Reply With Quote