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

Feature request: opacity groups #12

Open
marceline-cramer opened this issue Aug 27, 2023 · 2 comments
Open

Feature request: opacity groups #12

marceline-cramer opened this issue Aug 27, 2023 · 2 comments

Comments

@marceline-cramer
Copy link

Hey! I'm looking to use vger in a project of mine but it doesn't support opacity groups (aka layered transparency). What would it take to add opacity groups to vger? I'd be willing to help implement it. :)

@wtholliday
Copy link
Contributor

This is partially implemented. See cur_layer and MAX_LAYERS.

In my C++ version of vger, I only needed a few layers. Do you need more than a few layers?

@marceline-cramer
Copy link
Author

My UI system doesn't impose a hard limit on the number of nested opacity layers, but I can't imagine any circumstances where more than four (the value of MAX_LAYERS) would be necessary, so I'll probably set a soft limit anyways. Yeah, that's all I need.

Thank you for the speedy response! :)

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

No branches or pull requests

2 participants