/****************************************************************************** **************************** Variable Font Label *************************** ****************************************************************************** * * NAME: PaintLabel * AUTHOR: Gene Fisher * DESCRIPTION: A slightly specialized form of Label for which the font is * easily set. The font is "painted" instead of "drawn", meaning * that a PaintLable is an Interactor as opposed to a graphic. * VISIBLE FUNCTIONS: * PaintLabel(char* msg, char* fam, char* wgt, char *sl, char *pnt); * -- The parameters to PaintLablel constructor specify the message * -- text of the label, the font family (e.g., times, courier), the * -- weight of the font (e.g., normal, bold), the slant of the font * -- (e.g., normal, italic), and the point size (a positive integer). * */ #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