Difference between revisions of "Page"
Line 1: | Line 1: | ||
[[Category:UI Objects]] | [[Category:UI Objects]] | ||
− | A project page. There are three types of pages: menu,page,popup. | + | 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 == | == Menu == | ||
Line 29: | Line 30: | ||
A generic page, identified by a name. | A generic page, identified by a name. | ||
If the project is orientation-enabled, the orientation can be specified (if omitted, the default is landscape). | If the project is orientation-enabled, the orientation can be specified (if omitted, the default is landscape). | ||
− | |||
=== Parameters === | === Parameters === | ||
*'''page type''': | *'''page type''': | ||
Line 56: | Line 56: | ||
A popup page, identified by a name and a type. | 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). | If the project is orientation-enabled, the orientation can be specified (if omitted, the default is landscape). | ||
− | |||
=== Parameters === | === Parameters === | ||
*'''page type''': | *'''page type''': |
Revision as of 14:08, 7 January 2014
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.
Contents
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
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)