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

[Suggestion]: New Draw Mode for Bar Textures #1223

Open
EmmettJayhart opened this issue Jul 15, 2024 · 2 comments
Open

[Suggestion]: New Draw Mode for Bar Textures #1223

EmmettJayhart opened this issue Jul 15, 2024 · 2 comments

Comments

@EmmettJayhart
Copy link
Contributor

What's your suggestion?

This new draw mode would be something in between Stretch and Repeat.

The way it would work is that the texture would be stretched to fill the entire bar (this is identical to Stretch when the bar is full), but the difference is when the bar's value is not full, it acts more like the Repeats, where the texture does not change its stretch to the new bar, instead it gets masked by the fill like the Repeats.

In essence, the current Stretch would be a Dynamic Stretch to change with the bar, while this new Stretch would be a Static Stretch that does not care about the bar value.

@EmmettJayhart
Copy link
Contributor Author

Here is how it could look, simulated by changing the draw mode from Stretch to Repeat Horizontal
image
image

Here is me accentuating the problems of the current draw modes
image
image

You can see that the simulated Static Stretch looks better, because Stretch looks bad on low lengths, and Repeat looks bad on high lengths.

@Tischel
Copy link
Contributor

Tischel commented Jul 16, 2024

It's a good idea but hard to execute on top of DelvUI's window clipping system sadly.

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