View Single Post
04/09/14, 03:54 PM   #8
lintydruid
 
lintydruid's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 6
Hi,

Here's the line of code:

guildtools.ui.alert.icon = WINDOW_MANAGER:CreateControl("guildtools.ui.alert.icon",guildtools.ui.alert.window, CT_TEXTURE )
guildtools.ui.alert.icon:SetDimensions(64,64)
guildtools.ui.alert.icon:SetTexture("/esoui/art/campaign/campaign_tabicon_history_down.dds")
guildtools.ui.alert.icon:SetDrawLayer(1)
guildtools.ui.alert.icon:SetAnchor(CENTER, guildtools.ui.alert.window, CENTER, 0,-320)


It works fine with the UI icon (as per code) but if I switch it for the attached I get a red version of the icon.
  Reply With Quote