Skip to content

Commit

Permalink
Add setLCDOverlay() clearing typescript overload
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrippling committed Aug 3, 2023
1 parent 5cfde78 commit 23adac3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libs/banglejs/jswrap_bangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -2349,11 +2349,15 @@ void jswrap_banglejs_setLCDOffset(int y) {
"name" : "setLCDOverlay",
"generate" : "jswrap_banglejs_setLCDOverlay",
"params" : [
["img","JsVar","An image"],
["img","JsVar","An image, or undefined to clear"],
["x","int","The X offset the graphics instance should be overlaid on the screen with"],
["y","int","The Y offset the graphics instance should be overlaid on the screen with"]
],
"#if" : "defined(BANGLEJS_Q3) || defined(DICKENS)"
"#if" : "defined(BANGLEJS_Q3) || defined(DICKENS)",
"typescript" : [
"setLCDOverlay(img: any, x: number, y: number): void;",
"setLCDOverlay(): void;"
]
}
Overlay an image or graphics instance on top of the contents of the graphics buffer.
Expand Down

0 comments on commit 23adac3

Please sign in to comment.