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.27 2000/02/10 10:57:50 jonasw Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.28 2000/02/11 10:46:05 jonasw 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:174:    }    }          if( !mask )    mask = frame;       array x = ({});    array y = ({});    foreach( frame->get_misc_value( "image_guides" ), object g ) +  if( g->pos < 4096 )    if( g->vertical )    x += ({ g->pos });    else    y += ({ g->pos });       sort( y ); sort( x );    if(sizeof( x ) < 2)    x = ({ 5, frame->xsize()-5 });    if(sizeof( y ) < 2)    y = ({ 2, frame->ysize()-2 });