its a git based repository, how do i properly specify that in the pkgmeta file? just that everything else i currently have is svn based. do i just use the repository link off the page or something else? (might want to add that to the page for the more dense authors like me)
i also tried to include it in my working copy as an svn external but its git, i was under the impression that curse/wowace was client agnostic and had some background magic to convert but it doesnt seem that way.
so i downloaded it manually and pulled out the embedded directory and added that part to my mod but depending on how it goes in the pkgmeta file i may need to change that - as i presume users might get the whole lib not just the embedded directory? (might upload an alpha to test what happens later)
svn externals are svn externals, can't somehow magically hack it to understand different stuff =p
but yes, just including the link thats shown on the repository page will do the job.
I shall lart kagaro later for including the dreadful sub directory. There are better solutions today.
If you're reading this kagaro, fix it before anyone uses it, or i reach you to lart you! :P
(External LibStub in .pkgmeta, disable nolib creation, drop the damn sub dir -- last i checked, couldn't reference them when externalling Git repos anyway)
Also, i'd pick a different API name for :Embed() as that's what AceAddon3 looks for to embed a lib onto an addon object. We don't want newbies trying to embed this into an addon instead of their frame....
Is there any truth to the allegation that this lib hates (frame) children?
Test one:
create frame /w bgFile, edgeFile, etc, etc
enhance
colorize
win!
Test two:
repeat steps 1 - 3 above
create child of frame above
nil error! neither frame displays
Is the correct way to approach this animal, being cautious:
create frame like Test one
create children, setting graphics, text, etc
enhance (main frame, or both? what if you only want to enhance one of them?)
If you want to see my troubles, check out this thread, which has code links. I was hoping to see other addons using this lib so I could see working examples, but there are no reverse relationships on the project page.
Project: http://www.wowace.com/addons/libbackdrop-1-0/
API is in the description, its very easy to use and gives you a few extra functions like setting a gradient on borders.
i also tried to include it in my working copy as an svn external but its git, i was under the impression that curse/wowace was client agnostic and had some background magic to convert but it doesnt seem that way.
so i downloaded it manually and pulled out the embedded directory and added that part to my mod but depending on how it goes in the pkgmeta file i may need to change that - as i presume users might get the whole lib not just the embedded directory? (might upload an alpha to test what happens later)
but yes, just including the link thats shown on the repository page will do the job.
I shall lart kagaro later for including the dreadful sub directory. There are better solutions today.
If you're reading this kagaro, fix it before anyone uses it, or i reach you to lart you! :P
(External LibStub in .pkgmeta, disable nolib creation, drop the damn sub dir -- last i checked, couldn't reference them when externalling Git repos anyway)
Is there any truth to the allegation that this lib hates (frame) children?
Test one: