Roxen.git / server / modules / graphics / graphic_text.pike

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1: - constant cvs_version="$Id: graphic_text.pike,v 1.126 1998/05/15 08:40:10 per Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.127 1998/05/21 18:24:03 grubba Exp $";   constant thread_safe=1;      #include <module.h>   #include <stat.h>   inherit "module";   inherit "roxenlib";      #ifndef VAR_MORE   #define VAR_MORE 0   #endif /* VAR_MORE */
Roxen.git/server/modules/graphics/graphic_text.pike:1560:    id->misc->colors = ({ ({ defines->fg, defines->bg, tagname }) });    else    id->misc->colors += ({ ({ defines->fg, defines->bg, tagname }) });   #undef FIX   #define FIX(X,Y) if(args->X && args->X!=""){defines->Y=args->X;if(args->X[0]!='#'){args->X=ns_color(parse_color(args->X));changed = 1;}}       FIX(bgcolor,bg);    FIX(text,fg);    FIX(color,fg);    -  if(changed) return ({ make_tag("tagname", args) }); +  if(changed) return ({ make_tag(tagname, args) });    return 0;   }      string|void pop_color(string tagname,mapping args,object id,object file,    mapping defines)   {    array c = id->misc->colors;    if(args->help) return "This end-tag is parsed by &lt;gtext&gt; to get the document colors.";    if(!c ||!sizeof(c))    return;