22 #ifndef TESTBED_GRAPHICS_H 23 #define TESTBED_GRAPHICS_H 25 #include "testbed/testsuite.h" 32 void drawEllipse(
int x,
int y,
int a,
int b);
33 void setupMouseLoop(
bool disableCursorPalette =
false,
const char *gfxModeName =
"",
int cursorTargetScale = 1);
34 void initMousePalette();
35 void initMouseCursor();
37 void HSVtoRGB(
int &rComp,
int &gComp,
int &bComp,
int hue,
int sat,
int val);
38 Common::Rect drawCursor(
bool cursorPaletteDisabled =
false,
int cursorTargetScale = 1);
43 TestExitStatus cursorTrails();
44 TestExitStatus fullScreenMode();
45 TestExitStatus filteringMode();
46 TestExitStatus aspectRatio();
47 TestExitStatus palettizedCursors();
48 TestExitStatus alphaCursors();
49 TestExitStatus maskedCursors();
50 TestExitStatus mouseMovements();
51 TestExitStatus copyRectToScreen();
52 TestExitStatus iconifyWindow();
53 TestExitStatus scaledCursors();
54 TestExitStatus shakingEffect();
55 TestExitStatus focusRectangle();
56 TestExitStatus overlayGraphics();
57 TestExitStatus paletteRotation();
58 TestExitStatus pixelFormatsSupported();
59 TestExitStatus pixelFormatsRequired();
76 const char *getName()
const override {
79 const char *getDescription()
const override {
80 return "Graphics Subsystem";
82 void prepare()
override;
83 static void setCustomColor(uint r, uint g, uint b);
94 static byte _palette[256 * 3];
99 #endif // TESTBED_GRAPHICS_H
Definition: testsuite.h:90
Definition: graphics.h:64