add mouse and cursor

This commit is contained in:
maksw committed 2026-05-04 09:17:00 +02:00
1 parent cbb9ff469c
commit a5f0acfac8
10 files changed
+406 -35

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
#pragma once
// font8x16.h - embedded 8x16 VGA bitmap font, printable ASCII (0x20–0x7E)
// font8x16.h - embedded 8x16 VGA bitmap font, printable ASCII (0x20-0x7E)
// 95 glyphs × 16 bytes = 1520 bytes total.
// Each byte is one scanline; bit 7 = leftmost pixel.
#include <stdint.h>
@@ -135,7 +135,7 @@ static const uint8_t Font8x16[95 * 16] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
// 0x60 '`'
0x0C,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
// 0x61–0x7A lowercase - condensed to save space, using same shapes as upper offset by 32
// 0x61-0x7A lowercase - condensed to save space, using same shapes as upper offset by 32
// 0x61 'a'
0x00,0x00,0x00,0x1C,0x30,0x3C,0x33,0x33,0x6E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
// 0x62 'b'