VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Properties | List of all members
MultiTouchMenuIcon Class Reference

Icon for use in handling multi-touch events. More...

Inheritance diagram for MultiTouchMenuIcon:

Properties

bool buttonPressed
 Whether or not the button is pressed. More...
 
string iconSource
 Source of the icon's graphic. More...
 
real iconWidth
 Width of the whole icon graphic. More...
 
real iconHeight
 Height of the whole icon graphic. More...
 
real iconVerticalOffset
 Vertical offset of the center of the whole icon graphic. More...
 
real iconHorizontalOffset
 Horizontal offset of the center of the whole icon graphic. More...
 
real iconImageVerticalOffset
 Vertical offset of the center of the icon image. More...
 
real iconImageHorizontalOffset
 Horizontal offset of the center of the icon image. More...
 

Detailed Description

Icon for use in handling multi-touch events.

The hit area of the icon is defined by width and height properties, but the look and offset of the icon graphic can be changed through the following properties: iconWidth, iconHeight, iconVerticalOffset, and iconHorizontalOffset.

Note
Because MenuIcons use MouseAreas which are fundamentally incompatible with MultiPointTouchAreas, this icon was necessary.

Property Documentation

bool MultiTouchMenuIcon::buttonPressed

Whether or not the button is pressed.

real MultiTouchMenuIcon::iconHeight

Height of the whole icon graphic.

This property merely defines the graphical height, and not the height of the hit area, which is controlled by height.

Default Value:
height
real MultiTouchMenuIcon::iconHorizontalOffset

Horizontal offset of the center of the whole icon graphic.

Default Value:
0.0
real MultiTouchMenuIcon::iconImageHorizontalOffset

Horizontal offset of the center of the icon image.

Default Value:
0.0
real MultiTouchMenuIcon::iconImageVerticalOffset

Vertical offset of the center of the icon image.

Default Value:
0.0
string MultiTouchMenuIcon::iconSource

Source of the icon's graphic.

real MultiTouchMenuIcon::iconVerticalOffset

Vertical offset of the center of the whole icon graphic.

Default Value:
0.0
real MultiTouchMenuIcon::iconWidth

Width of the whole icon graphic.

This property merely defines the graphical width, and not the width of the hit area, which is controlled by width.

Default Value:
width