Пример #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
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
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
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)))
}