ivansafrin/Polycode — pull request #42 by mcclure (2011-11-12 06:03:19+00:00)
Title: Screen height, width query function / allow "0,0" size with fullscreen

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 for Mac, but not Windows, Linux or any other platform.