<krpano>

	<style name="button" url="buttons.png" alturl="buttons.png" keep="true" align="bottom" />
	
	<plugin name="btn_in"      devices="desktop|tablet+html5"      x="-140" y="80" style="button" crop="160|0|40|40" onovercrop="160|40|40|40" ondowncrop="160|80|40|40" ondown="set(fov_moveforce,-1);"     onup="set(fov_moveforce,0);"     />
	<plugin name="btn_out"      devices="desktop|tablet+html5"      x="-100" y="80" style="button" crop="200|0|40|40" onovercrop="200|40|40|40" ondowncrop="200|80|40|40" ondown="set(fov_moveforce,+1);"     onup="set(fov_moveforce,0);"     />
	<plugin name="btn_lft"      devices="desktop|tablet+html5"       x="-60"  y="80" style="button" crop=  "0|0|40|40" onovercrop=  "0|40|40|40" ondowncrop=  "0|80|40|40" ondown="set(hlookat_moveforce,-1);" onup="set(hlookat_moveforce,0);" />
	<plugin name="btn_rgt"      devices="desktop|tablet+html5"        x="-20"  y="80" style="button" crop= "40|0|40|40" onovercrop= "40|40|40|40" ondowncrop= "40|80|40|40" ondown="set(hlookat_moveforce,+1);" onup="set(hlookat_moveforce,0);" />
	<plugin name="btn_up"      devices="desktop|tablet+html5"        x="+20"  y="80" style="button" crop= "80|0|40|40" onovercrop= "80|40|40|40" ondowncrop= "80|80|40|40" ondown="set(vlookat_moveforce,-1);" onup="set(vlookat_moveforce,0);" />
	<plugin name="btn_dwn"     devices="desktop|tablet+html5"        x="+60"  y="80" style="button" crop="120|0|40|40" onovercrop="120|40|40|40" ondowncrop="120|80|40|40" ondown="set(vlookat_moveforce,+1);" onup="set(vlookat_moveforce,0);" />
	<plugin name="btn_dragmode" devices="desktop|tablet+html5"     x="+100" y="80" style="button" crop="400|0|40|40" onovercrop="400|40|40|40" ondowncrop="400|80|40|40" onclick="dragcursor();" visible="true"  />
	<plugin name="btn_movemode" devices="desktop|tablet+html5"      x="+100" y="80" style="button" crop="360|0|40|40" onovercrop="360|40|40|40" ondowncrop="360|80|40|40" onclick="qtvrcursor();" visible="false" />
	<plugin name="btn_enterfs"  devices="flash+!android" x="+140" y="80" style="button" crop="280|0|40|40" onovercrop="280|40|40|40" ondowncrop="280|80|40|40" onclick="set(fullscreen,true);"  visible="true"  />
	<plugin name="btn_exitfs"   devices="flash+!android" x="+140" y="80" style="button" crop="320|0|40|40" onovercrop="320|40|40|40" ondowncrop="320|80|40|40" onclick="set(fullscreen,false);" visible="false" />
	
	<krpano devices="html5">
		
		<plugin name="btn_in"       x="-120" />
		<plugin name="btn_out"      x="-80"  />
		<plugin name="btn_lft"      x="-40"  />
		<plugin name="btn_rgt"      x="-0"   />
		<plugin name="btn_up"       x="+40"  />
		<plugin name="btn_dwn"      x="+80"  />
		<plugin name="btn_dragmode" x="+120" />
		<plugin name="btn_movemode" x="+120" />
	</krpano>
	
	<events name="defaultbuttons" keep="true" devices="desktop"
	        onxmlcomplete=""
	        onenterfullscreen="set(plugin[btn_enterfs].visible,false); set(plugin[btn_exitfs].visible,true);"
	        onexitfullscreen ="set(plugin[btn_enterfs].visible,true);  set(plugin[btn_exitfs].visible,false);"
	        />

	<plugin name="androidzoom_out" devices="android+flash" keep="true" url="androidbuttons.png" alpha="0.5" crop="0|0|71|64"   align="rightbottom" x="88" y="10" ondown="set(crop,0|64|71|64);  set(fov_moveforce,+1);" onup="set(crop,0|0|71|64);  set(fov_moveforce,0);" />
	<plugin name="androidzoom_in"  devices="android+flash" keep="true" url="androidbuttons.png" alpha="0.5" crop="71|0|78|64"  align="rightbottom" x="10" y="10" ondown="set(crop,71|64|78|64); set(fov_moveforce,-1);" onup="set(crop,71|0|78|64); set(fov_moveforce,0);" />
	<plugin name="androidfsbutton" devices="android+flash" keep="true" url="androidbuttons.png" alpha="0.5" crop="149|0|64|64" align="righttop"    x="0"  y="0"  onclick="switch(fullscreen);" />
	
	<events name="androidfsbutton" devices="android+flash" keep="true" onenterfullscreen="set(plugin[androidfsbutton].crop,149|64|64|64);" onexitfullscreen="set(plugin[androidfsbutton].crop,149|0|64|64);" />

	<action name="dragcursor">
		set(plugin[btn_dragmode].visible, false);
		set(plugin[btn_movemode].visible, true);
		set(control.mousetype, drag2D);
		set(cursors.url, %SWFPATH%/skin/drag-cursors.png);
		set(cursors.type, drag);
		set(cursors.move,  2|0|30|32);
		set(cursors.drag, 37|0|30|32);
	</action>

	



</krpano>
