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

Wedge volume control sliders #7902

Merged
merged 3 commits into from Jan 7, 2020
Merged

Wedge volume control sliders #7902

merged 3 commits into from Jan 7, 2020

Conversation

nielsmh
Copy link
Contributor

@nielsmh nielsmh commented Jan 5, 2020

Current:
image

This patch:
image

The MIN ' ' ' ' ' MAX scale has seemed really awkward to me for a long time so here's an attempt at removing it.

As a bonus, also a general-purpose polygon fill function.

src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems more or less fine. I like all the consts :)

src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
src/gfx.cpp Show resolved Hide resolved
src/gfx.cpp Show resolved Hide resolved
src/gfx.cpp Outdated Show resolved Hide resolved
@nielsmh nielsmh merged commit 7413d65 into OpenTTD:master Jan 7, 2020
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.

None yet

2 participants