summaryrefslogtreecommitdiff
path: root/util/skingen.pl
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-23 08:56:52 +0100
committerYorhel <git@yorhel.nl>2008-12-23 08:56:52 +0100
commit6b7cddf56b0a7a487f087b0cc4fef5306c1b4bba (patch)
tree9b7f62d515f6b5ef8e834431a8b781b981dbd738 /util/skingen.pl
parent568fb4cafe60867db9c4450a944f7747e3a3a08e (diff)
Added grey layout for testing purposes and fixed a few bugs with the skin generator
Diffstat (limited to 'util/skingen.pl')
-rwxr-xr-xutil/skingen.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/skingen.pl b/util/skingen.pl
index 4b17edf8..1029e253 100755
--- a/util/skingen.pl
+++ b/util/skingen.pl
@@ -67,7 +67,7 @@ sub writeskin { # $obj
$img = Image::Magick->new(size => '1x1');
$img->Read('xc:'.$o->{bodybg}, 'xc:'.$o->{boxbg});
$img = $img->Flatten();
- $o->{_blendbg} = '#'.join '', map sprintf('%02x', $_*256), $img->GetPixel(x=>1,y=>1);
+ $o->{_blendbg} = '#'.join '', map sprintf('%02x', $_*255), $img->GetPixel(x=>1,y=>1);
my $d = join '', (<DATA>);
$d =~ s/\$$_\$/$o->{$_}/g for (keys %$o);
@@ -187,7 +187,7 @@ b.future, p.locked {
#menulist h2,
#maincontent ul.maintabs li a,
#maincontent ul.maintabs.bottom li a,
-p.browseopts a,
+#maincontent p.browseopts a,
div.thread td,
div.thread td.tc1,
div.vndescription h2,