home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / system / MUI / developer / extclasses / mcc_tron / source / mui / tron_mcc_private.h < prev   
Encoding:
C/C++ Source or Header  |  1998-10-06  |  1.4 KB  |  86 lines

  1. /*
  2.  
  3.         MCC_Tron (c) by kMel, Klaus Melchior
  4.  
  5.         Registered class of the Magic User Interface.
  6.  
  7.         Tron_mcc.h
  8.  
  9. */
  10.  
  11.  
  12. /*** Include stuff ***/
  13.  
  14. #ifndef TRON_MCC_H
  15. #define TRON_MCC_H
  16.  
  17. #ifndef LIBRARIES_MUI_H
  18. #include "libraries/mui.h"
  19. #endif
  20.  
  21.  
  22. /*** MUI Defines ***/
  23.  
  24. #define MUIC_Tron "Tron.mcc"
  25. #define MUIC_TronP "Tron.mcp"
  26. #define TronObject MUI_NewObject(MUIC_Tron
  27.  
  28. #define DEFAULT_PEN1 "m0"
  29. #define DEFAULT_PEN2 "m6"
  30. #define DEFAULT_PENB "m4"
  31. #define DEFAULT_SPEED 10
  32.  
  33.  
  34. /*** Methods ***/
  35.  
  36. #define MUIM_Tron_Demo           0x8002000b
  37.  
  38. /*** Method structs ***/
  39.  
  40. struct MUIP_Tron_Demo {
  41.     ULONG MethodID;
  42. };
  43.  
  44.  
  45. /*** Special method values ***/
  46.  
  47. #define MUIV_Tron_Demo_Simple                  0
  48.  
  49.  
  50. /*** Special method flags ***/
  51.  
  52.  
  53.  
  54. /*** Attributes ***/
  55.  
  56. #define MUIA_Tron_PenSpec1       0x80020043
  57. #define MUIA_Tron_PenSpec2       0x8002003e
  58. #define MUIA_Tron_PenSpecB       0x80020065
  59. #define MUIA_Tron_Running        0x80020040
  60. #define MUIA_Tron_Sample         0x8002003f
  61. #define MUIA_Tron_Speed          0x80020042
  62.  
  63. /*** Special attribute values ***/
  64.  
  65.  
  66.  
  67.  
  68. /*** Structures, Flags & Values ***/
  69.  
  70.  
  71.  
  72.  
  73.  
  74. /*** Configs ***/
  75.  
  76. #define MUICFG_Tron_Pen1           0x80020005
  77. #define MUICFG_Tron_Pen2           0x80020006
  78. #define MUICFG_Tron_PenB           0x8002000c
  79. #define MUICFG_Tron_Speed          0x80020007
  80.  
  81.  
  82. #endif /* TRON_MCC_H */
  83.  
  84. /* PrMake.rexx 0.10 (16.2.1996) Copyright 1995 kmel, Klaus Melchior */
  85.  
  86.