home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / programmieren / gui / ieditor / expanders / gauge / edit_temp.c next >
Encoding:
C/C++ Source or Header  |  1997-06-17  |  1.9 KB  |  75 lines

  1. /*
  2.     C source code created by Interface Editor
  3.     Copyright © 1994-1996 by Simone Tellini
  4.  
  5.     Generator:  C_IE_Mod.generator 37.0 (15.2.96)
  6.  
  7.     Copy registered to :  Simone Tellini
  8.     Serial Number      : #0
  9. */
  10.  
  11. /*
  12.    In this file you'll find empty  template  routines
  13.    referenced in the GUI source.  You  can fill these
  14.    routines with your code or use them as a reference
  15.    to create your main program.
  16. */
  17.  
  18. #include <stdio.h>
  19. #include <exec/types.h>
  20.  
  21.  
  22. BOOL MainVanillaKey( struct Window *Wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  23. {
  24.     /*  Routine for IDCMP_VANILLAKEY  */
  25.     return( TRUE );
  26. }
  27.  
  28. BOOL OkKeyPressed( struct Window *Wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  29. {
  30.     /*  Routine when "_Ok"'s activation key is pressed  */
  31.  
  32.     /*  ...or return TRUE not to call the gadget function  */
  33.     return OkClicked( Wnd, Gadgets, IE );
  34. }
  35.  
  36. BOOL CancKeyPressed( struct Window *Wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  37. {
  38.     /*  Routine when "_Cancel"'s activation key is pressed  */
  39.  
  40.     /*  ...or return TRUE not to call the gadget function  */
  41.     return CancClicked( Wnd, Gadgets, IE );
  42. }
  43.  
  44. BOOL FreeKeyPressed( struct Window *Wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  45. {
  46.     /*  Routine when "_Freedom"'s activation key is pressed  */
  47.  
  48.     /*  ...or return TRUE not to call the gadget function  */
  49.     return FreeClicked( Wnd, Gadgets, IE );
  50. }
  51.  
  52. BOOL OkClicked( struct Window *wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  53. {
  54.     /*  Routine when "_Ok" is clicked  */
  55.     return( TRUE );
  56. }
  57.  
  58. BOOL CancClicked( struct Window *wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  59. {
  60.     /*  Routine when "_Cancel" is clicked  */
  61.     return( TRUE );
  62. }
  63.  
  64. BOOL FreeClicked( struct Window *wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  65. {
  66.     /*  Routine when "_Freedom" is clicked  */
  67.     return( TRUE );
  68. }
  69.  
  70. BOOL LabelClicked( struct Window *wnd, struct Gadget *Gadgets[], struct IE_Data *IE )
  71. {
  72.     /*  Routine when "_Label :" is clicked  */
  73.     return( TRUE );
  74. }
  75.