Computer Science Canada Full Screen |
Author: | evan467 [ Sun Jan 10, 2010 2:35 pm ] |
Post subject: | 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 |
Author: | syntax_error [ Sun Jan 10, 2010 2:43 pm ] | ||
Post subject: | Re: Full Screen | ||
|
Author: | Euphoracle [ Sun Jan 10, 2010 7:26 pm ] |
Post subject: | 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. |
Author: | ProgrammingFun [ Mon Jan 11, 2010 7:53 pm ] | ||||
Post subject: | Re: Full Screen | ||||
syntax_error wrote:
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:
Hope this helps. ![]() |
Author: | Ktomislav [ Mon Jan 11, 2010 8:01 pm ] | ||
Post subject: | Re: Full Screen | ||
You can fill it even more by doing this:
|
Author: | ProgrammingFun [ Mon Jan 11, 2010 10:06 pm ] | ||
Post subject: | Re: Full Screen | ||
Ktomislav wrote: 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 ![]() |
Author: | syntax_error [ Mon Jan 11, 2010 10:36 pm ] |
Post subject: | 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. |
Author: | Ktomislav [ Tue Jan 12, 2010 10:01 am ] | ||
Post subject: | 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:
You'll have to figure out the rest by yourself. |
Author: | mirhagk [ Tue Jan 12, 2010 12:57 pm ] | ||
Post subject: | RE:Full Screen | ||
the best way to do it would be create a new draw function that accepts a real number thats >0 and <1. Then it does the following to determine the location
|
Author: | ProgrammingFun [ Tue Jan 12, 2010 7:33 pm ] |
Post subject: | RE:Full Screen |
Thanks for the help. |