ReactOS  0.4.15-dev-5122-g72bdbdd
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 
48 CODE_SEG("INIT")
49 BOOLEAN
50 NTAPI
52  _In_ PLOADER_PARAMETER_BLOCK LoaderBlock,
53  _In_ ULONG Count);
54 
55 VOID
56 NTAPI
58  _In_ ULONG SubPercentTimes100);
59 
60 CODE_SEG("INIT")
61 VOID
62 NTAPI
64 
65 CODE_SEG("INIT")
66 VOID
67 NTAPI
69  _In_ BOOLEAN TextMode);
70 
71 CODE_SEG("INIT")
72 VOID
73 NTAPI
VOID NTAPI InbvRotBarInit(VOID)
Definition: bootanim.c:435
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
unsigned char BOOLEAN
#define _In_
Definition: ms_sal.h:308
VOID NTAPI DisplayBootBitmap(_In_ BOOLEAN TextMode)
Definition: bootanim.c:471
int Count
Definition: noreturn.cpp:7
VOID NTAPI BootAnimTickProgressBar(_In_ ULONG SubPercentTimes100)
Ticks the progress bar. Used by InbvUpdateProgressBar() and related.
Definition: bootanim.c:312
VOID NTAPI FinalizeBootLogo(VOID)
Definition: bootanim.c:754
unsigned int ULONG
Definition: retypes.h:1
BOOLEAN NTAPI BootAnimInitialize(_In_ PLOADER_PARAMETER_BLOCK LoaderBlock, _In_ ULONG Count)
Definition: bootanim.c:275
static CODE_SEG("PAGE")
Definition: isapnp.c:1482