18 return (
state == 0) ||
166 for ( col=0; col<32; ++col ) {
375 for (
i=0;
i<2;
i++) {
386 for (
i=0;
i<2;
i++) {
412#define MOUSE_TESTWINDOW_WIDTH 320
413#define MOUSE_TESTWINDOW_HEIGHT 200
449 int numPositions = 6;
482 for (
i=0;
i<numPositions;
i++) {
483 for (
j=0;
j<numPositions;
j++) {
#define SDL_DestroyWindow
#define SDL_GetMouseState
#define SDL_WarpMouseInWindow
#define SDL_SetRelativeMouseMode
#define SDL_GetRelativeMouseState
#define SDL_CreateColorCursor
#define SDL_GetMouseFocus
#define SDL_GetRelativeMouseMode
#define SDL_BUTTON_MIDDLE
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLint GLint GLsizei width
GLint GLint GLint GLint GLint x
GLint GLint GLsizei GLsizei height
GLenum GLuint GLint GLenum face
GLfloat GLfloat GLfloat GLfloat h
GLubyte GLubyte GLubyte GLubyte w
void SDLTest_AssertPass(SDL_PRINTF_FORMAT_STRING const char *assertDescription,...) SDL_PRINTF_VARARG_FUNC(1)
Explicitly pass without checking an assertion condition. Updates assertion counter.
int SDLTest_AssertCheck(int assertCondition, SDL_PRINTF_FORMAT_STRING const char *assertDescription,...) SDL_PRINTF_VARARG_FUNC(2)
Assert for test cases that logs but does not break execution flow on failures. Updates assertion coun...
Sint32 SDLTest_RandomIntegerInRange(Sint32 min, Sint32 max)
int(* SDLTest_TestCaseFp)(void *arg)
SDL_Surface * SDLTest_ImageFace(void)
Returns the Face test image as SDL_Surface.
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int int in j)
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int in i)
EGLSurface EGLNativeWindowType * window
A collection of pixels used in software blitting.
The type used to identify a window.
static const SDLTest_TestCaseReference mouseTest4
static const char * _mouseArrowData[]
int mouse_getMouseState(void *arg)
Check call to SDL_GetMouseState.
int _mouseStateCheck(Uint32 state)
int mouse_showCursor(void *arg)
Check call to SDL_ShowCursor.
static const SDLTest_TestCaseReference mouseTest8
int mouse_getCursor(void *arg)
Check call to SDL_GetCursor.
static const SDLTest_TestCaseReference * mouseTests[]
int mouse_getSetRelativeMouseMode(void *arg)
Check call to SDL_GetRelativeMouseMode and SDL_SetRelativeMouseMode.
int mouse_getMouseFocus(void *arg)
Check call to SDL_GetMouseFocus.
static const SDLTest_TestCaseReference mouseTest1
int mouse_getRelativeMouseState(void *arg)
Check call to SDL_GetRelativeMouseState.
int mouse_setCursor(void *arg)
Check call to SDL_SetCursor.
static const SDLTest_TestCaseReference mouseTest6
static const SDLTest_TestCaseReference mouseTest7
SDL_Window * _createMouseSuiteTestWindow()
#define MOUSE_TESTWINDOW_HEIGHT
static const SDLTest_TestCaseReference mouseTest5
SDLTest_TestSuiteReference mouseTestSuite
static const SDLTest_TestCaseReference mouseTest9
void _changeCursorVisibility(int state)
#define MOUSE_TESTWINDOW_WIDTH
static const SDLTest_TestCaseReference mouseTest2
static SDL_Cursor * _initArrowCursor(const char *image[])
void _destroyMouseSuiteTestWindow(SDL_Window *window)
int mouse_createFreeColorCursor(void *arg)
Check call to SDL_CreateColorCursor and SDL_FreeCursor.
static const SDLTest_TestCaseReference mouseTest3
int mouse_createFreeCursor(void *arg)
Check call to SDL_CreateCursor and SDL_FreeCursor.
static const SDLTest_TestCaseReference mouseTest10
int mouse_warpMouseInWindow(void *arg)
Check call to SDL_WarpMouseInWindow.