Roxen.git/
server/
modules/
graphics/
gbutton.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-09-19
2000-09-19 13:11:37 by Per Hedbor <ph@opera.com>
fcb951a145401234fefb1beba0fcbb60febb3a7a (
25
lines) (+
13
/-
12
)
[
Show
|
Annotate
]
Branch:
5.2
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)