ReactOS  0.4.15-dev-4603-gb922b6d
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
22 
25 
26 VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount);
28 
30 VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount);
31 VOID VideoFadeOut(ULONG ColorCount);
VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:80
VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:45
struct _PALETTE_ENTRY PALETTE_ENTRY
UCHAR Blue
Definition: video.h:15
VOID VideoCopyOffScreenBufferToVRAM(VOID)
Definition: video.c:39
VOID VideoFreeOffScreenBuffer(VOID)
Definition: video.c:30
Definition: video.h:11
struct _PALETTE_ENTRY * PPALETTE_ENTRY
VOID VideoFadeOut(ULONG ColorCount)
Definition: video.c:139
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:68
VOID VideoRestorePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:55