Branch: Tag:

2000-09-19

2000-09-19 13:11:37 by Per Hedbor <ph@opera.com>

Fixed 'black boxes' without GIF again.

Rev: server/modules/graphics/gbutton.pike:1.62

25:   // must also be aligned left or right.       - constant cvs_version = "$Id: gbutton.pike,v 1.61 2000/09/19 12:58:46 per Exp $"; + constant cvs_version = "$Id: gbutton.pike,v 1.62 2000/09/19 13:11:37 per Exp $";   constant thread_safe = 1;      #include <module.h>
630:    }    }    -  if( !equal( args->pagebg, args->bg ) ) -  { + // if( !equal( args->pagebg, args->bg ) ) + // {    // FIXME: fix transparency (somewhat)    // this version totally destroys the alpha channel of the image,    // but that's sort of the intention. The reason is that
639:    //    // however, it would be nice to have transparency with gif images.    return ({ Image.Layer(([ "fill":args->pagebg, ])) }) + button_layers; + // } + // return button_layers;   } -  return button_layers; - } +          mapping find_internal(string f, RequestID id)