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

Opacity slider for minimap #93

Open
mrofa opened this issue May 16, 2016 · 3 comments
Open

Opacity slider for minimap #93

mrofa opened this issue May 16, 2016 · 3 comments

Comments

@mrofa
Copy link

mrofa commented May 16, 2016

Like in the title

@FluffierThanThou
Copy link
Collaborator

tricky to do in the current implementation, for two reasons;

First - we're using a Window to draw with, using the standard WindowStack system. I can't set opacity in there. We'd have to use ImmediateWindows I think (that's what floatmenus use).

Second - the minimap is really a series of textures for each overlay. Messing with 'overall' opacity levels would give some odd stacking results.

@Miner239
Copy link

Maybe no need for 'overall' opacity levels, just the base terrain coloring. That way we can set all textures' opacity without regard for the stacking.

@ForsakenShell
Copy link
Contributor

It should be possible to do a final composite texture without opacity and then render that individually with the opacity setting. There are options to disable drawing the shadow and background for windows, this should be entirely doable with a couple minor changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants