Project

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

A project defines a custom user interface, that allows the user to interact with the system. Each project defines one or more pages that can contain UI Objects.

Parameters

  • skin: defines the graphical appearance of the project
  • language: the language used for the default texts
  • header: the label appearing as page title on the browser
  • size: the project size: width and height. If the orientation mode is enabled, a second set of width and height is required. The first set refers to landscape mode, while the second to portrait mode
  • device image:enables or disables the camera or image pop-ups associated to devices in the interface, as configured in the systemtopo.txt file
  • kiosk:
  • scale:
  • locked:
  • background:
  • camera list:
  • camera overlay:
  • camera grid headers:
  • style:
  • uiset:

Syntax

The project's parameter are defined through meta objects. After all the meta and before the declaration of [[Page|pages] and UI Objects, a header object is declared that specifies the project's header.

(#skin <skin>)
(#language <language>)
(#size <width>x<height>; <width>x<height>)
(#scale 2)
(#cameralist "london","officeopenspace")
(#cameragridlist "123")
(#cameraoverlay "123","","","","")
(#style body-background-color=)
(#uiset autoreload=false)
(header All)

E.g.

(#skin blue)
(#language cn)
(#size 890x640; 1000x2000)
(#scale 2)
(#cameralist "london","officeopenspace")
(#cameragridlist "123")
(#cameraoverlay "123","","","","")
(#style body-background-color=)
(#uiset autoreload=false)
(header All)