W3C home > Mailing lists > Public > public-device-apis@w3.org > March 2010

SystemInfo: DisplayDevice

From: Tran, Dzung D <dzung.d.tran@intel.com>
Date: Tue, 23 Mar 2010 15:56:03 -0700
To: Max Froumentin <maxfro@opera.com>
CC: "public-device-apis@w3.org" <public-device-apis@w3.org>
Message-ID: <753F67ADE6F5094C9F1DBA00D1BAA8D325509DE228@orsmsx501.amr.corp.intel.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:07 GMT