Closed j3pic closed 1 year ago
The windows are semi-transparent by default because it looks cool. As you found out, it's not particularly difficult to change the default background colour.
If you want to seriously read the code I would suggest checking it out and using the editor of your choice, along with building the system yourself, which would give you access via slime/swank in emacs including jump-to-location.
For more details about colours, including make-colour-from-octets
and the bit layout definitions, take a look in gui/colour.lisp
.
It's beyond irritating to attempt to read code in a transparent window, whether the thing behind the window is the background image, or other windows full of text. After a little reverse-engineering, I found that the transparency is part of the background color, defined in
mezzano.gui.theme:*background*
. Nowhere do I find this documented.The color is bit packed, and it took additional reverse engineering to figure out how to pack the bits. For anyone else having this problem, the following two functions can be used to set the background color to something that isn't transparent: