Tooltips in control bar

  • 1. Set tooltips_buttons="true" in tour.xml
    2. Add new style:

    Code
    <style name="button_tooltips_style" 	       
    onloaded="if(tooltip AND skin_settings.tooltips_buttons, loadstyle(skin_tooltips) );"	       
    />


    3. Add style in button definiion + add title as you like in every button line. E.g.

    Code
    <layer name="skin_btn_left"  style="skin_base|skin_glow|button_tooltips_style" crop="0|192|64|64"  align="center"      x="-100" y="0"  scale="0.5" ondown2="set(hlookat_moveforce,-1);" onup2="set(hlookat_moveforce,0);" tooltip="Left" />
    <layer name="skin_btn_right" style="skin_base|skin_glow|button_tooltips_style" crop="64|192|64|64" align="center"      x="-60"  y="0"  scale="0.5" ondown2="set(hlookat_moveforce,+1);" onup2="set(hlookat_moveforce,0);" tooltip="Right"/>

    I to je to.....

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!