blob: f1b84e887819b2e14d7228f29edc9dacdd6d8fae (
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
|
#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_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 */
|