Quantcast WoWInterface - View Single Post - Callback when item is clicked in bag
View Single Post
09-02-19, 07:42 AM   #4
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,889
You can grab the icon from GetContainerItemInfo() and just create a texture object to display it. If you really want to be fancy, you could create a button using the ItemButtonTemplate or ActionButtonTemplate. Whichever suits your needs.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote