// // "$Id$" // // Library version test program for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2017 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this // file is missing or damaged, see the license at: // // http://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // // http://www.fltk.org/str.php // #include #include #include #include #include static char version[8][80] = { "","","","","","","","" }; int main(int argc, char **argv) { int versions = 0; sprintf(version[versions++],"FL_VERSION = %6.4f",FL_VERSION); sprintf(version[versions++],"Fl::version() = %6.4f %s",Fl::version(), (FL_VERSION == Fl::version()) ? "" : "***"); #ifdef FL_API_VERSION sprintf(version[versions++],"FL_API_VERSION = %6d",FL_API_VERSION); sprintf(version[versions++],"Fl::api_version() = %6d %s",Fl::api_version(), (FL_API_VERSION == Fl::api_version()) ? "" : "***"); #endif #ifdef FL_ABI_VERSION sprintf(version[versions++],"FL_ABI_VERSION = %6d",FL_ABI_VERSION); sprintf(version[versions++],"Fl::abi_version() = %6d %s",Fl::abi_version(), (FL_ABI_VERSION == Fl::abi_version()) ? "" : "***"); #endif for (int i=0; ilabelfont(FL_COURIER); box[i]->align(FL_ALIGN_LEFT | FL_ALIGN_INSIDE); } window->end(); window->show(argc, argv); return Fl::run(); } // // End of "$Id$". //