Difference between revisions of "SHIP:Node:display"

From Serious Documentation
Jump to: navigation, search
(Properties)
(Properties)
Line 23: Line 23:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| name|| {{DataType|name}} || Any valid node name
+
|{{:SHIP:Property:display:name}}
 
|-
 
|-
| width|| {{DataType|dimension}} || In pixels, the width of the display/touch panel in the orientation you desire
+
|{{:SHIP:Property:display:width}}
 
|-
 
|-
| height||  {{DataType|dimension}} || In pixels, the height of the display/touch panel in the orientation you desire
+
|{{:SHIP:Property:display:height}}
 
|-
 
|-
| glass||  {{DataType|reference}} || The name of the attached {{Node|glass}} in the {{Node|platform}}
+
|{{:SHIP:Property:display:glass}}
 
|-
 
|-
| touch||  {{DataType|reference}} || The name of the attached {{Node|touch}} in the {{Node|platform}}
+
|{{:SHIP:Property:display:touch}}
 +
|-
 +
|{{:SHIP:Property:display:enabled}}
 
|}
 
|}
  
 
== Examples ==
 
== Examples ==

Revision as of 06:46, 28 November 2012

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.

Examples