So i looked around, and im a fairly new addon writer, but i was wondering exactly how to make a minimap button. Now i read up but almost everything was written a while ago and is incomplete.
I know the basics but was wondering if anyone knew a could tutorial, or would take the time to post a short one on how to make the button.
Now im not a complete noob, im fairly sure i can make the button my self, my main problems would be getting it to stick to the minimap, but making it call a function and designing it seems easy enough ( although some specifics on the dimensions for the button and whatnot would be nice)
Also on a side note im trying to get one of my secure buttons hide another secure button when out of combat. Its set up now where i have one main button that never disappears, and has one child secure button anchored to it, along with a separate secure button anchored to it. I tried hooking the onclick function but this broke it. I know their are restrictions but all i want it to do is hide the two buttons out of combat. What would i need to do so when i click it out of combat it hides the other secure frames.
I have a good general idea on both these subjects, but i cannot pull it together and make it work.