You are not logged in.

1

Monday, October 11th 2010, 5:27pm

skin and zoom buttons

Hi all,

is there any way to display only the zoom in and out buttons of the skin into the viewer ?
I just need those two buttons, and before i start developing something from scratch...

thx

Marc

Posts: 91

Location: Norway

Occupation: Product Specialist @ www.fuglefjellet.no

  • Send private message

2

Monday, October 11th 2010, 5:57pm

Have a look at the examples included in the download of latest version.

Look in examples/buttons folder/buttons_xxx_include.xml

Uncomment or delete what you dont need:

Source code

1
2
3
	<!-- some default buttons (zooming, direction, hotspots on/off, fullscreen) -->
	<plugin name="in"   	style="button" x="-160" 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="out"  	style="button" x="-120" 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);" />


This will give only zoom in/out

btw: May you reply in members showcase in the culture and the frog thread ?