Lines Matching refs:vb
229 void vtbuf_scroll_mode(struct vt_buf *vb, int yes);
230 void vtbuf_dirty(struct vt_buf *vb, const term_rect_t *area);
233 int vtbuf_iscursor(const struct vt_buf *vb, int row, int col);
236 int vtbuf_set_mark(struct vt_buf *vb, int type, int col, int row);
237 int vtbuf_get_marked_len(struct vt_buf *vb);
238 void vtbuf_extract_marked(struct vt_buf *vb, term_char_t *buf, int sz);
249 #define VTBUF_SLCK_ENABLE(vb) vtbuf_scroll_mode((vb), 1) argument
250 #define VTBUF_SLCK_DISABLE(vb) vtbuf_scroll_mode((vb), 0) argument
252 #define VTBUF_MAX_HEIGHT(vb) \ argument
253 ((vb)->vb_history_size)
254 #define VTBUF_GET_ROW(vb, r) \ argument
255 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)])
256 #define VTBUF_GET_FIELD(vb, r, c) \ argument
257 ((vb)->vb_rows[((vb)->vb_roffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
258 #define VTBUF_FIELD(vb, r, c) \ argument
259 ((vb)->vb_rows[((vb)->vb_curroffset + (r)) % VTBUF_MAX_HEIGHT(vb)][(c)])
260 #define VTBUF_ISCURSOR(vb, r, c) \ argument
261 vtbuf_iscursor((vb), (r), (c))
272 void vthistory_addlines(struct vt_buf *vb, int offset);