From d5a53200ffac45b1075a17e05f00194b004ea589 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Thu, 12 May 2022 12:19:41 +0300 Subject: add the grayscale test stubs --- UefiMonitorTest/UefiMonitorTest.c | 2 ++ UefiMonitorTest/UefiMonitorTest.h | 1 + UefiMonitorTest/UefiMonitorTest.inf | 1 + UefiMonitorTest/tests/Grayscale.c | 43 +++++++++++++++++++++++++++++++++++++ UefiMonitorTest/tests/Grayscale.h | 33 ++++++++++++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 UefiMonitorTest/tests/Grayscale.c create mode 100644 UefiMonitorTest/tests/Grayscale.h diff --git a/UefiMonitorTest/UefiMonitorTest.c b/UefiMonitorTest/UefiMonitorTest.c index cd776c0..4de0123 100644 --- a/UefiMonitorTest/UefiMonitorTest.c +++ b/UefiMonitorTest/UefiMonitorTest.c @@ -12,12 +12,14 @@ #include "MainMenu.h" #include "SettingsMenu.h" #include "tests/SolidColors.h" +#include #include "tests/Gradients.h" STATIC CONST UMT_STATE_ACTIONS mStateActions[UMT_STATE_END] = { { MainMenuInit, MainMenuDoit, MainMenuTip, MainMenuChangeParam, MainMenuChangeValue }, { SettingsMenuInit, SettingsMenuDoit, SettingsMenuTip, SettingsChangeParam, SettingsMenuChangeValue }, { SolidColorsTestInit, SolidColorsTestDoit, SolidColorsTestTip, SolidColorsTestChangeParam, SolidColorsTestChangeValue }, + { GrayscaleTestInit, GrayscaleTestDoit, GrayscaleTestTip, GrayscaleTestChangeParam, GrayscaleTestChangeValue }, { GradientsTestInit, GradientsTestDoit, GradientsTestTip, GradientsTestChangeParam, GradientsTestChangeValue } }; diff --git a/UefiMonitorTest/UefiMonitorTest.h b/UefiMonitorTest/UefiMonitorTest.h index efb1e57..f1b84e8 100644 --- a/UefiMonitorTest/UefiMonitorTest.h +++ b/UefiMonitorTest/UefiMonitorTest.h @@ -20,6 +20,7 @@ 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 }; diff --git a/UefiMonitorTest/UefiMonitorTest.inf b/UefiMonitorTest/UefiMonitorTest.inf index 9f23922..f81f363 100644 --- a/UefiMonitorTest/UefiMonitorTest.inf +++ b/UefiMonitorTest/UefiMonitorTest.inf @@ -13,6 +13,7 @@ MainMenu.c SettingsMenu.c tests/SolidColors.c + tests/Grayscale.c tests/Gradients.c UefiMonitorTestStrings.uni diff --git a/UefiMonitorTest/tests/Grayscale.c b/UefiMonitorTest/tests/Grayscale.c new file mode 100644 index 0000000..eb1bf9a --- /dev/null +++ b/UefiMonitorTest/tests/Grayscale.c @@ -0,0 +1,43 @@ +#include "Grayscale.h" + +VOID +GrayscaleTestInit ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +GrayscaleTestDoit ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +GrayscaleTestTip ( + IN UMT_CONTEXT *Ctx + ) +{ + +} + +VOID +GrayscaleTestChangeParam ( + IN UMT_CONTEXT *Ctx, + IN INT8 ParamStep + ) +{ + +} + +VOID +GrayscaleTestChangeValue ( + IN UMT_CONTEXT *Ctx, + IN INT8 ValueStep + ) +{ + +} diff --git a/UefiMonitorTest/tests/Grayscale.h b/UefiMonitorTest/tests/Grayscale.h new file mode 100644 index 0000000..4763b92 --- /dev/null +++ b/UefiMonitorTest/tests/Grayscale.h @@ -0,0 +1,33 @@ +#ifndef UMT_GRAYSCALE_TEST_H +#define UMT_GRAYSCALE_TEST_H + +#include "UefiMonitorTest.h" + +VOID +GrayscaleTestInit ( + IN UMT_CONTEXT *Ctx + ); + +VOID +GrayscaleTestDoit ( + IN UMT_CONTEXT *Ctx + ); + +VOID +GrayscaleTestTip ( + IN UMT_CONTEXT *Ctx + ); + +VOID +GrayscaleTestChangeParam ( + IN UMT_CONTEXT *Ctx, + IN INT8 ParamStep + ); + +VOID +GrayscaleTestChangeValue ( + IN UMT_CONTEXT *Ctx, + IN INT8 ValueStep + ); + +#endif /* UMT_GRAYSCALE_TEST_H */ -- cgit v1.2.3-18-g5258