/* * Class PaintLabel is a sublcass of InterViews Message that provides an * additional public constructor to create a message label of a given font. * Specifically, the new constructor takes the following parameters: * * PARM EXAMPLES * ============================================================ * text message text, as for Message constructor * family font family (e.g., times, helvetica, courier) * weight font weight (e.g, medium, bold) * slant font slant (e.g., r(oman), o(blique), i(talic)) * size font size (e.g., 9, 24) * */ #ifndef paintlabelIncluded #define paintlabelIncluded #include #include Font* FontByName(char* fam, char* wgt, char* sl, char* pnt); class PaintLabel : public Message { public: PaintLabel(char* msg, char* fam, char* wgt, char *sl, char *pnt); }; #endif