home *** CD-ROM | disk | FTP | other *** search
- //
- // CITLabel include
- //
- // StormC
- //
- // version 2002.01.22
- //
-
- #ifndef CIT_LABEL_H
- #define CIT_LABEL_H TRUE
-
- #include "CITImage.h"
-
- class CITLabel:public CITImage
- {
- public:
- CITLabel();
- ~CITLabel();
-
- void Text(char* text);
- void Font(char *Name, int Height, int Width = 0);
- void FGPen(LONG pen);
- void BGPen(LONG pen);
- void Mode(UBYTE mode);
- void SoftStyle(UBYTE style);
- void Image(struct Image* im);
- void DisposeImage(BOOL b = TRUE);
- void Mapping(UWORD* map,DrawInfo* drInfo = NULL);
- void Justification(UWORD pos);
-
- protected:
- virtual Object* NewObjectA(TagItem* tags);
-
- private:
- void setTag(int index,ULONG attr,ULONG val);
-
- CITList labTagList;
- TagItem* labelTag;
- };
-
- #endif
-