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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a roxen module. Copyright © 1996 - 2000, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.250 2000/09/29 07:52:28 nilsson Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.251 2000/10/02 01:43:52 nilsson Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:968:    arg->height=(string)size->ysize;    }       if(arg->magic)    {    string magic=replace(m_delete(arg,"magic"), "'", "`");       if(p->bevel) p->pressed=1;       m_delete(p, "fgcolor"); -  foreach(glob("magic-*", indices(arg)), string q) -  p[q[6..]]=m_delete(arg, q); +  foreach(glob("magic-*", indices(p)), string q) +  p[q[6..]]=m_delete(p, q);       if(!p->fgcolor) p->fgcolor=id->misc->defines->theme_alink||    id->misc->defines->alink||"#ff0000";       string num2 = image_cache->store( ({ p, c }),id );    size = image_cache->metadata( num2, id );    if(size) {    arg->width=(string)max(arg->xsize,size->xsize);    arg->height=(string)max(arg->ysize,size->ysize);    }