home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / gnu / aplusplus-1.01-src.lha / src / amiga / aplusplus-1.01 / include / aplusplus / intuition / StdGadget.h < prev    next >
C/C++ Source or Header  |  1994-05-04  |  1KB  |  45 lines

  1. #ifndef APP_StdGadget_H
  2. #define APP_StdGadget_H
  3. /******************************************************************************
  4.  **
  5.  **    C++ Class Library for the Amiga© system software.
  6.  **
  7.  **    Copyright (C) 1994 by Armin Vogt  **  EMail: armin@uni-paderborn.de
  8.  **    All Rights Reserved.
  9.  **
  10.  **    $VER: apphome:APlusPlus/intuition/StdGadget.h 1.04 (04.05.94) $
  11.  **    
  12.  ******************************************************************************/
  13.  
  14. #include <APlusPlus/intuition/GadgetCV.h>
  15.  
  16.  
  17. /******************************************************************************************
  18.          » StdGadget class «
  19.  
  20.    Encapsulation of all standard Intuition gadgets. Geometry is solely managed by the 
  21.     GraphicObject class. 
  22.  
  23.  ******************************************************************************************/
  24.  
  25. class StdGadget : public GadgetCV
  26. {
  27.    private:
  28.       struct Gadget gadget;
  29.    protected:
  30.  
  31.    public:
  32.       StdGadget(GOB_OWNER,
  33.                   UWORD flags,UWORD activation,UWORD gadgetType,
  34.                   APTR gadgetRender,APTR selectRender,struct IntuiText *gadgetText,
  35.                   LONG mutualExclude,APTR specialInfo,UWORD gadgetID,
  36.                   AttrList& attrs);
  37.  
  38.       APTR redrawSelf(GWindow *homeWindow,ULONG& );
  39.         
  40.         ULONG setAttributes(AttrList& attrs);
  41.         ULONG getAttribute(Tag tag,ULONG& dataStore);
  42. };
  43.  
  44. #endif
  45.