9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] libdraw_α_differences_between_plan_9 _and_p9p
Date: Fri, 31 Mar 2006 10:59:57 -0600	[thread overview]
Message-ID: <d670308814e0eb1a660bd2e83fa84b9f@quanstro.net> (raw)

evidently i've found a bug in upas/marshal, too.

- erik

On Fri Mar 31 10:28:27 CST 2006, quanstro@quanstro.net wrote:
> i've noticed a difference in how the α channel looks in p9p vs.
> plan 9. for example when porting mahjongg to plan9port,
> i need to make this change to make the selection highlighting
> apparent:
> 
> /sys/src/games/mahjongg//mahjongg.c:75,81 - ./mahjongg.c:75,81
>   {
>   	Rectangle one = Rect(0, 0, 1, 1);
>   	
> - 	selected = eallocimage(one, 1, RGBA32, setalpha(DPalebluegreen, 0x5f));
> + 	selected = eallocimage(one, 1, RGBA32, setalpha(DPalebluegreen, 0x9f));
> 
> is a mapping needed to convert libdraw α values to X?
> 
> - erik
> 
> p.s. p9p mahjongg is on sources but it's missing the tile sets and lib configuration.
> 



                 reply	other threads:[~2006-03-31 16:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d670308814e0eb1a660bd2e83fa84b9f@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).