Noah Petherbridge
ba29f407cc
* 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.
22 lines
416 B
Go
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
|
|
}
|