/** arm-016-util.h */ #ifndef arm_016_util #define arm_016_util #define SCREEN_WIDTH 1920 #define SCREEN_HEIGHT 1080 #define SCREEN_DEPTH 24 /* 16 or 32-bit */ #define COLOUR_DELTA 0.05 /* Float from 0 to 1 incremented by this amount */ typedef struct { float r; float g; float b; float a; } colour_t; #define dickbuttHeight 352 #define dickbuttWidth 624 #define dickbuttBytes 658945 extern const int dickbutt[dickbuttBytes]; extern void setColor(volatile unsigned char* fb, colour_t pixel, long x, long y, long pitch); #endif