View Single Post
12-18-13, 11:03 AM   #12
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
A redraw function would be doable as well, if it only has to happen the first time. Afterwards it can be loaded from saved vars.

How would I let other addons override the default API, though? Functions can't be stored in saved variables to my knowledge. Using callbacks isn't exactly viable either. Load times would be too long if Aurora applies its default skin and then gets asked to reload the entire skin again. A solution might be to put the default skin in a separate addon, which the user can disable and replace by another skin addon - but that would remove the possibility of changing skin on the fly.
  Reply With Quote