mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 15:30:50 +00:00
[qwaq] Offset position when forwardning mvaddstr
This commit is contained in:
parent
4de2c6b30e
commit
8dcb3fefb3
1 changed files with 7 additions and 0 deletions
|
@ -206,6 +206,13 @@ updateScreenCursor (View *view)
|
|||
[textContext mvaddch: pos, ch];
|
||||
}
|
||||
|
||||
- (void) mvaddstr: (Point) pos, string str
|
||||
{
|
||||
pos.x += xpos;
|
||||
pos.y += ypos;
|
||||
[textContext mvaddstr: pos, str];
|
||||
}
|
||||
|
||||
-move: (Point) delta
|
||||
{
|
||||
xpos += delta.x;
|
||||
|
|
Loading…
Reference in a new issue