Minor tweaks/missed bits.

This commit is contained in:
Nicholas Marriott
2007-11-27 19:32:15 +00:00
parent 76c8a590db
commit 80e30f693c
5 changed files with 18 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $Id: screen.c,v 1.50 2007-11-27 19:23:34 nicm Exp $ */
/* $Id: screen.c,v 1.51 2007-11-27 19:32:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -323,6 +323,14 @@ screen_draw_start(struct screen_draw_ctx *ctx, struct screen *s,
ctx->write(ctx->data, TTY_CURSOROFF);
}
/* Set offset. */
void
screen_draw_set_offset(struct screen_draw_ctx *ctx, u_int ox, u_int oy)
{
ctx->ox = ox;
ctx->oy = oy;
}
/* Set selection. */
void
screen_draw_set_selection(struct screen_draw_ctx *ctx,