home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 073.lha / XText / xtext.i < prev    next >
Text File  |  1987-06-02  |  2KB  |  114 lines

  1.  
  2.    IFND  XTEXT_I
  3. XTEXT_I  EQU   1
  4.  
  5. * **************************************************************************
  6. *
  7. * XText Routines
  8. *     from Book 1 of the Amiga Programmers' Suite by RJ Mical
  9. *
  10. * Copyright (C) 1986, 1987, Robert J. Mical
  11. * All Rights Reserved.
  12. *
  13. * Created for Amiga developers.
  14. * Any or all of this code can be used in any program as long as this
  15. * entire notice is retained, ok?  Thanks.
  16. *
  17. * HISTORY      NAME            DESCRIPTION
  18. * -----------  --------------  --------------------------------------------
  19. * 26 Jan 86    RJ Mical        Created this file (on my birthday!)
  20. * March 86     RJ              Incorporated this code in Sidecar
  21. * 27 Oct 86    RJ              Add XText buffer stuff, prepare for release
  22. *
  23. * *********************************************************************** *
  24.  
  25.  
  26. * AZTEC  EQU   1
  27.  
  28.  
  29.  
  30.    INCLUDE  "exec\types.i"
  31.    INCLUDE "graphics\gfx.i"
  32.    INCLUDE "intuition\intuition.i"
  33.    INCLUDE "hardware\custom.i"
  34.  
  35.    IFND  AZTEC ; If AZTEC not defined, do it the standard way
  36.    INCLUDE "asmsupp.i"
  37.    ENDC
  38.    IFD   AZTEC ; If AZTEC defined, do it the non-standard way (sigh)
  39.    INCLUDE "assmsupp.i"
  40.    ENDC
  41.  
  42.  
  43.  
  44. * === System Macros ===================================================== */
  45.             
  46. INFOLEVEL   EQU   100
  47.  
  48. LINKGFX MACRO  
  49.    LINKSYS \1,_GfxBase    
  50.    ENDM
  51.  
  52. LINKINT MACRO
  53.    LINKSYS \1,_IntuitionBase
  54.    ENDM
  55.  
  56.  
  57. * === System Definitions ================================================= */
  58.  
  59.    XLIB  BltBitMapRastPort
  60.    XLIB  BltMaskBitMapRastPort
  61.    XLIB  Debug
  62.    XLIB  DisownBlitter
  63.    XLIB  Move
  64.    XLIB  OwnBlitter
  65.    XLIB  RectFill
  66.    XLIB  SetAPen
  67.    XLIB  SetBPen
  68.    XLIB  SetDrMd
  69.    XLIB  Text
  70.    XLIB  WaitBlit
  71.  
  72.  
  73. * === XText Support Structure ===========================================
  74.  STRUCTURE XTextSupport,0
  75.    BYTE  xt_FrontPen
  76.    BYTE  xt_BackPen
  77.    BYTE  xt_DrawMode
  78.  
  79.    BYTE  xt_MaxTextWidth
  80.  
  81.    SHORT xt_CharHeight
  82.    SHORT xt_Flags
  83.  
  84.    APTR  xt_NormalTextPlane
  85.    APTR  xt_InverseTextPlane
  86.    APTR  xt_AllClearPlane
  87.    APTR  xt_AllSetPlane
  88.  
  89.    APTR  xt_XTextKey
  90.  
  91.    APTR  xt_OutputRPort
  92.  
  93.    SHORT   xt_FontSelect
  94.    STRUCT   xt_FontData,(8*4)
  95.  
  96.    STRUCT   xt_TextBitMap,bm_SIZEOF
  97.  
  98.    LABEL xt_SIZEOF
  99.  
  100.  
  101. * === XTextSupport Flags Definitions ===
  102. SLIM_XTEXT  EQU   $0001
  103.  
  104.  
  105.  
  106.  
  107. * === ===================================================================
  108. XTEXT_CHARWIDTH      EQU   8
  109.  
  110.  
  111.    ENDC     ; of XTEXT_I
  112.  
  113.  
  114.