Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow choice of foreground and background colors for Medley X11/SDL display #511

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

nbriggs
Copy link
Collaborator

@nbriggs nbriggs commented Sep 3, 2024

Accepts -fg/-foreground and -bg/-background , or the corresponding X resources ldex*foreground and ldex*background to specify the colors that will represent the monochrome Medley display pixels. The same color syntax, #RRBBGG (hex) or a named color in the X11-style, will work with the command line arguments for the SDL display subsystem case.

Accepts -fg/-foreground <color> and -bg/-background <color>,
or the corresponding X resources ldex*foreground and ldex*background
to specify the colors that will represent the monochrome Medley display
pixels.
@nbriggs nbriggs self-assigned this Sep 3, 2024
@nbriggs
Copy link
Collaborator Author

nbriggs commented Sep 3, 2024

Now extended to the SDL display subsystem. Added X11-style color name parsing based on an X11 table of name to RGB triples in the SDL specific code.

@nbriggs nbriggs changed the title Allow choice of foreground and background colors for Medley X11 display Allow choice of foreground and background colors for Medley X11/SDL display Sep 4, 2024
@nbriggs nbriggs marked this pull request as ready for review September 4, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant