Originally Posted by siweia
|
Is easy, there is new function for it. By example:
_G.GetItemClassInfo(LE_ITEM_CLASS_QUESTITEM) is now equal to old select(10, GetAuctionItemClasses())
BTW value for LE_ITEM_CLASS_QUESTITEM is now 12.
I have problems with textures and fontstring. It seems taht somehow don't work as is. Tested my code from 6.2.x on 7.0.x and no textures in back and font don't changing. Will try place some nispets and more testing.
OK here is piece of code what really works on 6.2.x but don't on 7.0.x
local MF = CreateFrame("Frame", "TEST_FRAME", UIParent); MF:SetSize(200,200); MF:SetPoint("CENTER",UIParent,"CENTER",0,0)
MF.texture = MF:CreateTexture(nil,"BACKGROUND"); MF.texture:SetTexture(0,0,0,1); MF.texture:SetAllPoints(MF)
MF:Show()
Actually I think problem is change in SetTexture function it seems 2nd variant with only RGBA don't working or need different arguments), As I reading thru SetTexture now taking path or ID not RGBA, valid. So it shall use SetColorTexture now for Legion. Am I right? (yes tested) shees