Resolution 2.0 Universal Binary for Mac Director 11
April 23rd, 2008 Posted in Resolution Xtra, XtrasResolution Xtra 2.0 for Mac. Yeah, it’s about time I wrote those words down. This Xtra has been re-written from the ground up to support Mac Intel version of Director.
The newest addition to the Resolution Xtra is a more accurate return from get_display_modes() and the inclusion of the #stretched property to the returned list. The #stretched property simply tells you if a resolution has the ability to be stretched on wide screen monitors. Here is an example snippet of my MacBook Pro display modes.
gRes = new (Xtra "resolution") put gRes.get_display_modes() -- [[1440, 900, 16], [1440, 900, 32], [1152, 720, 16], [1152, 720, 32],[1024, 768, 16], [1024, 768, 32], [1024, 768, 16, #stretched],[1024, 768, 32, #stretched], [1024, 640, 16], [1024, 640, 32],...
The function set_resolution() now has an extra Boolean parameter called stretch. As you might guess, if a resolution that you want to switch to has a stretch and non-stretched version this Boolean parameter will give you the option set it to stretched mode.
I’m debugging and testing another one of it’s new features. I will share it with you in my next post.