Region of interest for screenshot comparison. More...
#include <screenshot_assertion.h>
Public Member Functions | |
| bool | IsFullScreen () const |
Static Public Member Functions | |
| static ScreenRegion | FullScreen () |
| static ScreenRegion | At (int x, int y, int w, int h) |
Public Attributes | |
| int | x = 0 |
| int | y = 0 |
| int | width = 0 |
| int | height = 0 |
Region of interest for screenshot comparison.
Definition at line 19 of file screenshot_assertion.h.
|
inline |
Definition at line 25 of file screenshot_assertion.h.
|
inlinestatic |
Definition at line 27 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::Compare().
|
inlinestatic |
Definition at line 28 of file screenshot_assertion.h.
| int yaze::test::ScreenRegion::x = 0 |
Definition at line 20 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::AssertRegionContainsColor(), At(), and yaze::test::ScreenshotAssertion::ComparePixelExact().
| int yaze::test::ScreenRegion::y = 0 |
Definition at line 21 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::AssertRegionContainsColor(), At(), and yaze::test::ScreenshotAssertion::ComparePixelExact().
| int yaze::test::ScreenRegion::width = 0 |
Definition at line 22 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::AssertRegionContainsColor(), yaze::test::ScreenshotAssertion::ComparePixelExact(), and IsFullScreen().
| int yaze::test::ScreenRegion::height = 0 |
Definition at line 23 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::AssertRegionContainsColor(), yaze::test::ScreenshotAssertion::ComparePixelExact(), and IsFullScreen().