ReactOS 0.4.15-dev-8393-g61b7fb9
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>
11typedef struct _PALETTE_ENTRY
12{
17#include <poppack.h>
18
19// extern PVOID VideoOffScreenBuffer;
20
21PVOID VideoAllocateOffScreenBuffer(VOID); // Returns a pointer to an off-screen buffer sufficient for the current video mode
22
25
28
30VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount);
31VOID VideoFadeOut(ULONG ColorCount);
VOID VideoFadeIn(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:79
VOID VideoSetAllColorsToBlack(ULONG ColorCount)
Definition: video.c:67
VOID VideoFadeOut(ULONG ColorCount)
Definition: video.c:138
struct _PALETTE_ENTRY * PPALETTE_ENTRY
struct _PALETTE_ENTRY PALETTE_ENTRY
VOID VideoFreeOffScreenBuffer(VOID)
Definition: video.c:29
VOID VideoRestorePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:54
PVOID VideoAllocateOffScreenBuffer(VOID)
Definition: video.c:16
VOID VideoSavePaletteState(PPALETTE_ENTRY Palette, ULONG ColorCount)
Definition: video.c:44
VOID VideoCopyOffScreenBufferToVRAM(VOID)
Definition: video.c:38
Definition: video.h:12
UCHAR Blue
Definition: video.h:15
UCHAR Red
Definition: video.h:13
UCHAR Green
Definition: video.h:14
uint32_t ULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: xmlstorage.h:181