Changing default menu button behaviour in a panorama  

Share your tips and tricks here or get help with any Panotour 2.0 problem!
No bug reports (of any kind) in this forum!
no avatar
Frenchev
Member
 
Topic author
Posts: 88
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 03, 2013 10:19 am
Info

Changing default menu button behaviour in a panorama

by Frenchev » Thu Jan 09, 2014 1:10 pm

Hello!
I am trying to change some default settings for the index_skin.xml that Panotour 2 generates - in particular the rotation speed when pressing the left and right buttons in the menu ribbon.
Code: Select all
<layer name="theme11btn_left"
            url="%FIRSTXML%/graphics/icontrolbar/btn_move_left.png"
            ondown="set(hlookat_moveforce, -1);"
            onup="set(hlookat_moveforce, 0);"
            style="theme11_btn_style"
            visible="false"
            tooltip="controlBar_imoveLeftTip"
            devices="desktop"
            />

The default settings are +1 and -1 for the right and left button, but I want to change them by default to +0.2, -0.2.
Searching all templates and xml files in Panotour tour installed directory lead me to theme2.tmpl, theme1.tmpl, etc. where i found this
Code: Select all
<layer name="{{plugname}}btn_left"
            url="%FIRSTXML%/{{pluginDirectory}}/btn_move_left.png"
            ondown="{%include 'moveleftcall.tmpl'%}"
            onup="{%include 'stopmovehorizontalcall.tmpl'%}"
            style="{{plugname}}_btn_style"

Maybe be this is the place to change the settings, but a file with the name moveleftcall.tmpl does not exist.
Please help!

User avatar
benji33
Kolor Team
 
Posts: 3438
Likes: 0 post
Liked in: 7 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Changing default menu button behaviour in a panorama

by benji33 » Mon Jan 13, 2014 3:55 pm

This file exists into the compiled Panotour but is not accessible. So you have to generate a project to see the generated code.


Return to Using Panotour / Panotour Pro

Who is online

Users browsing this forum: No registered users and 1 guest