Difference between revisions of "SHIP:Node:display"

From Serious Documentation
Jump to: navigation, search
(Parent Nodes)
Line 1: Line 1:
 
[[SHIP:Node|Node Home]]
 
[[SHIP:Node|Node Home]]
 
__TOC__
 
__TOC__
 +
{| class="wikitable" style="margin: 1em auto 1em auto;"
 +
! scope="col" | Node Type
 +
! scope="col" | Description
 +
|-
 +
|<onlyinclude>{{Node|display}}{{#if: {{{1|}}}|{{{1}}} }}||Contains the visual GUI layout for a specific LCD display/touch set.</onlyinclude>
 +
|}
 
The {{Node|display}} node in the {{Node|layout|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 {{Node|display}} node encompasses one set.  If the [[SIM]] or hardware platform supports multiple display/touch sets, there will be multiple {{Node|display}} nodes under the {{Node|layout}} node.
 
The {{Node|display}} node in the {{Node|layout|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 {{Node|display}} node encompasses one set.  If the [[SIM]] or hardware platform supports multiple display/touch sets, there will be multiple {{Node|display}} nodes under the {{Node|layout}} node.
  

Revision as of 06:06, 25 January 2013

Node Home

Node Type Description
display Contains the visual GUI layout for a specific LCD display/touch set.

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.

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