deanm / plask

Plask is a multimedia programming environment.
www.plask.org
Other
443 stars 38 forks source link

List screens #32

Closed vorg closed 10 years ago

vorg commented 10 years ago

Export Screen object with list function returning array of available screens:

plask.Screen.list(); //[ { id: 0, width: 1440, height: 900, highdpi: 2 } ]
deanm commented 10 years ago

d727b5c3aedc7e104da122ba5f434b589f278200

vorg commented 10 years ago

I agree that new wrapper is not necessary. Just didn't want to mess up existing code. The way you did it works perfect for me. Thanks.