View Single Post
05-20-10, 07:57 AM   #15
Cogwheel
Sans Poisson
 
Cogwheel's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 237
So...what's N? I couldn't figure that out at all as the code is of course obfuscated for compactness.
N is the number of states used by S. The states in S (which use the macro option system) must go from 1 to N unless you want to waste action slots (which may actually be desirable if you just want to add to the built-in bars)

There's also an unused option, P for "Point", which sets the anchor point of the bar relative to UIParent (usually equal to the screen edges). It defaults to "BOTTOM", hence the descriptions of H and V. You can use any of the anchor points used by SetPoint.
__________________
[SIGPIC][/SIGPIC]
  Reply With Quote