home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / CIT.v4 / citra / CITLabel.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  817 b   |  42 lines

  1. //
  2. //                    CITLabel include
  3. //
  4. //                        StormC
  5. //
  6. //                   version 2002.01.22
  7. //
  8.  
  9. #ifndef CIT_LABEL_H
  10. #define CIT_LABEL_H TRUE
  11.  
  12. #include "CITImage.h"
  13.  
  14. class CITLabel:public CITImage
  15. {
  16.   public:
  17.     CITLabel();
  18.     ~CITLabel();
  19.  
  20.     void Text(char* text);
  21.     void Font(char *Name, int Height, int Width = 0);
  22.     void FGPen(LONG pen);
  23.     void BGPen(LONG pen);
  24.     void Mode(UBYTE mode);
  25.     void SoftStyle(UBYTE style);
  26.     void Image(struct Image* im);
  27.     void DisposeImage(BOOL b = TRUE);
  28.     void Mapping(UWORD* map,DrawInfo* drInfo = NULL);
  29.     void Justification(UWORD pos);
  30.  
  31.   protected:  
  32.     virtual Object* NewObjectA(TagItem* tags);
  33.     
  34.   private:
  35.     void setTag(int index,ULONG attr,ULONG val);
  36.  
  37.     CITList  labTagList;
  38.     TagItem* labelTag;
  39. };
  40.     
  41. #endif
  42.