Control(); $cmd = $control->CanFocusCon() ? 'data-on-mousedown="controlCmd" data-on-mouseup="controlCmd"' : 'data-on-click="controlCmd"'; ob_start(); ?>
CanAutoFocus() ) { ?>
Control(); $cmd = $control->CanZoomCon() ? 'data-on-mousedown="controlCmd" data-on-mouseup="controlCmd"' : 'data-on-click="controlCmd"'; ob_start(); ?>
CanAutoZoom() ) { ?>
Control(); $cmd = $control->CanIrisCon() ? 'data-on-mousedown="controlCmd" data-on-mouseup="controlCmd"' : 'data-on-click="controlCmd"'; ob_start(); ?>
CanAutoIris() ) { ?>
Control(); $cmd = $control->CanWhiteCon() ? 'data-on-mousedown="controlCmd" data-on-mouseup="controlCmd"' : 'data-on-click="controlCmd"'; ob_start(); ?>
CanAutoWhite() ) { ?>
Control(); ob_start(); ?>
CanPan(); $hasTilt = $control->CanTilt(); $hasDiag = $hasPan && $hasTilt && $control->CanMoveDiag(); $cmd = $control->CanMoveCon() ? 'data-on-mousedown="controlCmd" data-on-mouseup="controlCmd" ' : 'data-on-click="controlCmd" '; ?>
Control(); // MAX_PRESETS IS PER LINE define('MAX_PRESETS', '12'); $sql = 'SELECT * FROM ControlPresets WHERE MonitorId = ?'; $labels = array(); foreach ( dbFetchAll($sql, NULL, array($monitor->Id())) as $row ) { $labels[$row['Preset']] = $row['Label']; } $presetBreak = (int)(($control->NumPresets()+1)/((int)(($control->NumPresets()-1)/MAX_PRESETS)+1)); ob_start(); ?>
NumPresets(); $i++ ) { ?>
HasHomePreset() ) { ?> CanSetPresets() ) { ?>
Control(); ob_start(); ?>
CanWake() ) { ?> CanSleep() ) { ?> CanReset() ) { ?> CanReboot() ) { ?>
Control(); $cmds = $control->commands(); ob_start(); ?>
CanFocus() ) echo controlFocus($monitor, $cmds); if ( $control->CanZoom() ) echo controlZoom($monitor, $cmds); if ( $control->CanIris() ) echo controlIris($monitor, $cmds); if ( $control->CanWhite() ) echo controlWhite($monitor, $cmds); if ( $control->CanMove() ) { ?>
CanWake() || $control->CanSleep() || $control->CanReset() ) echo controlPower($monitor, $cmds); if ( $control->HasPresets() ) echo controlPresets($monitor, $cmds); ?>