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

version» Context lines:

Roxen.git/server/modules/graphics/graphic_text.pike:1:   // This is a ChiliMoon module. Copyright © 1996 - 2001, Roxen IS.   //    - constant cvs_version="$Id: graphic_text.pike,v 1.300 2004/05/24 23:12:56 mani Exp $"; + constant cvs_version="$Id: graphic_text.pike,v 1.301 2004/05/27 18:28:42 _cvs_stephen Exp $";      #include <module.h>   inherit "module";         // ------------------- Module registration ---------------------      constant module_type = MODULE_TAG;   constant module_name = "Graphics: Graphic text";   constant module_doc =
Roxen.git/server/modules/graphics/graphic_text.pike:307: Inside #if defined(manual)
  </attr>      <attr name='talign' value='left|right|center'><p>    Adjust the alignment of the text.</p>   </attr>      <attr name='textbelow' value='color'><p>    Place the text centered in a box of the given color below the image    area. Useful together with background to make captions for images.</p>    <ex> - <img src=\"/%01/chili-small-white\" /> &nbsp; + <imgs src=\"/%01/chili-small-white\" /> &nbsp;   <gtext scale=\"0.5\" background=\"/%01/chili-small-white\"   textbelow=\"#c0c0c0\">ChiliMoon</gtext>    </ex>   </attr>      <attr name='textbox' value='opaque,color'><p>    Draw a box with an opaque value below the text of the specified color.</p>   </attr>      <attr name='textscale' value='color,color,color,color'><p>
Roxen.git/server/modules/graphics/graphic_text.pike:516: Inside #if defined(manual)
   you trust all your users, e.g. Intranets.</p>       <p>In most cases the tag <tag>gtext-url</tag> solves this problem,    but if you would like to generate new text images live without    reloading some RXML page, you need this tag. An example application:</p>      <ex-box><define variable='var.id' preparse='' trimwhites=''>   <gtext-id font='FranklinGothicDemi' fgcolor='blue'/>   </define>    - <img src='&var.id;Please type some text here:' + <imgs src='&var.id;Please type some text here:'    alt='' name='banner' width='468' height='60' />      <script language='javascript'>   var image = document.images.banner;   function alter_image(label)   {    image.src = '&var.id:js;' + escape(label.value);    label.focus();    return false;   }