Quantcast
WoWInterface - View Single Post - Closing all frames with the same name
View Single Post
04-23-20, 06:00 AM   #9
sezz
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 125
Originally Posted by Milton View Post
Ah, I understand. Reusing it means just changing the functionality of it, what is displayed and what it does, without creating a new frame.
Exactly. Blizzard also added CreateObjectPool/CreateFramePool in BfA I think if you don't want to write the code to handle the frames yourself. You just create a pool and acquire a unused/new button and release it when you don't need it anymore so it can be reused later when you need another one.
  Reply With Quote