From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Removing assumption of unsigned long pixel values for colours Date: Mon, 06 May 2019 19:54:59 +0300 Message-ID: <83d0kvjzfg.fsf@gnu.org> References: <87v9yqjdnh.fsf@gmail.com> <83a7g2kqsi.fsf@gnu.org> <87lfzlkeic.fsf@gmail.com> <83zho0khdu.fsf@gnu.org> <87h8a8k84a.fsf@gmail.com> <83pnowjo63.fsf@gnu.org> <87d0kvk489.fsf@gmail.com> <83ftprk2nj.fsf@gnu.org> <874l67k0lp.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="113394"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Alex Gramiak Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 06 18:55:28 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hNgtk-000TOC-Od for ged-emacs-devel@m.gmane.org; Mon, 06 May 2019 18:55:28 +0200 Original-Received: from localhost ([127.0.0.1]:59422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNgtj-00066U-Q5 for ged-emacs-devel@m.gmane.org; Mon, 06 May 2019 12:55:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNgtZ-000659-Lk for emacs-devel@gnu.org; Mon, 06 May 2019 12:55:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNgtZ-0007is-Gp; Mon, 06 May 2019 12:55:17 -0400 Original-Received: from [176.228.60.248] (port=4557 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNgtY-0004zq-9H; Mon, 06 May 2019 12:55:17 -0400 In-reply-to: <874l67k0lp.fsf@gmail.com> (message from Alex Gramiak on Mon, 06 May 2019 10:29:38 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236201 Archived-At: > From: Alex Gramiak > Cc: emacs-devel@gnu.org > Date: Mon, 06 May 2019 10:29:38 -0600 > > > COLORREF is just the RGB representation of a color, see > > > > https://docs.microsoft.com/en-us/windows/desktop/gdi/colorref > > Right, but my point is that AFAIU the unsigned long value is used in a > different manor (embedded rather than used to lookup a value) on the w32 > side, so it could be viewed that the representation of colors is already > platform-dependent. OK, but that just says that each platform already performs the mapping you wanted to avoid. What makes your back-end special that it needs to avoid this?