ReactOS  0.4.15-dev-506-ga3ec01c
video.h
Go to the documentation of this file.
1 /*
2  * PROJECT: FreeLoader
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: UI Video helpers for special effects.
5  * COPYRIGHT: Copyright 1998-2003 Brian Palmer <brianp@sginet.com>
6  */
7 
8 #pragma once
9 
10 #include <pshpack1.h>
11 typedef struct _PALETTE_ENTRY
12 {
17 #include <poppack.h>
18 
19 // extern PVOID VideoOffScreenBuffer;
20 
21 PVOID VideoAllocateOffScreenBuffer(VOID); // Returns a pointer to an off-screen buffer sufficient for the current video mode
23 
24 VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount);
26 
28 VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount);
29 VOID VideoFadeOut(ULONG ColorCount);
VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:75
VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:40
struct _PALETTE_ENTRY PALETTE_ENTRY
UCHAR Blue
Definition: video.h:15
VOID VideoCopyOffScreenBufferToVRAM(VOID)
Definition: video.c:34
Definition: video.h:11
struct _PALETTE_ENTRY * PPALETTE_ENTRY
VOID VideoFadeOut(ULONG ColorCount)
Definition: video.c:134
UCHAR Red
Definition: video.h:13
unsigned char UCHAR
Definition: xmlstorage.h:181
PVOID VideoAllocateOffScreenBuffer(VOID)
Definition: video.c:17
unsigned int ULONG
Definition: retypes.h:1
UCHAR Green
Definition: video.h:14
VOID VideoSetAllColorsToBlack(ULONG ColorCount)
Definition: video.c:63
VOID VideoRestorePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:50