All I did there was modify the last code that was posted in that thread and change "self" to "bar". If you're getting an error, refer to Fizzlemizz's posts and make whatever changes are necessary for the specific addon you're attaching your panel to.
If you previously had some version of it working, just change "self" to "bar" where it's highlighed in my post, and leave "self.bg" as "self.bg" instead of changing it to your panel's name.
If it's still not working, you'll have to wait for someone who actually uses your unitframe addon to post with the correct name/path to use for it.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
|