home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / clib / gadtools_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  2.3 KB  |  73 lines

  1. #ifndef CLIB_GADTOOLS_PROTOS_H
  2. #define CLIB_GADTOOLS_PROTOS_H
  3. /*
  4. ** $VER: gadtools_protos.h 36.2 (02.05.90)
  5. ** Includes Release 38.56
  6. **
  7. ** C prototypes. For use with 32 bit integers only.
  8. **
  9. ** (C) Copyright 1990-1992 Commodore-Amiga, Inc.
  10. ** All Rights Reserved
  11. */
  12. #ifndef EXEC_TYPES_H
  13. #include <exec/types.h>
  14. #endif
  15. #ifndef INTUITION_INTUITION_H
  16. #include <intuition/intuition.h>
  17. #endif
  18. #ifndef UTILITY_TAGITEM_H
  19. #include <utility/tagitem.h>
  20. #endif
  21. #ifndef LIBRARIES_GADTOOLS_H
  22. #include <libraries/gadtools.h>
  23. #endif
  24.  
  25.  
  26.  
  27.  
  28. struct Gadget *CreateGadgetA( unsigned long kind, struct Gadget *gad,
  29.  struct NewGadget *ng, struct TagItem *taglist );
  30. struct Gadget *CreateGadget( unsigned long kind, struct Gadget *gad,
  31.  struct NewGadget *ng, Tag tag1, ... );
  32. void FreeGadgets( struct Gadget *gad );
  33. void GT_SetGadgetAttrsA( struct Gadget *gad, struct Window *win,
  34.  struct Requester *req, struct TagItem *taglist );
  35. void GT_SetGadgetAttrs( struct Gadget *gad, struct Window *win,
  36.  struct Requester *req, Tag tag1, ... );
  37.  
  38.  
  39.  
  40. struct Menu *CreateMenusA( struct NewMenu *newmenu, struct TagItem *taglist );
  41. struct Menu *CreateMenus( struct NewMenu *newmenu, Tag tag1, ... );
  42. void FreeMenus( struct Menu *menu );
  43. BOOL LayoutMenuItemsA( struct MenuItem *firstitem, APTR vi,
  44.  struct TagItem *taglist );
  45. BOOL LayoutMenuItems( struct MenuItem *firstitem, APTR vi, Tag tag1, ... );
  46. BOOL LayoutMenusA( struct Menu *firstmenu, APTR vi, struct TagItem *taglist );
  47. BOOL LayoutMenus( struct Menu *firstmenu, APTR vi, Tag tag1, ... );
  48.  
  49.  
  50.  
  51. struct IntuiMessage *GT_GetIMsg( struct MsgPort *iport );
  52. void GT_ReplyIMsg( struct IntuiMessage *imsg );
  53. void GT_RefreshWindow( struct Window *win, struct Requester *req );
  54. void GT_BeginRefresh( struct Window *win );
  55. void GT_EndRefresh( struct Window *win, long complete );
  56. struct IntuiMessage *GT_FilterIMsg( struct IntuiMessage *imsg );
  57. struct IntuiMessage *GT_PostFilterIMsg( struct IntuiMessage *imsg );
  58. struct Gadget *CreateContext( struct Gadget **glistptr );
  59.  
  60.  
  61.  
  62. void DrawBevelBoxA( struct RastPort *rport, long left, long top, long width,
  63.  long height, struct TagItem *taglist );
  64. void DrawBevelBox( struct RastPort *rport, long left, long top, long width,
  65.  long height, Tag tag1, ... );
  66.  
  67.  
  68.  
  69. APTR GetVisualInfoA( struct Screen *screen, struct TagItem *taglist );
  70. APTR GetVisualInfo( struct Screen *screen, Tag tag1, ... );
  71. void FreeVisualInfo( APTR vi );
  72. #endif 
  73.