doodle/pkg/balance/feature_flags.go
Noah Petherbridge ba29f407cc SelectBoxes in Add/Edit Level Window
* Replace the radio buttons for Page Type and Wallpaper with the new
  SelectBox widgets from the UI toolkit.
* Choice of default palette also switched from a MenuButton to
  a SelectBox widget.
* Experimental "Browse..." option added to the Wallpaper drop-down when
  run in --experimental mode; not yet functional.
2021-06-06 14:32:52 -07:00

22 lines
416 B
Go

package balance
// Feature Flags to turn on/off experimental content.
var Feature = feature{
Zoom: false,
CustomWallpaper: false,
ChangePalette: false,
}
// FeaturesOn turns on all feature flags, from CLI --experimental option.
func FeaturesOn() {
Feature.Zoom = true
Feature.CustomWallpaper = true
Feature.ChangePalette = true
}
type feature struct {
Zoom bool
CustomWallpaper bool
ChangePalette bool
}