home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / demos / programme / StormC / Mui-Class-Lib / Include / Classes / TWiMUI / Text.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-06  |  1.0 KB  |  45 lines

  1. //
  2. //  $VER: Text.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_TEXT_H
  23. #define CPP_TWIMUI_TEXT_H
  24.  
  25. #ifndef CPP_TWIMUI_AREA_H
  26. #include <classes/twimui/area.h>
  27. #endif
  28.  
  29. class MUIText : public MUIArea
  30.     {
  31.     public:
  32.         MUIText(const struct TagItem *t) : MUIArea(MUIC_Text) { init(t); };
  33.         MUIText(const Tag t, ...);
  34.         MUIText() : MUIArea(NULL,MUIC_Text) { };
  35.         MUIText(MUIText &p) : MUIArea(p) { };
  36.         virtual ~MUIText();
  37.         MUIText &operator= (MUIText &);
  38.         void Contents(const STRPTR p) { set(MUIA_Text_Contents,(ULONG)p); };
  39.         STRPTR Contents() const { return((STRPTR)get(MUIA_Text_Contents,NULL)); };
  40.         void PreParse(const STRPTR p) { set(MUIA_Text_PreParse,(ULONG)p); };
  41.         STRPTR PreParse() const { return((STRPTR)get(MUIA_Text_PreParse,NULL)); };
  42.     };
  43.  
  44. #endif
  45.