home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / d / interface2 / !Wimp / h / interface
Encoding:
Text File  |  1993-02-12  |  1.8 KB  |  55 lines

  1. /*
  2.  *      interface.c
  3.  *
  4.  */
  5.  
  6. #ifndef __interface_h
  7. #define __interface_h
  8.  
  9. #ifndef __os_h
  10. #include "os.h"
  11. #endif
  12.  
  13. #ifndef __wimp_h
  14. #include "wimp.h"
  15. #endif
  16.  
  17. #define Interface_SlabButton            0x81680
  18. #define Interface_Render3dWindow        0x81681
  19. #define Interface_Initialise            0x81682
  20. #define Interface_CloseDown             0x81683
  21. #define Interface_SetWorkareaPointer    0x81684
  22. #define Interface_RemoveWorkareaPointer 0x81685
  23. #define Interface_Poll                  0x81686
  24. #define Interface_SendHelp              0x81687
  25. #define Interface_PreProcessKey         0x81688
  26. #define Interface_Plot3dIcon            0x81689
  27. #define Interface_BoundingBox           0x8168A
  28.  
  29. typedef struct
  30.         {
  31.                 wimp_w          w;
  32.                 wimp_box        box;
  33.                 char            validstring[32];
  34.         } wimp_pointerstr;
  35.  
  36. extern os_error *interface_slabbutton(wimp_mousestr *mouse);
  37. extern os_error *interface_render3dwindow(wimp_redrawstr *redraw);
  38. extern os_error *interface_initialise(void);
  39. extern os_error *interface_closedown(void);
  40. extern os_error *interface_setworkareapointer(wimp_pointerstr *pointer);
  41. extern os_error *interface_removeworkareapointer(wimp_pointerstr *pointer);
  42. extern os_error *interface_poll(int reason);
  43. extern os_error *interface_sendhelp(wimp_msghdr *msg);
  44. extern os_error *interface_preprocesskey(wimp_eventstr *event);
  45. extern os_error *interface_plot3dicon(wimp_wstate *wstate, wimp_icon *icon) ;
  46. extern os_error *interface_boundingbox(wimp_icon *icon) ;
  47.  
  48. extern void interface_slabicon(wimp_w w, wimp_i i);
  49. extern void interface_unslabicon(wimp_w w, wimp_i i);
  50. extern void interface_autoredraw(wimp_redrawstr *redraw);
  51. extern void interface_setpointer(wimp_w w, char *ptr);
  52. extern void interface_removepointer(wimp_w w);
  53.  
  54. #endif
  55.