disable saturation / k values for now
This commit is contained in:
10
main.go
10
main.go
@@ -213,7 +213,7 @@ func main() {
|
||||
|
||||
y := float32(10)
|
||||
|
||||
minX := float32(20)
|
||||
minX := float32(60)
|
||||
maxX := float32(layout.controls.X + layout.controls.Width - 20)
|
||||
sliderWidth := maxX - minX - 20
|
||||
controlRowHeight := 20
|
||||
@@ -243,17 +243,19 @@ func main() {
|
||||
config.bVisible = gui.Toggle(rl.Rectangle{X: minX, Y: y, Width: 16, Height: 16}, "B", config.bVisible)
|
||||
config.b = uint8(gui.Slider(rl.Rectangle{X: minX + 20, Y: y, Width: sliderWidth, Height: 16}, "", "", float32(config.b), 0, 255))
|
||||
|
||||
y += float32(controlRowHeight)
|
||||
|
||||
/*
|
||||
// don't do anything with saturation / k values yet
|
||||
y += float32(controlRowHeight)
|
||||
config.desaturate = !gui.Toggle(rl.Rectangle{X: minX, Y: y, Width: 16, Height: 16}, "S", !config.desaturate)
|
||||
config.saturation = gui.Slider(rl.Rectangle{X: minX + 20, Y: y, Width: sliderWidth, Height: 16}, "", "", config.saturation, 0, 100)
|
||||
|
||||
y += float32(controlRowHeight)
|
||||
|
||||
gui.Label(rl.Rectangle{X: minX, Y: y, Width: 16, Height: 16}, "K")
|
||||
config.kValue = gui.Slider(rl.Rectangle{X: minX + 20, Y: y, Width: sliderWidth, Height: 16}, "", "", config.kValue, 0, 2)
|
||||
*/
|
||||
|
||||
y += float32(controlRowHeight + 10)
|
||||
|
||||
}
|
||||
|
||||
rl.EndDrawing()
|
||||
|
||||
Reference in New Issue
Block a user