Difference between revisions of "Pages"

From HSYCO
Jump to navigation Jump to search
(Created page with "Category:UI Objects")
 
Line 1: Line 1:
 
[[Category:UI Objects]]
 
[[Category:UI Objects]]
 +
A project page. There are three types of pages: menu,page,popup.
 +
 +
== Menu ==
 +
[[Category:UI Objects]]
 +
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).
 +
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.
 +
=== 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).
 +
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.
 +
=== 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)}}

Revision as of 14:06, 7 January 2014

A project page. There are three types of pages: menu,page,popup.

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). 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.

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). 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.

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)