home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / contro.zip / SHADOWX.H < prev    next >
C/C++ Source or Header  |  1994-12-26  |  662b  |  39 lines

  1. /*
  2.  
  3. */
  4. #pragma pack(1)
  5.  
  6. #define EXTRAWORDS (4 * sizeof(PVOID))
  7. #define EXTRA_SHADOW    8
  8. #define MAX_SHADOW_TEXT    26
  9.  
  10. #define MY_FONT_ID 10    /* any old number will do */
  11.  
  12.  
  13. typedef double DOUBLE;
  14.  
  15. /*
  16.  due to Gpf limitations this control-specific structure must be <= 60 bytes
  17. */
  18. typedef struct{
  19.     USHORT    cBytes;
  20.     CHAR    chText[26];
  21.     ULONG    BgColor;
  22.     SHORT    BgIndex;
  23.     ULONG    FgColor;
  24.     SHORT    FgIndex;
  25.     ULONG    LeftColor;
  26.     SHORT    LeftIndex;
  27.     ULONG    RightColor;
  28.     SHORT    RightIndex;
  29.     SHORT    sAngle;
  30.     BOOL    fOverride;
  31.     } UCPARAMS;
  32.  
  33. typedef UCPARAMS * PUCPARAMS;
  34.  
  35. #pragma pack()
  36.  
  37. /* routine used by all "c" files */
  38.  
  39. VOID Paint(HWND, HPS, PUCPARAMS);