Skip to content

BACKENDS: Use DefaultPaletteManager for all backends #6595

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ccawley2011
Copy link
Member

By having a common base class that manages the palette, it becomes easier to extend it with new features. It also ensures that all implementations follow the specified behaviour for grabPalette() ("This should return exactly the same RGB data as was setup via previous setPalette calls.").

@lephilousophe
Copy link
Member

If you are going to do this, then why do you keep PaletteManager interface?
Just make DefaultPaletteManager the new PaletteManager and keep it as a base class of GraphicsManager?
This should make the code simpler.

BTW, did you check that every commit is compilable?

@OMGPizzaGuy
Copy link
Member

I was thinking of suggesting actual use DefaultPaletteManager or removing it altogether. Either way this definitely aligns with my interests.

@bluegr
Copy link
Member

bluegr commented May 18, 2025

@ccawley2011 any updates?

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.

4 participants