As far as I can tell, these are the slider functions in std.mi:
extern Slider.onSetPosition(int newpos);
extern Slider.onPostedPosition(int newpos);
extern Slider.onSetFinalPosition(int pos);
extern Slider.setPosition(int pos);
extern Int Slider.getPosition();
extern Slider.lock(); // locks descendant core collbacks
extern Slider.unlock(); // unloads them
I'm not sure what the difference between some of them is.
However, it appears that we will need to capture the click on the slider button, see if the position is changing, and animate the layer below accordingly.
My current problem (actually, one of many) is that when I do a .onleftbuttonclick for one of the slider buttons, the image doesn't change to the down state. Not to mention that I can't seem to get the layer to update while the slider is being moved, only when it is set, and the mouse button is released.
I supposed animated layers would help this problem, but I'm not really sure how. I've been skinning for awhile now, but I haven't done much if any MAKI. This is the skin I'm working on this for right now: http://www.winamp.com/skins/detail.j...onentId=121446
As you can see from the screenshot, the layers below the eq buttons are completely static right now, but that's what I'm trying to change.
The original WA2.x skin is here:
Thanks for all of your help.
PS. Also, we have to update the layers below the sliders when an eq preset is applied, since the sliders positions change, without mouse clicks or movement. This is where the .onSetPosition will probably come in, but that seems to break the image change when you click on the slider.