Basic-Widgets

basic.checkbox basic.color basic.flip basic.glue basic.icon basic.input basic.listview basic.offset basic.print basic.select basic.shutter basic.slider basic.roundslider basic.stateswitch basic.symbol basic.tank basic.trigger basic.window basic.shifter


basic.shutter

Displays a shutter control

Parameters
{{ basic.shutter(id, item_pos, item_angle, value_top, value_bottom, step, mode, background) }}
id
unique id for this widget (optional)
item_pos
an item for the position of the blinds
item_angle
an item for the angle of the blinds (optional)
value_top
the value for opened (optional, default 0)
value_bottom
the value for closed (optional, default 255)
step
step between two values (optional, default 5)
mode
'half' blade turns from -1 to +1, 'full' blade turns from 0 to +1 (optional, default 'half')
background
background image url (relative to smartVISU directory or absolute); optimal size is 100px x 180px (optional)
Examples
{{ basic.shutter('', 'bath.blind.pos', 'bath.blind.angle') }}
{{ basic.shutter('', 'bath.blind.pos', 'bath.blind.angle', 99, 0, 1, '', 'pics/shutter/shutter_cliff.png') }}
up/down
 
angle
up/down
 
angle

Author: Martin Gleiss and others
inspired by Jörg Gutowski

Widgets

Design

Misc