Esempio n. 1
0
func (win32 *win32SystemObject) GetWindowDims() (int, int, int, int) {
	var x, y, dx, dy C.int
	C.GlopGetWindowDims(unsafe.Pointer(win32.window), &x, &y, &dx, &dy)
	return int(x), int(y), int(dx), int(dy)
}
Esempio n. 2
0
func (linux *linuxSystemObject) GetWindowDims() (int, int, int, int) {
	var x, y, dx, dy C.int
	C.GlopGetWindowDims(&x, &y, &dx, &dy)
	return int(x), int(y), int(dx), int(dy)
}