forked from Blendman974/faceclaw
Depth effects
This commit is contained in:
1 parent
4320021222
commit
392554dd37
26 files changed
+623
-136
No files matched your search
@@ -58,6 +58,10 @@ function ui(fontSize = 12) {
|
||||
const font = BdfFont.parse(source(`app/fonts/terminus/ter-u${fontSize}n.bdf`));
|
||||
class RecordingImage extends graphics.GrayImage {
|
||||
texts = [];
|
||||
drawMenuSelection(source, x, y, ...args) {
|
||||
this.texts.push(...source.texts.map(t => ({ ...t, x: t.x + x, y: t.y + y })));
|
||||
super.drawMenuSelection(source, x, y, ...args);
|
||||
}
|
||||
drawText(font, x, y, text, value) {
|
||||
this.texts.push({ x, y, text });
|
||||
super.drawText(font, x, y, text, value);
|
||||
|
||||
Reference in new issue
Block a user