home *** CD-ROM | disk | FTP | other *** search
/ MACD 4 / MACD4.iso / Emulatory / AROS / intuition / refreshgadgets.c < prev    next >
Encoding:
C/C++ Source or Header  |  1978-03-06  |  1.7 KB  |  76 lines

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