
-----------------------------------
evan467
Sun Jan 10, 2010 2:35 pm

Full Screen
-----------------------------------
is there any way turing can find the resolution of the screen and the program will become fullscreen? such as
setscreen("graphics :fullx;fully") or something like that

-----------------------------------
syntax_error
Sun Jan 10, 2010 2:43 pm

Re: Full Screen
-----------------------------------
[code]

setscreen ("graphics:max;max,")
[/code]

-----------------------------------
Euphoracle
Sun Jan 10, 2010 7:26 pm

RE:Full Screen
-----------------------------------
Turing cannot make it true full screen, but you can make it fill as much as it can by doing that ^

and also using nobuttonbar.

-----------------------------------
ProgrammingFun
Mon Jan 11, 2010 7:53 pm

Re: Full Screen
-----------------------------------



This is not very efficient because your output will be disoriented when you change monitors.
This should only be used if you are creating a simple program which only outputs text.

However, as Euphoracle said, you can make it fill as much as possible by using the following:



setscreen ("graphics:number of x pixels;number of y pixels, position:center;center")   % basic syntax

setscreen ("graphics:1010;690, position:center;center")   % example



Hope this helps.  8-)

-----------------------------------
Ktomislav
Mon Jan 11, 2010 8:01 pm

Re: Full Screen
-----------------------------------
You can fill it even more by doing this:
[code]View.Set ("graphics:max;max,nobuttonbar")[/code]

-----------------------------------
ProgrammingFun
Mon Jan 11, 2010 10:06 pm

Re: Full Screen
-----------------------------------

You can fill it even more by doing this:


True, but then how can you specify the location of a picture for example, so that it will appear on the same location on the screen of every monitor?

And what does nobuttonbar do B.T.W  :oops:

-----------------------------------
syntax_error
Mon Jan 11, 2010 10:36 pm

RE:Full Screen
-----------------------------------
nobuttonbar, means you will not see the button bar on the top of the executed program.

Instead of using real values use the maxx and maxy and play around with it. In short, use variables instead of concrete number.

-----------------------------------
Ktomislav
Tue Jan 12, 2010 10:01 am

Re: Full Screen
-----------------------------------
For example to place a picture in the center of the screen (size of monitor doesn't matter) you can you this:
Pic.Draw (picture, (maxx div 2) - (Pic.Width (picture) div 2), (maxy div 2) - (Pic.Height (picture) div 2), picCopy)
You'll have to figure out the rest by yourself.

-----------------------------------
mirhagk
Tue Jan 12, 2010 12:57 pm

RE:Full Screen
-----------------------------------
the best way to do it would be create a new draw function that accepts a real number thats >0 and 