ReactOS  0.4.15-dev-1039-gb9754fa
precomp.h File Reference
#include <ntifs.h>
#include <ndk/halfuncs.h>
#include <drivers/bootvid/bootvid.h>
Include dependency graph for precomp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tagBITMAPINFOHEADER
 

Macros

#define BOOTCHAR_HEIGHT   13
 
#define BOOTCHAR_WIDTH   8
 
#define BI_RGB   0
 
#define BI_RLE4   2
 
#define RGB(r, g, b)   ((RGBQUAD)(((UCHAR)(b) | ((USHORT)((UCHAR)(g))<<8)) | (((ULONG)(UCHAR)(r))<<16)))
 
#define GetRValue(quad)   ((UCHAR)(((quad)>>16) & 0xFF))
 
#define GetGValue(quad)   ((UCHAR)(((quad)>>8) & 0xFF))
 
#define GetBValue(quad)   ((UCHAR)((quad) & 0xFF))
 
#define InitializePalette()   InitPaletteWithTable((PULONG)VidpDefaultPalette, BV_MAX_COLORS)
 
#define GetFontPtr(_Char)   &VidpFontData[_Char * BOOTCHAR_HEIGHT];
 
#define FONT_PTR_DELTA   (1)
 

Typedefs

typedef struct tagBITMAPINFOHEADER BITMAPINFOHEADER
 
typedef struct tagBITMAPINFOHEADERPBITMAPINFOHEADER
 
typedef ULONG RGBQUAD
 

Variables

UCHAR VidpTextColor
 
ULONG VidpCurrentX
 
ULONG VidpCurrentY
 
ULONG VidpScrollRegion [4]
 
UCHAR VidpFontData [256 *BOOTCHAR_HEIGHT]
 
const RGBQUAD VidpDefaultPalette [BV_MAX_COLORS]
 

Macro Definition Documentation

◆ BI_RGB

#define BI_RGB   0

◆ BI_RLE4

#define BI_RLE4   2

◆ BOOTCHAR_HEIGHT

#define BOOTCHAR_HEIGHT   13

Definition at line 27 of file precomp.h.

◆ BOOTCHAR_WIDTH

#define BOOTCHAR_WIDTH   8

Definition at line 28 of file precomp.h.

◆ FONT_PTR_DELTA

#define FONT_PTR_DELTA   (1)

Definition at line 75 of file precomp.h.

◆ GetBValue

#define GetBValue (   quad)    ((UCHAR)((quad) & 0xFF))

Definition at line 66 of file precomp.h.

◆ GetFontPtr

#define GetFontPtr (   _Char)    &VidpFontData[_Char * BOOTCHAR_HEIGHT];

Definition at line 74 of file precomp.h.

◆ GetGValue

#define GetGValue (   quad)    ((UCHAR)(((quad)>>8) & 0xFF))

Definition at line 65 of file precomp.h.

◆ GetRValue

#define GetRValue (   quad)    ((UCHAR)(((quad)>>16) & 0xFF))

Definition at line 64 of file precomp.h.

◆ InitializePalette

Definition at line 68 of file precomp.h.

◆ RGB

#define RGB (   r,
  g,
  b 
)    ((RGBQUAD)(((UCHAR)(b) | ((USHORT)((UCHAR)(g))<<8)) | (((ULONG)(UCHAR)(r))<<16)))

Definition at line 62 of file precomp.h.

Typedef Documentation

◆ BITMAPINFOHEADER

◆ PBITMAPINFOHEADER

◆ RGBQUAD

Variable Documentation

◆ VidpCurrentX

ULONG VidpCurrentX

Definition at line 7 of file common.c.

Referenced by VidDisplayString(), VidInitialize(), VidResetDisplay(), and VidSetScrollRegion().

◆ VidpCurrentY

ULONG VidpCurrentY

Definition at line 8 of file common.c.

Referenced by VidDisplayString(), VidInitialize(), VidResetDisplay(), and VidSetScrollRegion().

◆ VidpDefaultPalette

const RGBQUAD VidpDefaultPalette[BV_MAX_COLORS]

Definition at line 23 of file common.c.

Referenced by InitPaletteWithTable().

◆ VidpFontData

UCHAR VidpFontData[256 *BOOTCHAR_HEIGHT]

Definition at line 9 of file fontdata.c.

Referenced by DisplayCharacter().

◆ VidpScrollRegion

ULONG VidpScrollRegion[4]

Definition at line 10 of file common.c.

Referenced by DoScroll(), VidDisplayString(), and VidSetScrollRegion().

◆ VidpTextColor

UCHAR VidpTextColor

Definition at line 5 of file common.c.

Referenced by VidDisplayString(), and VidSetTextColor().