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.126 2012/02/14 15:02:21 anders Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.127 2012/06/21 18:15:40 mast 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:350: Inside #if constant(Sitebuilder)
   tmp = roxen.load_layers(args->border_image, id, opts);    Sitebuilder.sb_end_use_imagecache(args, id);    } else   #endif    {    tmp = roxen.load_layers(args->border_image, id, opts);    }       if (mappingp(tmp)) {    if (tmp->error != 401) -  report_debug("GButton: Failed to load frame image: %O (error: %O)\n", +  RXML.parse_error("Failed to load frame image: %O (error: %O)\n",    args->border_image, tmp->error);    return tmp;    }    set_image( tmp );    }          // otherwise load default images    if ( !frame && !background && !mask )    {