diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-27 19:32:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-27 19:32:15 +0000 |
commit | 80e30f693c925841b5874063ca1d8aab2c42d231 (patch) | |
tree | 5890bde38ebe3e4e2ff96cbb658151efc700164a /screen.c | |
parent | 76c8a590db14131928f79123adcab934a3825501 (diff) | |
download | rtmux-80e30f693c925841b5874063ca1d8aab2c42d231.tar.gz rtmux-80e30f693c925841b5874063ca1d8aab2c42d231.tar.bz2 rtmux-80e30f693c925841b5874063ca1d8aab2c42d231.zip |
Minor tweaks/missed bits.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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, |