ReactOS  0.4.15-dev-1054-gd029a62
display.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Boot Video Driver
3  * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4  * PURPOSE: Provides display settings for BOOTVID, HAL and NTOSKRNL.
5  * COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com)
6  */
7 
8 #pragma once
9 
10 /* For default VGA */
11 #define SCREEN_WIDTH 640
12 #define SCREEN_HEIGHT 480
13 
14 /* Boot video default color palette constants */
15 #define BV_COLOR_BLACK 0
16 #define BV_COLOR_RED 1
17 #define BV_COLOR_GREEN 2
18 #define BV_COLOR_BROWN 3
19 #define BV_COLOR_BLUE 4
20 #define BV_COLOR_MAGENTA 5
21 #define BV_COLOR_CYAN 6
22 #define BV_COLOR_DARK_GRAY 7
23 #define BV_COLOR_LIGHT_GRAY 8
24 #define BV_COLOR_LIGHT_RED 9
25 #define BV_COLOR_LIGHT_GREEN 10
26 #define BV_COLOR_YELLOW 11
27 #define BV_COLOR_LIGHT_BLUE 12
28 #define BV_COLOR_LIGHT_MAGENTA 13
29 #define BV_COLOR_LIGHT_CYAN 14
30 #define BV_COLOR_WHITE 15
31 #define BV_COLOR_NONE 16
32 #define BV_MAX_COLORS 16