Difference between revisions of "CameraLink"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{UI Object Header}} | {{UI Object Header}} | ||
− | + | A button, graphically identical to [[link]], that controls the address of a [[camera]] or [[camerapanel]] object. | |
− | A button, graphically identical to [[link]], | ||
− | |||
− | |||
− | |||
== Parameters == | == Parameters == | ||
− | *'''address''': | + | *'''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 |
− | *''' | + | {{UI Object Parameter (position)}} |
+ | *'''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>; <destination panel id>) |
E.g. | E.g. | ||
− | ( | + | (cameralink kitchen; x20y20; gr; Kitchen; campanel1) |
== UI Attributes == | == UI Attributes == | ||
{{:UI Object Attributes (Common)}} | {{:UI Object Attributes (Common)}} |
Latest revision as of 11:35, 22 January 2014
A button, graphically identical to link, that controls 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)