home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / basic / QBSCR20.ZIP / INFO3D.TXT < prev    next >
Encoding:
Text File  |  1992-07-08  |  1.9 KB  |  48 lines

  1.  
  2. New to the QBSCR Screen Routines as of version 2.0
  3. are the 3D routines.  They include 3D boxes, 3D
  4. buttons, and a new event handling routine called
  5. GetEvent.  And the best part is it all runs in text
  6. mode -- no graphics modes required!
  7.  
  8. I'm sure you'd like to know how to use this text 
  9. viewing box (created using the QBSCR ViewList
  10. routine).  Here's what you can do and how to do it:
  11.  
  12.   Function...                       ...How to do it
  13.   -------------------------------------------------
  14.   Move up one line . . . . . . . . . . . . Up Arrow
  15.   Move down one line . . . . . . . . . . Down Arrow
  16.   Move up one page . . . . . . . . . . . . . . PgUp
  17.   Move down one page . . . . . . . . . . . . . PgDn
  18.   Move to the beginning  . . . . . . . . . . . Home
  19.   Move to the end  . . . . . . . . . . . . . .  End
  20.   Quit reading this drivel and get
  21.     to the fun stuff . . . . . . . . . . . . .  Esc
  22.  
  23. The new 3D routines are implemented such that boxes
  24. and buttons on the screen appear to be either
  25. raised or depressed into the screen.  This is a-
  26. chieved by shading the windows and buttons with
  27. respect to a common light source (in our case, the
  28. light source comes from the upper-left corner of the
  29. screen).  By drawing the top and left sides of the
  30. boxes and buttons bright white, and the bottom and
  31. right sides black, the window appears to be raised
  32. up from the screen surface.
  33.  
  34. The best part of this is the 3D routines are still
  35. running in text mode.  No graphics required!  While
  36. they are nifty to look at, they are also easy to
  37. deal with.
  38.  
  39. If you have a color monitor, you have noticed that
  40. this demo was implemented using the new 3D routines.
  41. If you like this demo, you'll be glad to know your
  42. programs can easily look like this.
  43.  
  44. For those of you with monochrome monitors, there's
  45. not much that can be done in the realm of 3D inter-
  46. faces.  Sorry 'bout that, but mono just doesn't
  47. have the capabilities.
  48.