Buttonobject – CUE Design Director Script Language User Manual

Page 45

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 45 of 94

3.2.4.

ButtonObject

Object inherits from Efekt3DobjectA, FeedBackObjectA and VisibilityObjectA object.

Note: the object contains two references to ObjectLookA object type. Each of these objects contain
OnSetBitmap event. In the ButtonObject object implementation those two ObjectLookA object events
have been joined into one that occurs directly above the button i.e. through ButtonObject object.

It contains:

Property

Type

Description

ButtonCode

uint

It is a number that when a button is pressed is used for build up of the
button ID (Button ID = Code Offset + ButtonCode) transmits through the
communication channel to the control unit.

Down

ObjectLookObjectA

It is the way in which the button should be displayed in down position
(when Value value is not a zero or there is a finger on the button at the
moment). The property is to read only; the content of the object cannot be
changed.

EbackColor

ColorObject

The darker color of the effect color. Reference to a real color, it can never
be NoObject, and then the color would be transparent. The objects of the
color can be the part of palette that has been defined in the design
environment.

EColor

ColorObject

The lighter color of the effect color. Referent to a real color, it can never be
NoObject then the color would be transparent. The object of the color can
be the part of palette that has been defined in the design environment

EfektType

uint

The type of 3D effect. The values are defined 0..for no effect, 1..raised,
2..inset. To insert different values is not checked, what will appear is not
defined.

EfektWidth

uint

The width of the effect. It is only used when the EfektType type is a zero.

Father IdentificationObjectA

The

father of the object. For the button itself, for instance it is the board

that it is lying on. For the window and the page (as well as for the ”free”
objects – i.e. a picture, font or a color) the value is NoObject. The property
is for reading only.

FeedAddr

uint

Number i.e. address of the variable (for FeedType type 2 and 3) or the
value (for FeedType type 1)

FeedType

uint

The address stored in the object. According to the values it is: 0. no
address, that means other properties have no meaning 1. the address of
value, through this value the feedback is realized 2. the address of
variable 3. the address of variable with value condition

FeedValue

uint

It is only defined for FeedType type 3. Then the feedback is defined not
only through the variable but also through its actual value. Here the
variable value is stored that it has to have, so the feedback would set the
object value.

Group

uint

Reference to a group of buttons that belongs in it. If the value is NoObject
then the button will not belong into any group. The property is to read only.

Height

uint

The total object height. For the page the property cannot be changed

Name

string*50

The object name. The property is for reading only. The value is default.

Tag

uint

Free space where anyone, while the program is running, can note
something. For the virtual world itself it has no importance. For the design
environment it is forbidden. At the beginning the value is zero here.

Top

IdentificationObjectA Top object for an object. This means an object that has no father – that is

a page or a window. For the ”free” objects – i.e. a picture, font, color – the
value is NoObject.

Advertising