PureBasic - Idea for ScreenLib:

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by MrVainSCL.

You want to centre your application on desktop screen or you want to open a big screen for your game or whatever...? With the following commands it would be very easy to centre all stuff on desktop and if you want to open a big screen, you can test if the gfx-card support that mode... :wink:


Add Features: Description:
----------------------------------------------------
ScreenWidth() Returns the width of desktop screen
ScreenHeight() Returns the height of desktop screen
ScreenModeExist(#width,height,#depth) Returns true or false... Check if
GfxCard support the mode :wink:


MrVainSCL!