function Common_SetIconTexture( _icon , _type ) local _file, _l, _t, _r, _b= GetIconTextureRect( _type ); _icon:SetFile( _file ); _icon:SetTexCoord( _l, _r, _t, _b ); end
Advertisement
function Common_SetIconTexture( _icon , _type ) local _file, _l, _t, _r, _b= GetIconTextureRect( _type ); _icon:SetFile( _file ); _icon:SetTexCoord( _l, _r, _t, _b ); end