Pages

From HSYCO
Revision as of 14:08, 7 January 2014 by Hsyco (talk | contribs)
Jump to navigation Jump to search

A project page. There are three types of pages: menu, page, popup. For page and popup types, some names are reserved and can't be used, not even as the initial part of a longer name. The reserved names are: menu, temp, music, cameras, timer, logout. While it is normal to have more link objects directed to the same page, it is an error to have more than one (page) object with the same name.

Menu

Main page of the project. There has to be one menu in each project. There can be a landscape and a portrait version, specified with an attribute.

Parameters

  • gestures: list of gestures that can be performed on the page (see gestures)

Syntax

(menu) defines the beginning of the page. Orientation is specified as (menu#landscape) or (menu#portrait) when the project is orientation-enabled. (endofmenu) defines the end of the page.

(menu[#<orientation>])
...
(endofmenu)

Eg.

(menu)
...
(endofmenu)

(menu#portrait)
...
(endofmenu)

Page

A generic page, identified by a name. If the project is orientation-enabled, the orientation can be specified (if omitted, the default is landscape).

Parameters

  • page type:
  • orientation: if the project is orientation enabled, specifies the orientation (landscape or portrait)
  • gestures: list of gestures that can be performed on the page (see gestures)

Syntax

(page) defines the beginning of the page. Orientation is specified as (page#landscape) or (page#portrait) when the project is orientation-enabled. (endofpage) defines the end of the page.

(page[#<orientation>])
...
(endofpage)

Eg.

(page)
...
(endofpage)

(page#portrait)
...
(endofpage)

UI Attributes

UI Object Attributes (Page)

Popup

A popup page, identified by a name and a type. If the project is orientation-enabled, the orientation can be specified (if omitted, the default is landscape).

Parameters

  • page type:
  • orientation: if the project is orientation enabled, specifies the orientation (landscape or portrait)
  • gestures: list of gestures that can be performed on the page (see gestures)

Syntax

(page) defines the beginning of the page. Orientation is specified as (page#landscape) or (page#portrait) when the project is orientation-enabled. (endofpage) defines the end of the page.

(page[#<orientation>])
...
(endofpage)

Eg.

(page)
...
(endofpage)

(page#portrait)
...
(endofpage)

UI Attributes

UI Object Attributes (Page)