home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Programming_10 / WASTE 1.3a1.sit / WASTE 1.3a1 Distribution / Extras / Experimental / WEExtraHooks.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-23  |  636 b   |  38 lines  |  [TEXT/CWIE]

  1. /*
  2.  *    WEExtraHooks.h
  3.  */
  4.  
  5.  
  6. #include "WASTE.h"
  7.  
  8. enum
  9. {
  10.     kInvisiblesColorRedGreenTag     =    'icRG' ,
  11.     kInvisiblesColorBlueTag            =    'icB_'
  12. } ;
  13.  
  14. enum
  15. {
  16.     kEOL                            =    0x0D
  17. } ;
  18.  
  19. #ifdef __cplusplus
  20. inline Boolean IsColorPort ( GrafPtr port )
  21. {
  22.     return ( ( CGrafPtr ) port ) -> portVersion < 0 ;
  23. }
  24. #else
  25. #define IsColorPort(port)    (((CGrafPtr) (port))->portVersion < 0)
  26. #endif
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. pascal StyledLineBreakCode _WENoWrapLineBreak ( Ptr, SInt32, SInt32, SInt32, Fixed *, SInt32 *, WEReference ) ;
  33. pascal void _WEShowInvisiblesDrawText ( Ptr, SInt32, Fixed, JustStyleCode, WEReference ) ;
  34.  
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38.