Skip to content

Commit

Permalink
Move declaration of pixelArray2d
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMertes committed Jan 29, 2024
1 parent 242ebe2 commit b993138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/draw.s7i
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ include "math.s7i";

var PRIMITIVE_WINDOW: curr_win is PRIMITIVE_WINDOW.value;

const type: pixelArray2d is array array pixel;


(**
* Convert a [[color]] to a pixel.
Expand Down
2 changes: 2 additions & 0 deletions lib/graph.s7i
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ const func PRIMITIVE_WINDOW: capturePixmap (
ref integer: left, ref integer: upper,
ref integer: width, ref integer: height) is action "DRW_CAPTURE";

const type: pixelArray2d is array array pixel;

const func bstring: getPixelData (
in PRIMITIVE_WINDOW: aWindow) is action "DRW_GET_PIXEL_DATA";
const func bstring: getPixelData (
Expand Down

0 comments on commit b993138

Please sign in to comment.