diff options
author | Joursoir <chat@joursoir.net> | 2022-05-12 12:19:41 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2022-05-12 12:27:09 +0300 |
commit | d5a53200ffac45b1075a17e05f00194b004ea589 (patch) | |
tree | d310aaec29695153730c1936839eebd8eb507bfd | |
parent | 545f9d83e634129b3295f2b98fd7b71f01e55965 (diff) | |
download | umt-d5a53200ffac45b1075a17e05f00194b004ea589.tar.gz umt-d5a53200ffac45b1075a17e05f00194b004ea589.tar.bz2 umt-d5a53200ffac45b1075a17e05f00194b004ea589.zip |
add the grayscale test stubs
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.c | 2 | ||||
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.h | 1 | ||||
-rw-r--r-- | UefiMonitorTest/UefiMonitorTest.inf | 1 | ||||
-rw-r--r-- | UefiMonitorTest/tests/Grayscale.c | 43 | ||||
-rw-r--r-- | UefiMonitorTest/tests/Grayscale.h | 33 |
5 files changed, 80 insertions, 0 deletions
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 <tests/Grayscale.h> #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 */ |