I have never worked with modifying the skin control bar before so I could use a few pointers.
I want to add an additional option to the control bar for auto rotate. I noticed on the vtourskin.png there is an icon(spinning top) that looks like something I could use that will allow the user to turn the auto rotate on or off.
Here is were I need help. How do I go about adding an additional option to the control bar? I see skin_control_bar defined for both standard and mobile devices. For each option there is a line something like this:
<layer name="skin_btn_lt" style="skin_base|skin_glow" crop="0|192|64|64" align="bottom" x="-100" y="4" scale="0.5" ondown2="set(hlookat_moveforce,-1);" onup2="set(hlookat_moveforce,0);" />
How do I figure out what the crop numbers and the x and y settings would be if I want to add the spinning top from the vtourskin.png file?
I would like to also add an additional icon for 'Information'. Since there is not a corresponding icon on the vtourskin.png file how do I go about adding an option to the control_bar with something that is not an icon on the vtourskin.png file?
Any and all help is greatly appreciated.