home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / rom / intuition / refreshgadgets.c < prev    next >
C/C++ Source or Header  |  1997-01-27  |  2KB  |  82 lines

  1. /*
  2.     (C) 1995-96 AROS - The Amiga Replacement OS
  3.     $Id: refreshgadgets.c,v 1.5 1997/01/27 00:36:42 ldp Exp $
  4.     $Log: refreshgadgets.c,v $
  5.     Revision 1.5  1997/01/27 00:36:42  ldp
  6.     Polish
  7.  
  8.     Revision 1.4  1996/12/10 14:00:07  aros
  9.     Moved #include into first column to allow makedepend to see it.
  10.  
  11.     Revision 1.3  1996/10/24 15:51:24  aros
  12.     Use the official AROS macros over the __AROS versions.
  13.  
  14.     Revision 1.2  1996/08/29 13:57:38  digulla
  15.     Commented
  16.     Moved common code from driver to Intuition
  17.  
  18.     Revision 1.1  1996/08/28 17:55:35  digulla
  19.     Proportional gadgets
  20.     BOOPSI
  21.  
  22.  
  23.     Desc:
  24.     Lang: english
  25. */
  26. #include "intuition_intern.h"
  27.  
  28. /*****************************************************************************
  29.  
  30.     NAME */
  31. #include <proto/intuition.h>
  32.  
  33.     AROS_LH3(void, RefreshGadgets,
  34.  
  35. /*  SYNOPSIS */
  36.     AROS_LHA(struct Gadget    *, gadgets, A0),
  37.     AROS_LHA(struct Window    *, window, A1),
  38.     AROS_LHA(struct Requester *, requester, A2),
  39.  
  40. /*  LOCATION */
  41.     struct IntuitionBase *, IntuitionBase, 37, Intuition)
  42.  
  43. /*  FUNCTION
  44.     Refreshes all gadgets starting at the specified gadget.
  45.  
  46.     INPUTS
  47.     gadgets - The first gadget to be refreshed
  48.     window - The gadget must be in this window
  49.     requester - If any gadget has GTYP_REQGADGET set, this must
  50.         point to a valid Requester. Otherwise the value is
  51.         ignored.
  52.  
  53.     RESULT
  54.     None.
  55.  
  56.     NOTES
  57.  
  58.     EXAMPLE
  59.     // Refresh all gadgets of a window
  60.     RefreshGadgets (win->FirstGadget, win, NULL);
  61.  
  62.     BUGS
  63.  
  64.     SEE ALSO
  65.     RefreshGList()
  66.  
  67.     INTERNALS
  68.  
  69.     HISTORY
  70.     29-10-95    digulla automatically created from
  71.                 intuition_lib.fd and clib/intuition_protos.h
  72.  
  73. *****************************************************************************/
  74. {
  75.     AROS_LIBFUNC_INIT
  76.     AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
  77.  
  78.     RefreshGList (gadgets, window, requester, ~0L);
  79.  
  80.     AROS_LIBFUNC_EXIT
  81. } /* RefreshGadgets */
  82.