diff options
Diffstat (limited to 'test/scanTest1.c')
-rw-r--r-- | test/scanTest1.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scanTest1.c b/test/scanTest1.c new file mode 100644 index 0000000..e14a620 --- /dev/null +++ b/test/scanTest1.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include <stdint.h> + +typedef struct Color { + unsigned char r; + unsigned char g; + unsigned char b; + unsigned char a; +} Color; + +Color lineScanner(uint16_t x, uint16_t y, uint32_t frameNumber) +{ + return (Color){.r = 0, .g = 0, .b = 255, .a = 255}; +} + |