Difference between revisions of "CameraLink"

From HSYCO
Jump to navigation Jump to search
Line 1: Line 1:
 
{{UI Object Header}}
 
{{UI Object Header}}
[[Category:INCOMPLETE]]
 
 
A button, graphically identical to [[link]], to control the address of a [[camera]] or [[camerapanel]] object.
 
A button, graphically identical to [[link]], to control the address of a [[camera]] or [[camerapanel]] object.
  
Line 8: Line 7:
 
*'''color''': button color, see color attribute for possible values  
 
*'''color''': button color, see color attribute for possible values  
 
*'''label''': the text label on the button. Can contain HTML tags
 
*'''label''': the text label on the button. Can contain HTML tags
 +
*'''destination panel id''': optional. If set to a panel id, will show the camera on that camera panel
  
 
== Syntax ==
 
== Syntax ==
  (cameralink <address>; <position>; <color>; <label>)
+
  (cameralink <address>; <position>; <color>; <label>; <destination panel id>)
 
E.g.
 
E.g.
  (button autom.1; x10y20; Front Door)
+
  (cameralink kitchen; x20y20; gr; Kitchen; campanel1)
  
 
== UI Attributes ==
 
== UI Attributes ==
 
{{:UI Object Attributes (Common)}}
 
{{:UI Object Attributes (Common)}}

Revision as of 11:35, 22 January 2014

Note  For a description and a complete list of UI Objects, see UI Objects.

A button, graphically identical to link, to control the address of a camera or camerapanel object.

Parameters

  • address: the name of the camera, as in the Cameras parameter in hsyco.ini, or the name of a camera grid, defined as gridN, where N is the grid number assigned in hsyco.ini
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • color: button color, see color attribute for possible values
  • label: the text label on the button. Can contain HTML tags
  • destination panel id: optional. If set to a panel id, will show the camera on that camera panel

Syntax

(cameralink <address>; <position>; <color>; <label>; <destination panel id>)

E.g.

(cameralink kitchen; x20y20; gr; Kitchen; campanel1)

UI Attributes

UI Object Attributes (Common)