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.16 2000/02/07 03:57:39 per Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.17 2000/02/07 04:43:10 per Exp $";   constant thread_safe = 1;      #include <module.h>   inherit "module";   inherit "roxenlib";         roxen.ImageCache button_cache;      
Roxen.git/server/modules/graphics/gbutton.pike:324:    "icn" : args->icon_src && fix_relative(args->icon_src, id), // Icon URL    "icd" : args->icon_data, // Inline icon data    "ica" : args->align_icon || "left", // Icon alignment    "font": (args->font||id->misc->defines->font||    roxen->query("default_font")),    "border_image":fi,    ]);       array hsv = Image.Color( @new_args->bg )->hsv( );    hsv[-1] = min( hsv[-1]+70, 255 ); -  hsv[1] = max( hsv[1]-20, 0 ); +     new_args->bob = (array)Image.Color.hsv( @hsv );    hsv[-1] = max( hsv[-1]-140, 0 );    new_args->bo = (array)Image.Color.hsv( @hsv );       if(args->bordercolor)    new_args->bo=parse_color(args->bordercolor); // Border color       if(args->borderbottom)    new_args->bob=parse_color(args->borderbottom);