示例#1
0
文件: window.go 项目: zyxar/gocurse
func (win *Window) Getcury() int {
	return int(C.getcury((*C.WINDOW)(win)))
}
示例#2
0
/* Returns the current coordinates of the cursor */
func (w *Window) GetXY() (int, int) {
	return int(C.getcurx((*C.WINDOW)(w))), int(C.getcury((*C.WINDOW)(w)))

}
示例#3
0
文件: window.go 项目: zyxar/gocurse
func (win *Window) Getyx() (int, int) {
	return int(C.getcury((*C.WINDOW)(win))), int(C.getcurx((*C.WINDOW)(win)))
}