zenity/color_test.go

21 lines
365 B
Go
Raw Normal View History

2020-01-18 07:40:16 -05:00
package zenity_test
import (
"image/color"
"github.com/ncruces/zenity"
)
func ExampleSelectColor() {
zenity.SelectColor(
zenity.Color(color.RGBA{R: 0x66, G: 0x33, B: 0x99, A: 0xff}))
// Output:
}
func ExampleSelectColor_palette() {
zenity.SelectColor(
zenity.ShowPalette(),
zenity.Color(color.RGBA{R: 0x66, G: 0x33, B: 0x99, A: 0xff}))
// Output:
}