Example #1
0
func (osx *osxSystemObject) GetWindowDims() (int, int, int, int) {
	globalLock.Lock()
	defer globalLock.Unlock()
	var x, y, dx, dy C.int
	C.GetWindowDims(unsafe.Pointer(osx.window), &x, &y, &dx, &dy)
	return int(x), int(y), int(dx), int(dy)
}
Example #2
0
func (osx *osxSystemObject) GetWindowDims() (int, int, int, int) {
	var x, y, dx, dy C.int
	C.GetWindowDims(unsafe.Pointer(osx.window), &x, &y, &dx, &dy)
	return int(x), int(y), int(dx), int(dy)
}