From 4a6df8f888555be1f2c760790b5ecdc70e8b0a52 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Jul 2017 17:18:07 +0200 Subject: tested with pcc, works removed some weird comments in vga_font.h troubling pcc --- src/README | 8 ++++++++ src/drivers/video/vga_font.h | 12 ++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/README b/src/README index 9c6b2b5..1f3c8dc 100644 --- a/src/README +++ b/src/README @@ -46,6 +46,14 @@ Driver framework and specific drivers. * mouse.c - PS/2 mouse * vga.c - standard VGA video driver +gui +--- + +* widget.c - basic GUI widget definining the interface of all GUI objects +* composite_widget.c - a widget which is composed of a set of widgets +* text_widget.c - a widget showing text +* desktop.c - the top-level composite widget covering the whole desktop + libc ---- diff --git a/src/drivers/video/vga_font.h b/src/drivers/video/vga_font.h index fd66c3b..72417f8 100644 --- a/src/drivers/video/vga_font.h +++ b/src/drivers/video/vga_font.h @@ -5,12 +5,12 @@ /// bitmap font structure struct bitmap_font { - unsigned char Width; ///< max. character width - unsigned char Height; ///< character height - unsigned short Chars; ///< number of characters in font - const unsigned char *Widths; ///< width of each character - const unsigned short *Index; ///< encoding to character index - const unsigned char *Bitmap; ///< bitmap of all characters + unsigned char Width; // max. character width + unsigned char Height; // character height + unsigned short Chars; // number of characters in font + const unsigned char *Widths; // width of each character + const unsigned short *Index; // encoding to character index + const unsigned char *Bitmap; // bitmap of all characters }; /// @{ defines to have human readable font files -- cgit v1.2.3-54-g00ecf