home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / 4405 / vwrlib.hdf < prev   
Text File  |  1993-11-03  |  5KB  |  75 lines

  1. ;******************************************************************************
  2. ; Ver 1.0, Last Update Nov 1, 1993                                            *
  3. ;                                   vwrLIb                                    *
  4. ; this library adds functionality to HLPDK V10.0+, and adds special functions *
  5. ; to the multimedia viewer 2.0 target.                                        *
  6. ;                                                                             *
  7. ; The following added functionality is added :                                *
  8. ;                                                                             *
  9. ; 256 color bitmap support, not available with the standard \{bmX \} graphics *
  10. ; defined with the standard graphic links of HLPDK 10.0                       *
  11. ;******************************************************************************
  12. .ifdef mmviewer
  13.  
  14. ;******************************************************************************
  15. ;                                   bmp256                                    *
  16. ; insert a 256 color bitmap, in the text, the parameter to the bitmap is the  *
  17. ; complete path to the bitmap!                                                *
  18. ; e.g. ~bitmap~bmp256(c:\windows\256color.bmp~                                *
  19. ;******************************************************************************
  20. .userlink bmp256 '\{ewc MVBMP2, ViewerBmp2, !%1\}'
  21.  
  22. ;******************************************************************************
  23. ;                                 bmp256Left                                  *
  24. ; insert a 256 color bitmap, and align to the left of the paragraph. The      *
  25. ; parameter to the bitmap is the complete path to the bitmap!                 *
  26. ; e.g. ~bitmap~bmp256Left(c:\windows\256color.bmp~                            *
  27. ;******************************************************************************
  28. .userlink bmp256Left '\{ewl MVBMP2, ViewerBmp2, !%1\}'
  29.  
  30. ;******************************************************************************
  31. ;                                 bmp256Right                                 *
  32. ; insert a 256 color bitmap, and align to the right of the paragraph. The     *
  33. ; parameter to the bitmap is the complete path to the bitmap!                 *
  34. ; e.g. ~bitmap~bmp256Right(c:\windows\256color.bmp~                           *
  35. ;******************************************************************************
  36. .userlink bmp256Right '\{ewr MVBMP2, ViewerBmp2, !%1\}'
  37.  
  38. ;******************************************************************************
  39. ;                                   Gbmp256                                   *
  40. ; Same as bmp256, but the graphic is the id of the graphic defined in a       *
  41. ; .GRAPHIC statement.                                                         *
  42. ; e.g. :                                                                      *
  43. ; .graphic mypicture pic256.bmp                                               *
  44. ;  .. ~Bitmap~Gbmp256(mypicture)~ ..                                          *
  45. ;                                                                             *
  46. ;******************************************************************************
  47. .userlink Gbmp256 '\{ewc MVBMP2, ViewerBmp2, !%g1\}'
  48.  
  49. ;******************************************************************************
  50. ;                                 Gbmp256Left                                 *
  51. ; same as Gbmp256, but aligns to the left of the paragraph                    *
  52. ;******************************************************************************
  53. .userlink Gbmp256Left '\{ewl MVBMP2, ViewerBmp2, !%g1\}'
  54.  
  55. ;******************************************************************************
  56. ;                                Gbmp256Right                                 *
  57. ; Same as Gbmp256, but aligns bitmap to the right of the paragraph            *
  58. ;******************************************************************************
  59. .userlink Gbmp256Right '\{ewr MVBMP2, ViewerBmp2, !%g1\}'
  60.  
  61. ;******************************************************************************
  62. ;                                   Ebmp256                                   *
  63. ;                                 Ebmp256Left                                 *
  64. ;                                Ebmp256Right                                 *
  65. ; these are the recommended viewer links, these viewer commands must be       *
  66. ; executed on embedded bitmaps.                                               *
  67. ; remmember to .EMBEDD mygraphic mygraphic.bmp before !                       *
  68. ;******************************************************************************
  69. .userlink Ebmp256 '\{ewc MVBMP2, ViewerBmp2, !%e1\}'
  70. .userlink Ebmp256Left '\{ewl MVBMP2, ViewerBmp2, !%e1\}'
  71. .userlink Ebmp256Right '\{ewr MVBMP2, ViewerBmp2, !%e1\}'
  72.  
  73. .endif
  74.  
  75.