home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / BOOPSI / led_ic / classdata.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-30  |  1.3 KB  |  46 lines

  1. #ifndef CLASSDATA_H
  2. #define CLASSDATA_H
  3.  
  4. /*****************************************************************************/
  5.  
  6. #include <exec/types.h>
  7. #include <graphics/gfx.h>
  8. #include <graphics/rastport.h>
  9. #include <intuition/screens.h>
  10.  
  11. #include "classbase.h"
  12.  
  13. /*****************************************************************************/
  14.  
  15. struct objectData
  16. {
  17.     struct DrawInfo    *od_DrawInfo;
  18.     LONG         od_BackgroundPen;
  19.     LONG         od_TextPen;
  20.     ULONG         od_Flags;        /* LED_Colon, LED_Negative, LED_Signed */
  21.     WORD         od_Pairs;        /* LED_Pairs */
  22.     WORD         od_Values[8];        /* LED_Values */
  23.  
  24.     /* Cached calculations */
  25.     UBYTE         od_LitSegments[16][7];
  26.     struct Rectangle     od_Segments[10];
  27.     WORD         od_HSW;        /* Horizontal segment width */
  28.     WORD         od_VSW;        /* Vertical segment width */
  29.     WORD         od_HCell;        /* Cell horizontal width */
  30.     WORD         od_VCell;        /* Cell vertical width */
  31. };
  32.  
  33. /*****************************************************************************/
  34.  
  35. #define    ODF_COLON    0x0001
  36. #define    ODF_NEGATIVE    0x0002
  37. #define    ODF_SIGNED    0x0004
  38.  
  39. /*****************************************************************************/
  40.  
  41. LONG ASM ClassDispatcher (REG(a0) Class *cl, REG(a1) ULONG *msg, REG(a2) struct Image *im);
  42.  
  43. /*****************************************************************************/
  44.  
  45. #endif /* CLASSDATA_H */
  46.