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

version» Context lines:

Roxen.git/server/modules/graphics/gbutton.pike:18:   // icon_src -- icon reference   // icon_data -- inline icon data   // align -- left|center|right text alignment   // align_icon -- left|center_before|center_after|right icon 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.32 2000/02/22 00:10:38 per Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.33 2000/02/22 00:14:32 per Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";   inherit "roxenlib";         roxen.ImageCache button_cache;      constant module_type = MODULE_PARSER;
Roxen.git/server/modules/graphics/gbutton.pike:449:    // for these, but that is not a problem most of the time.    if( args->extra_right_layers )    {    array l = ({ });    foreach( args->extra_right_layers/",", string q )    l += ({ ll[q] });    l-=({ 0 });    if( sizeof( l ) )    {    object q = Image.lay( l ); -  q->set_offset( mask->xsize(),0); +  q->set_offset( button_layers[0]->xsize()+ +  button_layers[0]->xoffset(),0);    button_layers += ({ q });    }    }       button_layers = ({Image.lay( button_layers )});       // fix transparency (somewhat)    if( !equal( args->pagebg, args->bg ) )    button_layers +=    ({