I need some help colorizing some bit map functions. ive been trying by myself for a week and just cant seem to get it right. can some one please help me.
void drawTriangle(int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2);
void fillTriangle(int8_t x0, int8_t y0, int8_t x1, int8_t y1, int8_t x2, int8_t y2);
void drawRoundRect(int8_t x0, int8_t y0, int8_t w, int8_t h, int8_t radius);
void fillRoundRect(int8_t x0, int8_t y0, int8_t w, int8_t h, int8_t radius);
void drawBitmap(int8_t x, int8_t y, const uint8_t *bitmap);
void drawBitmap(int8_t x, int8_t y, int8_t w, int8_t h , const uint8_t *bitmap);
void drawBitmap(int8_t x, int8_t y, const uint8_t *bitmap, uint8_t rotation, uint8_t flip);
void drawBitmap(int8_t x, int8_t y, int8_t w, int8_t h, const uint8_t *bitmap, uint8_t dx, uint8_t dy, uint8_t dw, uint8_t dh);
boolean getBitmapPixel(const uint8_t* bitmap, uint8_t x, uint8_t y);
void drawTilemap(int x, int y, const uint8_t *tilemap, const uint8_t **spritesheet);
void drawTilemap(int x, int y, const uint8_t *tilemap, const uint8_t **spritesheet,uint8_t dx,uint8_t dy,uint8_t dw,uint8_t dh);
typedef uint16_t color;
I cannot post the cpp part so im attaching the file