zenity/color_test.go
2020-01-22 01:15:29 +00:00

20 lines
367 B
Go

package zenity_test
import (
"image/color"
"github.com/ncruces/zenity"
)
func ExampleSelectColor() {
zenity.SelectColor(
zenity.Color(color.NRGBA{R: 0x66, G: 0x33, B: 0x99, A: 0x80}))
// Output:
}
func ExampleSelectColor_palette() {
zenity.SelectColor(
zenity.ShowPalette(),
zenity.Color(color.NRGBA{R: 0x66, G: 0x33, B: 0x99, A: 0xff}))
// Output:
}