SHIP:Node:display

From Serious Documentation
Revision as of 07:50, 29 November 2012 by Admin (talk | contribs) (Properties)
Jump to: navigation, search

Node Home

The display node in the Layout Area within a SHIP GUI contains the visual GUI layout for a specific LCD display/touch set. Future SHIP versions support multiple display/touch sets within one SHIP environment: each display node encompasses one set. If the SIM or hardware platform supports multiple display/touch sets, there will be multiple display nodes under the layout node.

The names of the display nodes are traditionally d0, d1, etc., but this is not mandated. The name can be set to any valid name, such as mainDisplay, or dMain for example.

Parent Nodes

The following nodes are permitted to hold this node:

Child Nodes

The following nodes are permitted to exist within this node:

Properties

Property Data Type Description
SHIP:Property:display:name
width Dimension In pixels, the width of the display/touch panel in the orientation you desire.
height Dimension In pixels, the height of the display/touch panel in the orientation you desire.
glass Reference:glass The name of the attached glass in the platform
touch Reference:touch The name of the attached touch in the platform
enabled Boolean If true (default), listeners within this display are enabled.

*available at SHIPEngine run time only and cannot be set in SHIPTide. Use a Sail script at shiplaunch time if this property needs to be set when the GUI starts to run. **available only in SHIPTide; cannot be accessed from Sail scripts at run-time.

Examples