* Draw a character with a transparent background * Don't bother caching; only the position bar and the cursor use this */
| 1629 | * Don't bother caching; only the position bar and the cursor use this |
| 1630 | */ |
| 1631 | static void |
| 1632 | vesa_WriteCharTransparent(int chr, int pixx, int pixy, int colour) |
| 1633 | { |
| 1634 | int px, py; |
| 1635 | |
| 1636 | for (py = 0; py < (int) vesa_char_height; ++py) { |
| 1637 | for (px = 0; px < (int) vesa_char_width; ++px) { |
| 1638 | if (vesa_GetCharPixel(chr, px, py)) { |
| 1639 | vesa_WritePixel(pixx + px, pixy + py, colour + FIRST_TEXT_COLOR); |
| 1640 | } |
| 1641 | } |
| 1642 | } |
| 1643 | } |
| 1644 | |
| 1645 | void |
| 1646 | vesa_flush_text(void) |
no test coverage detected