Skip to content

Commit

Permalink
Merge pull request #2397 from bobrippling/typescript-lcdoverlay
Browse files Browse the repository at this point in the history
Add `setLCDOverlay()` clearing typescript overload
  • Loading branch information
gfwilliams committed Aug 4, 2023
2 parents 8692182 + 23adac3 commit bb98dc4
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 bb98dc4

Please sign in to comment.