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

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:20:   // icon-data -- inline icon data   // align -- left|center|right text alignment   // align-icon -- left|center-before|center-after|right icon alignment   // valign-icon -- above|middle|below icon vertical alignment   // >Button text</gbutton>   //   // Alignment restriction: when text alignment is either left or right, icons   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.100 2004/05/22 19:30:23 _cvs_stephen Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.101 2004/05/24 21:32:17 _cvs_dirix Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";      roxen.ImageCache button_cache;   int do_ext;      constant module_type = MODULE_TAG;   constant module_name = "Graphics: GButton";
Roxen.git/server/modules/graphics/gbutton.pike:838:    // Remove extra layer attributes to avoid *-* copying below    m_delete(args, "extra-layers");    m_delete(args, "extra-left-layers");    m_delete(args, "extra-right-layers");    m_delete(args, "extra-background-layers");    m_delete(args, "extra-mask-layers");    m_delete(args, "extra-frame-layers");       if( fi ) {    new_args->stat = get_file_stat( fi, id ); - #if constant(Sitebuilder) -  // The file we called get_file_stat() on above may be a SiteBuilder -  // file. If so we need to extend the argument data with e.g. -  // current language fork. -  if (Sitebuilder.sb_prepare_imagecache) -  new_args = Sitebuilder.sb_prepare_imagecache(new_args, fi, id); - #endif +     }       new_args->quant = args->quant || 128;    foreach(glob("*-*", indices(args)), string n)    new_args[n] = args[n];       // if( new_args->stat && (fn = id->conf->real_file( fi, id ) ) )    // Roxen.add_cache_stat_callback( id, fn, new_args->stat );       string fn;