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

Fix UI sliders #8178

Merged
merged 2 commits into from
Nov 12, 2015
Merged

Fix UI sliders #8178

merged 2 commits into from
Nov 12, 2015

Conversation

CarlKenner
Copy link
Contributor

The UI for integer and floating point sliders is currently broken:

  • Using the direction buttons on the slider doesn't work because it takes you to the +/- buttons.
  • Trying to go to the +/- buttons doesn't work because it changes the slider.
  • There is no way to enter a precise number.
  • There is no indication of what the units are.
  • You can end up with non-round numbers using the +/- buttons.
  • You can't just type it in with the keyboard.

Entering lots of numbers was necessary for VR, so I fixed those problems and improved all the slider popups.

It now has a text input box.
+/- buttons are on the next line so you can cursor along slider.
And the units are optionally displayed.

# Conflicts:
#	UI/GameSettingsScreen.cpp
…d units.

# Conflicts:
#	UI/GameSettingsScreen.cpp
@hrydgard hrydgard merged commit bf84fda into hrydgard:master Nov 12, 2015
@hrydgard
Copy link
Owner

Thanks @CarlKenner , sorry for the delay in merging. Had to fix up a few little things, 2634f73 , but overall very nice.

@CarlKenner
Copy link
Contributor Author

Nicely done. Sorry about the little things you had to fix.
I know you were working on more important things, for example I notice Tenchu no longer crashes.

@unknownbrackets
Copy link
Collaborator

Right, that was #8189. Well, UI is important too, right?

-[Unknown]

@hrydgard
Copy link
Owner

I've been mostly working on prep for certain future graphics APIs, but that's also important :)

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

3 participants