mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Adds the sdl implementation for all used PlatformWindowManager monitor functions. [This unit test](https://github.com/GarageGames/Torque3D/blob/development/Engine/source/windowManager/test/windowManagerTest.cpp#L28) will now pass for the SDL platform. Here is the equivalent in TorqueScript to test the functions via the Canvas object:```//Canvas.listDisplays(); function Canvas::listDisplays(%this) { %count = %this.getMonitorCount(); echo(%count SPC "monitor(s) detected."); for (%i = 0; %i < %count; %i++) { echo("Monitor #" @ (%i + 1) SPC %this.getMonitorName(%i) @ ": " @ %this.getMonitorRect(%i)); } }``` |
||
|---|---|---|
| Engine | ||
| My Projects | ||
| Templates | ||
| Tools | ||
| .gitattributes | ||
| .gitignore | ||
| .travis.yml | ||
| allProjects.txt | ||
| CMakeLists.txt | ||
| CONTRIBUTING.md | ||
| generateAllProjects.bat | ||
| LICENSE.md | ||
| projects.xml | ||
| README.md | ||
Torque 3D
MIT Licensed Open Source version of Torque 3D from GarageGames
More Information
Pre-compiled Version
In addition to GitHub we also have a couple of pre-packaged files for you to download if you would prefer to not compile the code yourself. They are available from the downloads page on the wiki.