Turing Logo  

Designed for computer science instruction, Turing is simply the easiest, most fun, and most effective way of teaching programming concepts.


Quick Links
Home page of Holt Software Associates  | Home page of the Turing Programming Language, the fastest way to teach programming concepts  | Home page of Holt Software's Java products  | Home page of Ready to Program with Java(tm) Technology, a Java development environment designed for education  | Information about Holt Software's courses for teachers  | Information about how to contact Holt Software  | Information about how students can purchase Holt Software's books and software  | Information about how schools and bookstores can purchase Holt Software's books and software

Full screen graphics under WinOOT 3.1.1

[WinOOT 3.1.1 Only]


This document contains information about how to allow WinOOT to draw on the entire screen under WinOOT 3.1. Note, this feature is not available under Turing 4.0. Also note, there are some problems noted with this feature and the positions reported back from the Mouse commands.

WinOOT has had the ability to create a window whose drawing surface occupies the entire screen. This means that the drawing surface obscures the entire window. There are no window controls, window edges, editor windows or task bar visible. This may be desirable for a certain class of applications (games, etc.).

To create a full screen window, use the following code:

      var w : int := Window.Open ("fullscreen")
      Window.Set (w, "nocursor") % Turn off the blinking text cursor
  
Before the program terminates, you should close the window to allow the user to see the rest of the Windows environment.
      Window.Close (w)
  
When in the full screen mode, maxx and maxy are determined by the current screen resolution. You can't change the resolution within OOT (until we implement DirectX compatibility some time in the future). If you need a specified resolution, check maxx and maxy and output an appropriate message.
      var w : int := Window.Open ("fullscreen")
      Window.Set (w, "nocursor") % Turn off the blinking text cursor
      if maxx not= 1023 or maxy not= 767 then
          put "Please set the resolution to 1024x768 and start the program again"
          Window.Close (w)
          assert false
      end if
  
As might be obvious, running the debugger is not really possible when in full screen mode. If you need to stop the program, pressing Ctrl+C twice will stop the program and close the full screen window.
[ Turing Home ] * [ Top of Page ] * [ Feedback ]