Skip to content

Some AmigaGPT Colours for texts are hardly readable on a light grey background #27

@cyfm-morphos

Description

@cyfm-morphos

AmigaGPT Colours for some texts are hardly readable on a light grey background, e.g. the yellowish "Sending request..." on the bottom left above the progress bar:

Image

AmigaGPT currently uses pens to refer to colors in various locations

yellowPen = ObtainBestPen(screen->ViewPort.ColorMap, 0xFFFFFFFF, 0xFFFFFFFF,

Starting with MUI4?, you can use RGB colours directly within MUI strings and on truecolour 15/16/24/32 bit screens.

snprintf(formattedMessage, strlen(message) + 20, "\33P[%lu\33p[2]%s\0", pen,

snprintf(formattedMessage, strlen(message) + 20, "\33P[%lu\33p[2]%s\0", pen, message);

Instead of specifying an indirect pen number, you can either specify a 6digit RRGGBB hex value or a 8digit AARRGGBB value. Works for both foreground- and background colour.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions