/**** * * Implementation of label.h * */ #include "stdio.h" #include "label.h" #include #include /* * Implementation of the PaintLabel constructor. Allocate a new Painter for * Label, set the label's font, and call Reconfig to burn in the font change. * This was addapted from InterViews tutorial t4. */ Label::Label(char* msg, char* fam, char* wgt, char *sl, int pnt) : Message(msg) { output = new Painter(); output->SetFont(fbn = new FontByName(fam, wgt, sl, pnt)); Reconfig(); }