Branch: Tag:

1999-12-09

1999-12-09 09:58:57 by Martin Nilsson <mani@lysator.liu.se>

Moving towards new tagdoc system.

Rev: server/modules/graphics/cimg.pike:1.9
Rev: server/modules/graphics/gbutton.pike:1.8
Rev: server/modules/graphics/graphic_text.pike:1.195

1: + // This is a roxen module. Copyright © 1999, Idonex AB. + // +    #include <module.h>   inherit "module";   inherit "roxenlib";   constant thread_safe=1;      roxen.ImageCache the_cache; - constant cvs_version="$Id: cimg.pike,v 1.8 1999/11/24 15:03:05 per Exp $"; + constant cvs_version="$Id: cimg.pike,v 1.9 1999/12/09 09:58:10 nilsson Exp $"; + constant tagdesc="Provides the tag 'cimg' that can be used to convert images " +  "between different image formats.";      array register_module()   {
12:    ({    MODULE_PARSER,    "Image converter", -  "Provides a tag 'cimg'. Usage: " -  "&lt;cimg src=\"indata file\" format=outformat [quant=numcolors] [img args]&gt;", +  tagdesc,    0,1    });   }    -  + TAGDOCUMENTATION + #ifdef manul + constant tagdoc=(["cimg":"<desc tag>"+tagdesc+"</desc>"]); + /* +  "Provides a tag 'cimg'. Usage: " +  "&lt;cimg src=\"indata file\" format=outformat [quant=numcolors] [img args]&gt;", + */ + #endif +    void start()   {    the_cache = roxen.ImageCache( "cimg", generate_image );