Exemple #1
0
func (w *Window) FlushImage(bounds ...image.Rectangle) {
	onMainThread(func() {
		C.flushWindowScreen(w.cw)
	})
}
Exemple #2
0
func (w *Window) FlushImage() {
	w.oplock.Lock()
	defer w.oplock.Unlock()

	C.flushWindowScreen(w.cw)
}
Exemple #3
0
func (w *Window) FlushImage() {
	C.flushWindowScreen(w.cw)
}
Exemple #4
0
func (w *Window) FlushImage(bounds ...image.Rectangle) {
	w.oplock.Lock()
	defer w.oplock.Unlock()

	C.flushWindowScreen(w.cw)
}