blob: 34b6d03846387b46b0cffafd882c31658153e363 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#ifndef UEFI_MONITOR_TEST_H
#define UEFI_MONITOR_TEST_H
#include "Graphics.h"
#define UMT_VERSION L"0.1.0"
typedef struct _UMT_CONTEXT UMT_CONTEXT;
typedef struct {
VOID (*Init)(UMT_CONTEXT *);
VOID (*Doit)(UMT_CONTEXT *);
VOID (*Tip)(UMT_CONTEXT *);
VOID (*ChangeParam)(UMT_CONTEXT *, INT8);
VOID (*ChangeValue)(UMT_CONTEXT *, INT8);
} UMT_STATE_ACTIONS;
enum UMT_STATE {
UMT_STATE_MAIN_MENU = 0,
UMT_STATE_SETTINGS,
UMT_STATE_SOLID_COLORS_TEST,
UMT_STATE_GRAYSCALE_TEST,
UMT_STATE_GRADIENTS_TEST,
UMT_STATE_CHESSBOARD_TEST,
UMT_STATE_END
};
struct _UMT_CONTEXT {
enum UMT_STATE State;
BOOLEAN Running;
BOOLEAN ShowTip;
CONST UMT_STATE_ACTIONS *Actions;
GRAPHICS_CONTEXT *Graphics;
};
extern EFI_HII_HANDLE gUmtHiiHandle;
#endif /* UEFI_MONITOR_TEST_H */
|