ReactOS 0.4.15-dev-8235-gcd88a97
logo.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: Boot Theme & Animation header
5 * COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com)
6 */
7
8#pragma once
9
10//
11// Positions of areas and images
12//
13
14#define VID_SCROLL_AREA_LEFT 32
15#define VID_SCROLL_AREA_TOP 80
16#define VID_SCROLL_AREA_RIGHT 631
17#define VID_SCROLL_AREA_BOTTOM 400
18
19#define VID_PROGRESS_BAR_LEFT 259
20#define VID_PROGRESS_BAR_TOP 352
21#define VID_PROGRESS_BAR_WIDTH 121
22#define VID_PROGRESS_BAR_HEIGHT 12
23
24/* 16px space between shutdown logo and message */
25#define VID_SHUTDOWN_LOGO_LEFT 225
26#define VID_SHUTDOWN_LOGO_TOP 114
27#define VID_SHUTDOWN_MSG_LEFT 213
28#define VID_SHUTDOWN_MSG_TOP 354
29
30#define VID_SKU_AREA_LEFT 418
31#define VID_SKU_AREA_TOP 230
32#define VID_SKU_AREA_RIGHT 454
33#define VID_SKU_AREA_BOTTOM 256
34
35#define VID_SKU_SAVE_AREA_LEFT 413
36#define VID_SKU_SAVE_AREA_TOP 237
37
38#define VID_SKU_TEXT_LEFT 180
39#define VID_SKU_TEXT_TOP 121
40
41#define VID_FOOTER_BG_TOP (SCREEN_HEIGHT - 59)
42
43
44//
45// Boot Splash-Screen Functions
46//
47
48CODE_SEG("INIT")
52 _In_ PLOADER_PARAMETER_BLOCK LoaderBlock,
54
55VOID
58 _In_ ULONG SubPercentTimes100);
59
60CODE_SEG("INIT")
61VOID
64
65CODE_SEG("INIT")
66VOID
69 _In_ BOOLEAN TextMode);
70
71CODE_SEG("INIT")
72VOID
75
76VOID
79
80VOID
#define CODE_SEG(...)
unsigned char BOOLEAN
VOID NTAPI FinalizeBootLogo(VOID)
Definition: bootanim.c:799
VOID NTAPI BootAnimTickProgressBar(_In_ ULONG SubPercentTimes100)
Ticks the progress bar. Used by InbvUpdateProgressBar() and related.
Definition: bootanim.c:318
BOOLEAN NTAPI BootAnimInitialize(_In_ PLOADER_PARAMETER_BLOCK LoaderBlock, _In_ ULONG Count)
Definition: bootanim.c:281
VOID NTAPI InbvRotBarInit(VOID)
Definition: bootanim.c:443
VOID NTAPI DisplayBootBitmap(_In_ BOOLEAN TextMode)
Definition: bootanim.c:507
VOID NTAPI DisplayShutdownBitmap(VOID)
Definition: bootanim.c:924
VOID NTAPI DisplayShutdownText(VOID)
Definition: bootanim.c:981
#define _In_
Definition: ms_sal.h:308
int Count
Definition: noreturn.cpp:7
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59