home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p069 / 3.img / SLIDE.LIF / SLIDE.DOC next >
Encoding:
Text File  |  1992-03-25  |  7.9 KB  |  258 lines

  1.  
  2.                       The SLIDE 386 program   v5.0  03/26/92 
  3.  
  4. Overview
  5.  
  6.    The SLIDE 386 program displays slide files created with the CADKEY ALT-F
  7.    command (Sn.sld files). Additionally, other graphics commands are
  8.    available. All commands are processed in batch mode through a 
  9.    command file, which is specified as an argument when SLIDE is run.
  10.  
  11. Installing SLIDE 386
  12.  
  13.    The SLIDE 386 program is automatically installed into the directory where 
  14.    your CADKEY v5.0 program resides.  The SLIDE 386 program uses the CADKEY
  15.    v5.0 CONFIG.DAT file to determine which graphics device is being used 
  16.    and uses the same resident graphics device driver used by the CADKEY 
  17.    resident driver version. Don't forget that all slide files used with the 
  18.    SLIDE 386 program must have been created by either CADKEY v5.0 or SLIDE
  19.    386 on the same graphics device that is being used for their display.
  20.  
  21. 5.0 Upgrade Notes:
  22.  
  23.    Some changes were made in this version of the SLIDE program. They are:
  24.  
  25.       1) The SLIDE program is now a 386 program.  This version of
  26.          SLIDE is only compatiable with CADKEY v5.0 386.
  27.  
  28. Using SLIDE 386
  29.  
  30.    The command sequence for invoking SLIDE 386 is:
  31.  
  32.       SLIDE name
  33.  
  34.          Where:
  35.  
  36.             name = file name (including pathname) of the command file
  37.                    to be processed
  38.  
  39.    The SLIDE 386 program may be exited at any time by pressing the ESC key.
  40.  
  41.    The following commands are supported by the SLIDE 386 program and may be
  42.    used in the command file:
  43.  
  44.       BOX - draw a box in the current active graphics window.
  45.  
  46.          Format:
  47.  
  48.             BOX color x1 y1 x2 y2
  49.  
  50.                color = color number between 0 and 255 to draw box in.
  51.               x1 = x min value of box, as a real number between 0 and 1,
  52.                    where 0 is far left of window.
  53.               y1 = y min value of box, as a real number between 0 and 1,
  54.                    where 0 is bottom of window.
  55.               x2 = x max value of box, as a real number between 0 and 1,
  56.                    where 0 is far right of window.
  57.               y2 = y max value of box, as a real number between 0 and 1,
  58.                    where 0 is top of window.
  59.  
  60.  
  61.       CHAIN - close the current command file and execute another specified
  62.               command file.
  63.  
  64.          Format:
  65.  
  66.             CHAIN name
  67.  
  68.                name = file name (including pathname) of the command file 
  69.                       to be executed.
  70.  
  71.  
  72.       CLEAR - clear the screen.
  73.  
  74.          Format:
  75.  
  76.             CLEAR color
  77.  
  78.                color = color number between 0 and 255 to clear the screen
  79.                        with.
  80.  
  81.  
  82.       FILLBOX - draw a filled box in the current active graphics
  83.                 window.
  84.  
  85.          Format:
  86.  
  87.             FILLBOX color x1 y1 x2 y2
  88.  
  89.                color = color number between 0 and 255 to fill box with.
  90.               x1 = x min value of box, as a real number between 0 and 1,
  91.                    where 0 is far left of window.
  92.               y1 = y min value of box, as a real number between 0 and 1,
  93.                    where 0 is bottom of window.
  94.               x2 = x max value of box, as a real number between 0 and 1,
  95.                    where 1 is far right of window.
  96.               y2 = y max value of box, as a real number between 0 and 1,
  97.                    where 1 is top of window.
  98.  
  99.  
  100.       GOSUB - execute another command file, and return
  101.               processing to current command file after new command
  102.               file complete.  Limited to one level of gosub from main
  103.           command file.
  104.  
  105.          Format:
  106.  
  107.             GOSUB name
  108.  
  109.                name = file name (including pathname) of the command file 
  110.                       to be executed.
  111.  
  112.  
  113.       PAUSE - pause (halt) program operation until a key is hit.
  114.  
  115.          Format:
  116.  
  117.             PAUSE
  118.  
  119.  
  120.       REM - remark line in a slide file.
  121.  
  122.          Format:
  123.  
  124.             REM
  125.  
  126.       REPEAT - repeat the commands in the current command file from the    
  127.                beginning of the file.
  128.  
  129.          Format:
  130.  
  131.             REPEAT
  132.  
  133.       SLIDE - retrieve and display a slide file.
  134.  
  135.          Format:
  136.  
  137.             SLIDE name
  138.  
  139.                name = file name (including pathname) of the slide file.
  140.  
  141.  
  142.       SAVESLIDE - save the current screen as a slide file.
  143.  
  144.          Format:
  145.  
  146.             SAVESLIDE name
  147.  
  148.                name = file name (including pathname) for the slide file.
  149.  
  150.  
  151.  
  152.       SETPAL - set a single color in the graphics palette.
  153.  
  154.          Format:
  155.  
  156.         SETPAL palnum red green blue
  157.  
  158.            sred = red value. (real number between 0.0 and 1.0)
  159.            sgreen = green value. (real number between 0.0 and 1.0)
  160.            sblue = blue value. (real number between 0.0 and 1.0)
  161.  
  162.  
  163.       SETRANGE - set a range of colors in the graphics palette.
  164.  
  165.          Format:
  166.  
  167.             SETRANGE spal npal sred sgreen sblue ered egreen eblue
  168.  
  169.                spal = starting palette index in range to set. (0-255)
  170.                npal = number of colors to set in the palette.
  171.            sred = starting red value (real number between 0.0 and 1.0)
  172.                   in range to set.
  173.            sgreen = starting green value (real number between 0.0 and 1.0)
  174.                     in range to set.
  175.            sblue = starting blue value (real number between 0.0 and 1.0)
  176.                    in range to set.
  177.            ered = ending red value (real number between 0.0 and 1.0)
  178.                   in range to set.
  179.            egreen = ending green value (real number between 0.0 and 1.0)
  180.                     in range to set.
  181.            eblue = ending blue value (real number between 0.0 and 1.0)
  182.                    in range to set.
  183.  
  184.  
  185.       TEXT - draw a text string in a current active text window.
  186.  
  187.          Format:
  188.  
  189.             TEXT  wnum row col string
  190.  
  191.               wnum = text window number (1-7) of a previously
  192.                            opened text window.
  193.           row = row of the text window to position first
  194.                         character of the string.  Rows are 0 relative 
  195.             from the top of the text window.
  196.           col = column of the text window to position first
  197.                         character of the string.  Cols are 0 relative 
  198.             from the left of the text window.
  199.  
  200.       TEXTWIN_CLEAR - clears the contents of a text window.
  201.  
  202.          Format:
  203.  
  204.             TEXTWIN_CLEAR  wnum
  205.  
  206.               wnum = text window number (1-7) of a current active
  207.                          text window.
  208.  
  209.  
  210.       TEXTWIN_CLOSE - close and clears a text window.
  211.  
  212.          Format:
  213.  
  214.             TEXTWIN_CLOSE  wnum
  215.  
  216.               wnum = text window number (1-7) of a current active
  217.                          text window.
  218.  
  219.           Note: After a text window is closed, the wnum can
  220.                         be reused to open another text window.
  221.  
  222.       TEXTWIN_OPEN - opens a text window
  223.  
  224.          Format:
  225.  
  226.             TEXTWIN_OPEN  wnum rows cols txfcol txbcol bord bdcol xbase ybase
  227.               xa ya 
  228.  
  229.               wnum = text window number (1-7) of a non-active
  230.                          text window.
  231.           rows = number of character rows for window.
  232.           cols = number of character cols for window.
  233.           txfcol = text foreground color. (0-15)
  234.           txbcol = text background color. (0-15)
  235.           bord = border option. (0=none 1=single 2=double)
  236.           bdcol = border color. (0-15)
  237.           xbase = position to place text window
  238.                   using a real number from 0.0-1.0
  239.           ybase = position to place text window
  240.                   using a real number from 0.0-1.0
  241.           xa = x alignment option. (-1=left 0=center 1=right)
  242.                This specifies the relative alignment of xbase.
  243.           ya = y alignment option -1=bottom 0=center 1=top
  244.                This specifies the relative alignment of ybase.
  245.  
  246.           Note: The size of the text is calculated using the 
  247.                 grtxtrows varible in the configuration file.
  248.  
  249.  
  250.  
  251.       WAIT - wait (suspend) program operation for a specified time.
  252.  
  253.          Format:
  254.  
  255.             WAIT nsec
  256.  
  257.                nsec = number of seconds to wait.
  258.