示例#1
0
func (win *Window) AddGet(x, y int, c int32, flags int32) {
	C.mvwaddch((*C.WINDOW)(win), C.int(y), C.int(x), C.chtype(c)|C.chtype(flags))
}
示例#2
0
文件: curses.go 项目: zozor/gocurse
func (w *Window) Addch(x, y int, c int32, flags int32) {
	C.mvwaddch(w.win, C.int(y), C.int(x), C.chtype(c)|C.chtype(flags))
}
示例#3
0
// MoveAddChar prints a single character to the window at the specified
// y x coordinates. See AddChar for more info.
func (w *Window) MoveAddChar(y, x int, ach Char) {
	C.mvwaddch(w.win, C.int(y), C.int(x), C.chtype(ach))
}
示例#4
0
func (window *Window) Mvaddch(y, x int, ch rune) {
	C.mvwaddch(window.cwin, C.int(y), C.int(x), C.chtype(ch))
}
示例#5
0
func (win *Window) Mvaddch(y, x int, ch int) {
	C.mvwaddch((*C.WINDOW)(win), C.int(y), C.int(x), C.chtype(ch))
}
示例#6
0
文件: curses.go 项目: repos-go/curses
func (win *Window) Mvaddch(y, x int, ch int) {
	C.mvwaddch(win.cwin, C.int(y), C.int(x), C.chtype(ch))
}
示例#7
0
func (win *Window) Addch(x, y int, c int32, flags int32) {
	in()
	defer out()
	C.mvwaddch((*C.WINDOW)(win), C.int(y), C.int(x), C.chtype(c)|C.chtype(flags))
}
示例#8
0
文件: window.go 项目: zyxar/gocurse
func (win *Window) Mvaddch(x, y int, c chtype) chtype {
	return chtype(C.mvwaddch((*C.WINDOW)(win), C.int(y), C.int(x), C.chtype(c)))
}