aboutsummaryrefslogtreecommitdiff
path: root/vga.h
diff options
context:
space:
mode:
Diffstat (limited to 'vga.h')
-rw-r--r--vga.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vga.h b/vga.h
index a3274c4..f6fbbef 100644
--- a/vga.h
+++ b/vga.h
@@ -23,7 +23,8 @@ public:
VGA_COLOR_WHITE = 15,
};
- VGA(uint32_t address = 0xB8000);
+ VGA(vga_color fg = VGA_COLOR_BLACK, vga_color bg = VGA_COLOR_LIGHT_GREY,
+ uint32_t address = 0xB8000);
~VGA() = default;
void put_char(char c, size_t x, size_t y, uint8_t color = 0);