func (w *window) SetOwnForegroundColor(color Color) { p := ptr(w) if p == nil { return } C.wxWindow_SetOwnForegroundColor(p, C.Color(color)) }
func (w *window) SetForegroundColor(color Color) bool { p := ptr(w) if p == nil { return false } return goBool(C.wxWindow_SetForegroundColor(p, C.Color(color))) }
func (board Board) ColorMask(color Color) Mask { return Mask(C.ColorMask(&board[0], C.Color(color))) }
func (board *Board) SetColor(row, col int, color Color) { board[col][row] = C.Color(color) }
func (board *Board) FillEmptyExcluding(exclude Color) { C.FillEmptyExcluding(&board[0], C.Color(exclude)) }