mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
[qwaq] Add blitFromBuffer to TextContext protocol
This commit is contained in:
parent
2f3ca9d9e4
commit
01835cbd94
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
|||
@end
|
||||
|
||||
@protocol TextContext
|
||||
- blitFromBuffer: (DrawBuffer *) srcBuffer to: (Point) pos from: (Rect) rect;
|
||||
- (Extent) size;
|
||||
|
||||
- (void) printf: (string) fmt, ...;
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
[(id)textContext blitFromBuffer: buf to: makePoint (6, 3) from: [buf rect]];
|
||||
[textContext blitFromBuffer: buf to: makePoint (6, 3) from: [buf rect]];
|
||||
[self refresh];
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue