Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Window Size
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SIXAXIS




PostPosted: Thu Feb 14, 2008 1:44 pm   Post subject: Window Size

Hi guys,

I made a program and I would like the window size to be fullscreen. Right now I am using

Turing:
setscreen ("graphics:800;600")


but I want to have the height and width to change with each monitor. e.g. the window will be 1024x768 at a 1024x768 monitor (fullscreen).

Turing:
const width : int := Config.Display (cdScreenWidth)
const height : int := Config.Display (cdScreenHeight)
Sponsor
Sponsor
Sponsor
sponsor
Cervantes




PostPosted: Thu Feb 14, 2008 1:48 pm   Post subject: Re: Window Size

You can't actually do full screen in Turing. The best you can do is make the window large so that it fills the whole screen. You'll still have the window title bar and the start menu on screen, though. If you've got variables width and height using Config.Display, then use them like this:

Turing:

setscreen("graphics:" + intstr(width) + ";" + intstr(height))
Nick




PostPosted: Thu Feb 14, 2008 2:20 pm   Post subject: RE:Window Size

or even simplier
Turing:
setscreen("graphics:max;max")

on the full screen topic why did holtsoft remove that?
BigBear




PostPosted: Thu Feb 14, 2008 3:21 pm   Post subject: Re: Window Size

I am guessing you can't do this in turing but would there be a way to change the resolution when you run your program then return it even if it is not full screen?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: