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

  1. //
  2. //  $VER: Floattext.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_FLOATTEXT_H
  23. #define CPP_TWIMUI_FLOATTEXT_H
  24.  
  25. #ifndef CPP_TWIMUI_LIST_H
  26. #include <classes/twimui/list.h>
  27. #endif
  28.  
  29. class MUIFloattext : public MUIList
  30.     {
  31.     public:
  32.         MUIFloattext(const struct TagItem *t) : MUIList(MUIC_Floattext) { init(t); };
  33.         MUIFloattext(const Tag, ...);
  34.         MUIFloattext() : MUIList(MUIC_Floattext) { };
  35.         MUIFloattext(MUIFloattext &p) : MUIList(p) { };
  36.         virtual ~MUIFloattext();
  37.         MUIFloattext &operator= (MUIFloattext &);
  38.         void Justify(const BOOL p) { set(MUIA_Floattext_Justify,(ULONG)p); };
  39.         BOOL Justify() const { return((BOOL)get(MUIA_Floattext_Justify,FALSE)); };
  40.         void SkipChars(const STRPTR p) { set(MUIA_Floattext_SkipChars,(ULONG)p); };
  41.         void TabSize(const LONG p) { set(MUIA_Floattext_TabSize,(ULONG)p); };
  42.         void Text(const STRPTR p) { set(MUIA_Floattext_Text,(ULONG)p); };
  43.         STRPTR Text() const { return((STRPTR)get(MUIA_Floattext_Text,NULL)); };
  44.     };
  45.  
  46. #endif
  47.