home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BK-SC1_4.DMS / in.adf / MUIClass.Lha / Include / Classes / TWiMUI / Virtgroup.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-16  |  1.2 KB  |  47 lines

  1. //
  2. //  $VER: Virtgroup.h   1.0 (16 Jun 1996)
  3. //
  4. //    c 1996 Thomas Wilhelmi
  5. //
  6. //
  7. // Address : Taunusstrasse 14
  8. //           61138 Niederdorfelden
  9. //           Germany
  10. //
  11. //  E-Mail : willi@twi.rhein-main.de
  12. //
  13. //   Phone : +49 (0)6101 531060
  14. //   Fax   : +49 (0)6101 531061
  15. //
  16. //
  17. //  $HISTORY:
  18. //
  19. //  16 Jun 1996 :   1.0 : first public Release
  20. //
  21.  
  22. #ifndef CPP_TWIMUI_VIRTGROUP_H
  23. #define CPP_TWIMUI_VIRTGROUP_H
  24.  
  25. #ifndef CPP_TWIMUI_GROUP_H
  26. #include <classes/twimui/group.h>
  27. #endif
  28.  
  29. class MUIVirtgroup : public MUIGroup
  30.     {
  31.     public:
  32.         MUIVirtgroup(const struct TagItem *t) : MUIGroup(MUIC_Virtgroup) { init(t); };
  33.         MUIVirtgroup(const Tag, ...);
  34.         MUIVirtgroup() : MUIGroup(MUIC_Virtgroup) { };
  35.         MUIVirtgroup(MUIVirtgroup &p) : MUIGroup(p) { };
  36.         virtual ~MUIVirtgroup();
  37.         MUIVirtgroup &operator= (MUIVirtgroup &);
  38.         LONG Height() const { return((LONG)get(MUIA_Virtgroup_Height,0L)); };
  39.         void Left(const LONG p) { set(MUIA_Virtgroup_Left,(ULONG)p); };
  40.         LONG Left() const { return((LONG)get(MUIA_Virtgroup_Left,0L)); };
  41.         void Top(const LONG p) { set(MUIA_Virtgroup_Top,(ULONG)p); };
  42.         LONG Top() const { return((LONG)get(MUIA_Virtgroup_Top,0L)); };
  43.         LONG Width() const { return((LONG)get(MUIA_Virtgroup_Width,0L)); };
  44.     };
  45.  
  46. #endif
  47.