类型 WindowControlsStyle
API 文档由 Go 源码生成,内容为英文。
type WindowControlsStyle struct {
// Foreground is the glyph's color, Hover the button's background under the
// pointer, and Pressed while it is held down.
Foreground, Hover, Pressed ui.Color
// Close is the close button's background under the pointer, and
// CloseForeground its glyph then. Pressed fades it.
Close, CloseForeground ui.Color
// Names are what assistive technology calls the buttons. They default to
// English; an application that is translated sets them.
Minimize, Maximize, Restore, CloseName string
}WindowControlsStyle is how the window buttons look. A zero field takes a default that suits Config.ClearColor.