emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identifying the face between STRETCH and right fringe.


From: Robert Pluim
Subject: Re: Identifying the face between STRETCH and right fringe.
Date: Thu, 29 Nov 2018 13:51:39 +0100

Eli Zaretskii <address@hidden> writes:

>> From: Robert Pluim <address@hidden>
>> Cc: address@hidden
>> Date: Wed, 28 Nov 2018 14:21:38 +0100
>> 
>> > Why they don't do the same with face colors as they do with
>> > FRAME_BACKGROUND_PIXEL, i.e. convert to RGBA and store the RGBA in the
>> > face colors, instead of the indices.
>> 
>> Because then every time they want to do something with a face colour,
>> they'd have to convert it from RGBA, allocate the corresponding
>> NSColor, use it, destroy it etc.
>
> But that's how every other platform does that, AFAIU...

They do? X11 and W32 seem to use RGBA values directly, mostly.

I donʼt think this is worth changing: it works, and rewriting it will
just introduce bugs.

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]