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

Introduce color lib #690

Merged
merged 5 commits into from
Mar 8, 2025
Merged

Conversation

J005t67
Copy link
Contributor

@J005t67 J005t67 commented Mar 7, 2025

I started a color library for the following reasons.

  • color names are more easy to read and remember than hardcoded colors
  • color names are more easy to search for, especially when they contain both the functional name, (so yo can search for TramLine/TramLineDot etc) and a physical name (so you can search for Black/Blue etc.)
  • currently the code contains about 1600 direct dependencies to opengl toolkit. (Search for 'GL.') For portability it is better to start moving all the colors to the colorlib.

@J005t67 J005t67 merged commit 3ef3f1d into AgOpenGPS-Official:develop Mar 8, 2025
1 check passed
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.

2 participants