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 / Pendisplay.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-06-16  |  1.5 KB  |  51 lines

  1. //
  2. //  $VER: Pendisplay.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_PENDISPLAY_H
  23. #define CPP_TWIMUI_PENDISPLAY_H
  24.  
  25. #ifndef CPP_TWIMUI_AREA_H
  26. #include <classes/twimui/area.h>
  27. #endif
  28.  
  29. class MUIPendisplay : public MUIArea
  30.     {
  31.     protected:
  32.         MUIPendisplay(STRPTR cl) : MUIArea(cl) { };
  33.     public:
  34.         MUIPendisplay(const struct TagItem *t) : MUIArea(MUIC_Pendisplay) { init(t); };
  35.         MUIPendisplay(const Tag, ...);
  36.         MUIPendisplay() : MUIArea(MUIC_Pendisplay) { };
  37.         MUIPendisplay(MUIPendisplay &p) : MUIArea(p) { };
  38.         virtual ~MUIPendisplay();
  39.         MUIPendisplay &operator= (MUIPendisplay &);
  40.         Object *Pen() const { return((Object *)get(MUIA_Pendisplay_Pen,NULL)); };
  41.         void Reference(const Object *p) { set(MUIA_Pendisplay_Reference,(ULONG)p); };
  42.         Object *Reference() const { return((Object *)get(MUIA_Pendisplay_Reference,NULL)); };
  43.         void Spec(const struct MUI_PenSpec *p) { set(MUIA_Pendisplay_Spec,(ULONG)p); };
  44.         struct MUI_PenSpec *Spec() const { return((struct MUI_PenSpec *)get(MUIA_Pendisplay_Spec,NULL)); };
  45.         void SetColormap(LONG p) { dom(MUIM_Pendisplay_SetColormap,(ULONG)p); };
  46.         void SetMUIPen(LONG p) { dom(MUIM_Pendisplay_SetMUIPen,(ULONG)p); };
  47.         void SetRGB(ULONG p1, ULONG p2, ULONG p3) { dom(MUIM_Pendisplay_SetRGB,p1,p2,p3); };
  48.     };
  49.  
  50. #endif
  51.