Add a slider UI widget

I'm not too happy with how I have to configure the step for each one
separately, but it's the best I can do at the moment.
This commit is contained in:
2020-03-24 22:33:26 +00:00
parent 69971b2825
commit 20ad9ae6f8
5 changed files with 266 additions and 9 deletions

View File

@@ -12,7 +12,8 @@ type Ordoor struct {
VideoPlayer []string `toml:"video_player"`
}
// Things set
// Things set in the options hash
// TODO: load defaults from Data/GenericData.dat if they're not set
type Options struct {
PlayMovies bool `toml:"play_movies"`
Animations bool `toml:"animations"`