Exemplo n.º 1
0
func GetNewWindowPosition() (int, int) {
	var w, h C.int

	C.al_get_new_window_position(&w, &h)

	return (int)(w), (int)(h)
}
Exemplo n.º 2
0
func GetNewWindowPosition() (int32, int32) {
	var x, y C.int
	C.al_get_new_window_position(&x, &y)
	return int32(x), int32(y)
}
Exemplo n.º 3
0
// Returns the position where new windowed displays will be created
func NewWindowPosition() (x, y int) {
	var cx, cy C.int
	C.al_get_new_window_position(&cx, &cy)
	return int(cx), int(cy)
}