home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Programming / MR_Classes / Dev / Source / palette / ui.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-16  |  2.9 KB  |  108 lines

  1. #ifndef UI_H
  2. #define UI_H
  3.  
  4. #include "apptags.h"
  5. #define CATCOMP_NUMBERS
  6. #include "locale.h"
  7.  
  8. #include <stdio.h>
  9. #include <stdlib.h>
  10. #include <string.h>
  11.  
  12. #include <tagitemmacros.h>
  13.  
  14. #include <proto/classes/requesters/palette.h>
  15. #include <classes/requesters/palette.h>
  16.  
  17. #include <proto/classes/gadgets/tcpalette.h>
  18. #include <classes/gadgets/tcpalette.h>
  19.  
  20. #include <proto/classes/supermodel.h>
  21. #include <classes/supermodel.h>
  22.  
  23.  
  24. #include <exec/types.h>
  25. #include <libraries/gadtools.h>
  26. #include <intuition/icclass.h>
  27. #include <intuition/classes.h>
  28. #include <dos/dos.h>
  29.  
  30. #include <clib/extras_protos.h>
  31. #include <clib/macros.h>
  32. #include <clib/alib_protos.h>
  33. #include <clib/reaction_lib_protos.h>
  34.  
  35. #include <proto/exec.h>
  36. #include <proto/intuition.h>
  37. #include <proto/bevel.h>
  38. #include <proto/label.h>
  39. #include <proto/button.h>
  40. //#include <proto/checkbox.h>
  41. //#include <proto/chooser.h>
  42. //#include <proto/clicktab.h>
  43. //#include <proto/getfile.h>
  44. //#include <proto/getfont.h>
  45. //#include <proto/getscreenmode.h>
  46. #include <proto/integer.h>
  47. #include <proto/layout.h>
  48. //#include <proto/listbrowser.h>
  49. //#include <proto/palette.h>
  50. #include <proto/slider.h>
  51. #include <proto/space.h>
  52. #include <proto/string.h>
  53. #include <proto/window.h>
  54. #include <proto/utility.h>
  55. #include <proto/locale.h>
  56.  
  57. #include <classes/window.h>
  58. #include <gadgets/button.h>
  59. //#include <gadgets/checkbox.h>
  60. //#include <gadgets/chooser.h>
  61. //#include <gadgets/clicktab.h>
  62. //#include <gadgets/getfont.h>
  63. //#include <gadgets/getfile.h>
  64. #include <gadgets/integer.h>
  65. #include <gadgets/layout.h>
  66. //#include <gadgets/listbrowser.h>
  67. //#include <gadgets/palette.h>
  68. #include <gadgets/slider.h>
  69. #include <gadgets/space.h>
  70. #include <gadgets/string.h>
  71.  
  72. #include <images/label.h>
  73. #include <images/bevel.h>
  74.  
  75. #include <reaction/reaction.h>
  76. #include <reaction/reaction_macros.h>
  77.  
  78. #include "apptags.h"
  79.  
  80. Class *MyMakeClass(STRPTR ClassID, STRPTR SuperClassID, APTR SuperClassPtr, ULONG ISize, ULONG Nil, ULONG(*Entry)() );
  81.  
  82. ULONG __asm DispatcherStub(register __a0 Class *Cl, register __a2 Object *Obj, register __a1 Msg M);
  83. ULONG __asm __saveds GM_Set(register __a0 struct smGlueData     *GD, 
  84.                             register __a1 struct TagItem        *TagList, 
  85.                             register __a2 struct EData        *edata);
  86.  
  87. ULONG __saveds __asm EditorDispatcher(register __a0 Class *C, register __a2 Object *Obj, register __a1 Msg M, register __a6 struct Library *Lib);
  88. BOOL  i_NewWindowObject    (Class *C, Object *Obj, struct opSet *Set);
  89. BOOL  i_DisposeWindowObject(Class *C, Object *Obj, struct opSet *Set);
  90. ULONG i_OpenEditor         (Class *C, Object *Obj, struct opSet *Set);
  91.  
  92. STRPTR GetString(LONG stringNum);
  93.  
  94. #define ADD_DUMMY(x) ((0xffffffff)-(x))
  95. #define ADD_TARGET ADD_DUMMY(0)
  96. #define ADD_MEMBER ADD_DUMMY(1)
  97. #define ADD_IDCMP  ADD_DUMMY(2)
  98.  
  99. Object *BuildModel(Tag Tags, ...);
  100. STRPTR GetString(LONG stringNum);
  101.  
  102. extern Class *GlueClass,  *GlueICClass;
  103. Class *MakeGlueClass(void);
  104. void FreeGlueClass(void);
  105.  
  106.  
  107. #endif /* UI_H */
  108.