From: Alan Cox Date: Sat, 3 Oct 2015 15:57:07 +0000 (+0100) Subject: graphics: add 'text only' mode type X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9d4bdc35c9f2117680d9fe83d2db31f4c50e9333;p=FUZIX.git graphics: add 'text only' mode type We need this so we can describe modes for 40/80 switching, or moving from a graphics to a text mode --- diff --git a/Kernel/include/graphics.h b/Kernel/include/graphics.h index 115612f7..62759c6f 100644 --- a/Kernel/include/graphics.h +++ b/Kernel/include/graphics.h @@ -12,6 +12,7 @@ struct display { #define FMT_MONO_WB 1 #define FMT_COLOUR4 2 #define FMT_COLOUR16 3 +#define FMT_TEXT 4 /* Text only mode */ /* Those sufficiently funky */ #define FMT_SPECTRUM 128 #define FMT_VDP 129 /* VDP graphics engines */ diff --git a/Library/include/sys/graphics.h b/Library/include/sys/graphics.h index 857639f9..768fd118 100644 --- a/Library/include/sys/graphics.h +++ b/Library/include/sys/graphics.h @@ -12,6 +12,7 @@ struct display { #define FMT_MONO_WB 1 #define FMT_COLOUR4 2 #define FMT_COLOUR16 3 +#define FMT_TEXT 4 /* Text only mode */ /* Those sufficiently funky */ #define FMT_SPECTRUM 128 #define FMT_VDP 129 /* VDP graphics engines */