| 2593 | } |
| 2594 | |
| 2595 | void DisplayManager_::drawRGBBitmap(int16_t x, int16_t y, const uint32_t *bitmap, int16_t w, int16_t h) |
| 2596 | { |
| 2597 | for (int16_t i = 0; i < w; i++) |
| 2598 | { |
| 2599 | for (int16_t j = 0; j < h; j++) |
| 2600 | { |
| 2601 | uint32_t pixelColor = bitmap[j * w + i]; |
| 2602 | matrix->drawPixel(x + i, y + j, pixelColor); |
| 2603 | } |
| 2604 | } |
| 2605 | } |
| 2606 | |
| 2607 | void DisplayManager_::drawPixel(int16_t x0, int16_t y0, uint32_t color) |
| 2608 | { |