SystemInfo: DisplayDevice

The attribute orientation, brightness, contrast and blanked should be "readonly".

[NoInterfaceObject]
interface Display : Screen, OutputDevice {
    const unsigned short ORIENTATION_UNKNOWN = 0;
    const unsigned short ORIENTATION_LANDSCAPE = 1;
    const unsigned short ORIENTATION_PORTRAIT = 2;
    const unsigned short ORIENTATION_INVERTED_LANDSCAPE = 3;
    const unsigned short ORIENTATION_INVERTED_PORTRAIT = 4;
             attribute unsigned short orientation;
             attribute float          brightness;
             attribute float          contrast;
             attribute boolean        blanked;
    readonly attribute unsigned long  dotsPerInchW;
    readonly attribute unsigned long  dotsPerInchH;
    readonly attribute float          physicalWidth;
    readonly attribute float          physicalHeight;
};


Thanks
Dzung Tran

Received on Tuesday, 23 March 2010 22:56:37 UTC