ivansafrin/Polycode — pull request #122 by mcclure (2012-06-28 02:54:14+00:00)
Title: getScreeninfo() method / ability to set "full screen + current resolution"

Adds a CoreServices::getScreenInfo() which fetches screen width, height and refresh rate in a cross-platform way. If a Core object is given (0,0) as the screen coordinates in its constructor and also full screen mode is chosen, use getScreenInfo() to set the screen to the current resolution exactly.

Uses (with permission) Average Software's screen interrogation routines for Mac, Linux and Windows.

I have tested this code on all three platforms.