This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How can I get the size of display?


How can I get the size of display?

Postby Nomad » Jan 23, 2007 @ 3:43pm

I want to make multi-resolutional application (for 320x240 and 640x480), but can't find anything about determining the size of display at runetime by means of GledPlay.

Must I use Win32 features for this?
Nomad
pm Member
 
Posts: 76
Joined: Oct 28, 2006 @ 8:21pm
Location: Ukraine, Kiev


Postby Sergio » Jan 24, 2007 @ 11:52pm

Hi Nomad,
You could set it up to run on 640x480, and then ask for the size of the back buffer surface.
You you want to know it before you execute the run method, then you will need to use som win32 functionality.

Best regards,
Sergio.
Sergio Fierens

User avatar
Sergio
pm Member
 
Posts: 97
Joined: Mar 17, 2006 @ 2:43pm


Postby Nomad » Jan 25, 2007 @ 12:11am

Nomad
pm Member
 
Posts: 76
Joined: Oct 28, 2006 @ 8:21pm
Location: Ukraine, Kiev


Return to GledPlay


Sort


Forum Description

Game Engine for Embedded Devices. Simple, complete, and powerful. Focused on the game.

Moderators:

Matias, Sergio

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron