
Author : Psi (psiz _at_ free _dot_ fr)
License : GPL

v0.1.4

this sensor is based on the starter bar. It allows to have a button that executes a command (it is possible to change the command in the configurator) when it is clicked and that scales on mouse over.

'IconButton' sensor  :
  args
    command : command used when the button is clicked
    animation : enables or disables the animation (0|1)
    zoom : zoom used for the animation

  available data :
    -

  configurator options :
    Command
    Animation : (1|0)

  use :
    <sensor id="lnchext" module="IconButton,your,1,1.4"/> 
    [...]
    <image x="your x" y="your y" on-enter="lnchext:enter" on-leave="lnchext:leave" on-click="lnchext:launch" watch="scale=lnchext:icon-scale" uri="your uri"/>
