maiko icon indicating copy to clipboard operation
maiko copied to clipboard

Allow changing display foreground and background colors

Open AbeJellinek opened this issue 4 years ago • 7 comments

Some progress on Interlisp/medley#6: no full-color display yet, but this activates previously unused fg and bg options so that the kids can have their dark mode, or sci-fi hacker mode, or whatever suits you.

Usage via run-medley:

  • Sci-fi mode: ./run-medley -fg "#008800" -bg "#111111" -xfull35
  • Dark mode: ./run-medley -fg "#ffffff" -bg "#000000" -xfull35

Pound sign isn't required. Just there for disambiguation.

AbeJellinek avatar Oct 12 '20 22:10 AbeJellinek

See Interlisp/medley#45

AbeJellinek avatar Oct 12 '20 22:10 AbeJellinek

Discuss at meeting before merging

AbeJellinek avatar Oct 12 '20 23:10 AbeJellinek

small size bitmap fonts were hand tuned to be legible on CRT black on white. The development of outline fonts depended on some innovations making the fonts render using grey-scale.

masinter avatar Oct 13 '20 17:10 masinter

I started to update this PR with the idea that it might affect the mouse cursor color, but I didn't understand what the code in the conflicting files were doing.

masinter avatar May 08 '21 17:05 masinter

It has nothing to do with the mouse cursor handling. It was only affecting the X11 idea of what the foreground and background colors are.

nbriggs avatar May 08 '21 17:05 nbriggs

This isn't mergeable in its current state. If we're going to do this, we need to fix things like BlackPixel/WhitePixel which should be ForegroundPixel/BackgroundPixel (and they will default to BlackPixelOfScreen()/WhitePixelOfScreen) and we have to fix the X resource database parsing to include these as all other X11 options are done.

nbriggs avatar Sep 13 '22 05:09 nbriggs

I was just excited to find a Proof of Concept that solved a frustrating problem of reading my screen. I make fewer typos and get fewer headaches with vifrocolor(T) with medley fonts.

https://us06web.zoom.us/rec/share/u4c7R8g_iIim9VvVPTR8mUPmPK7tsRyBO2PlZ3Pp6TgX0jKFvwppjCsUFVMKd5U.nmzITXVzwNNh1QY6 (Passcode: +%y3G9H!)

masinter avatar Sep 13 '22 05:09 masinter