Class: UICalibDialog

UICalibDialog

Provides a dialog used to calibrate the screen.


Example
// start calibration with a 60 second timeout
var ui = $wat.load('ui')[0];
var calib = ui.dialogs.calibrate;
calib.timeout = 60;
calib.exec();
// calibration is now finished

Members


timeout :number

Gets/sets the idle timeout in seconds. The dialog will automatically close if the screen has not been touch for the idle timeout.

Type:
  • number
Since:
  • 1.0
Default Value:
  • 10

Methods


exec()

Launches the dialog as a modal dialog and returns when the calibration is complete or times out.

Since:
  • 1.0