fix description of [percent]color color format
authorroot <root>
Thu, 7 Dec 2006 03:02:44 +0000 (03:02 +0000)
committerroot <root>
Thu, 7 Dec 2006 03:02:44 +0000 (03:02 +0000)
Changes
doc/rxvt.1.pod
src/urxvt.pm

diff --git a/Changes b/Changes
index 97af1ecafdf82f3e817b829a0b4b048abba9d4d5..d1b7d6970650f10b379f2b735cc70d010d2be4fc 100644 (file)
--- a/Changes
+++ b/Changes
@@ -40,6 +40,7 @@ TODO: http://triplefusion.net/system/macosx-clipboard
 8.
        - secondaryScroll is now enable by default (as per the manpage),
           reported by exg.
+        - correct the description of [percent]color rgba format in the manpage.
 
 8.0  Thu Nov  2 18:35:19 CET 2006
        - combining characters cleared the area instead of creating an overlay,
index 2307ddf738dd9ab64d38f3f0e470695eac6ee0be..00921990c6760b7bce5ca6fdb3de0dab27648a92 100644 (file)
@@ -1380,8 +1380,10 @@ their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa>
 (recommended, but B<MUST> have 4 digits/component) colour specifications,
 in addition to the ones provided by X, where the additional A component
 specifies opacity (alpha) values. The minimum value of C<0> is completely
-transparent). You can also prefix any color with C<[a]>, where C<a> is on
-to four hex digits specifiying the opacity value.
+transparent). You can also prefix any color with C<[percent]>, where
+C<percent> is a decimal percentage (0-100) that specifies the opacity of
+the color, where C<0> is completely transparent and C<100> is completelxy
+opaque.
 
 You probably need to specify B<"-depth 32">, too, and have the luck that
 your X-server uses ARGB pixel layout, as X is far from just supporting
@@ -1390,7 +1392,7 @@ ARGB visuals out of the box, and rxvt-unicode just fudges around.
 For example, the following selects an almost completely transparent red
 background, and an almost opaque pink foreground:
 
-   @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/2222 -fg "[e]pink"
+   @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/aaaa -fg "[80]pink"
 
 I<Please note that transparency of any kind if completely unsupported by
 the author. Don't bug him with installation questions!>
index 7d5cb6941ce23bda0764d0e0f30b0a6d7bda6667..1aea52e8a91eca486fc92b316c770978dc4fd737 100644 (file)
@@ -1112,20 +1112,20 @@ sub DESTROY {
 }
 
 sub condvar {
-   bless \my $flag, urxvt::anyevent::condvar::
+   bless \my $flag, urxvt::anyevent::
 }
 
-sub urxvt::anyevent::condvar::broadcast {
+sub broadcast {
    ${$_[0]}++;
 }
 
-sub urxvt::anyevent::condvar::wait {
+sub wait {
    unless (${$_[0]}) {
       Carp::croak "AnyEvent->condvar blocking wait unsupported in urxvt, use a non-blocking API";
    }
 }
 
-sub urxvt::anyevent::one_event {
+sub one_event {
    Carp::croak "AnyEvent->one_event blocking wait unsupported in urxvt, use a non-blocking API";
 }