<div dir="ltr"><div dir="ltr">Em seg., 28 de nov. de 2022 às 05:05, Roman Haefeli <<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>> escreveu:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 2022-11-28 at 02:58 -0300, Alexandre Torres Porres wrote:<br>
> For the record, I just realized default colors of iemguis is not  "pure white" (...) <br>
> it is "FCFCFC" (...) This is not a regression, it's the same in pd 0.48,<br>
> <br>
> I don't know why or where that happens in the code<br>
<br>
I haven't checked the code, but the old encoding allowed for only 6<br>
bits per channel. Assuming the two least significant bits are set to 0,<br>
FC is the highest value possible in that scheme<br>
<br>
0xFC = 0b1111 1100<br></blockquote><div><br></div><div>It's much simpler than that. Default color is explicitly set and defined as "<span class="gmail-pl-c1" style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:12px;white-space:pre">0xFCFCFC" in g_all_guis.c, more specifically </span>here:</div><div><br></div><div><a href="https://github.com/pure-data/pure-data/blob/06ecc41f42059bfe02081e4738ed21f6bcd0eac9/src/g_all_guis.c#L1030">https://github.com/pure-data/pure-data/blob/06ecc41f42059bfe02081e4738ed21f6bcd0eac9/src/g_all_guis.c#L1030</a><br></div><div><br></div><div>default "front" and "label" colors are also set there as black.</div><div><br></div><div>[cnv] has different default colors specified in its code (0xE0E0E0 for background and 0x404040 for label);</div><div><br></div></div></div>