home *** CD-ROM | disk | FTP | other *** search
/ AMIGA PD 1 / AMIGA-PD-1.iso / Programme_zum_Heft / Programmieren / Kurztests / ACE / archive / ace_submod.lha / fontreq.lha / test.b < prev   
Text File  |  1995-01-27  |  296b  |  12 lines

  1. #include <FontReq.h>
  2.  
  3. DECLARE STRUCT FontInfo info
  4.  
  5. IF FontInfoRequest(info) THEN
  6.   PRINT "Font name:   ";CSTR(info->fontName)
  7.   PRINT "Font height: ";info->fontHeight
  8.   PRINT "Text style:  ";info->textStyle
  9.   PRINT "Front color: ";info->frontColor
  10.   PRINT "Back color:  ";info->backColor
  11. END IF
  12.