Difference between revisions of "SHIP:Node:display"

From Serious Documentation
Jump to: navigation, search
(Properties)
Line 20: Line 20:
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
! scope="col" | Property
 
! scope="col" | Property
 +
! scope="col" | Data Type
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| name|| Any valid node name.
+
| name|| {{DataType|name}} || Any valid node name
 +
|-
 +
| width|| {{DataType|dimension}} || In pixels, the width of the display/touch panel in the orientation you desire
 +
|-
 +
| height||  {{DataType|dimension}} || In pixels, the height of the display/touch panel in the orientation you desire
 +
|-
 +
| glass||  {{DataType|reference}} || The name of the attached {{Node|glass}} in the {{Node|platform}}
 +
|-
 +
| touch||  {{DataType|reference}} || The name of the attached {{Node|touch}} in the {{Node|platform}}
 
|}
 
|}
 
[[ToDo:Add box model properties in a template and include here]]
 
  
 
== Examples ==
 
== Examples ==

Revision as of 07:49, 27 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
name name Any valid node 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 The name of the attached glass in the platform
touch reference The name of the attached touch in the platform

Examples