SDL
2.0
|
Go to the source code of this file.
Functions | |
static void | quit (int rc) |
void | loop () |
int | main (int argc, char *argv[]) |
Variables | |
static SDLTest_CommonState * | state |
int | done |
static const char * | cursorNames [] |
int | system_cursor = -1 |
SDL_Cursor * | cursor = NULL |
Definition at line 51 of file testwm2.c.
References cursor, cursorNames, done, i, SDLTest_CommonState::num_windows, renderer, SDLTest_CommonState::renderers, SDL_CreateSystemCursor, SDL_FALSE, SDL_FreeCursor, SDL_GetDisplayName, SDL_GetWindowDisplayIndex, SDL_GetWindowFromID, SDL_KEYUP, SDL_Log, SDL_NUM_SYSTEM_CURSORS, SDL_PollEvent, SDL_RenderClear, SDL_RenderPresent, SDL_SetCursor, SDL_TRUE, SDL_WINDOWEVENT, SDL_WINDOWEVENT_MOVED, SDL_WINDOWEVENT_RESIZED, SDLK_LEFT, SDLK_RIGHT, SDLTest_CommonEvent(), state, and system_cursor.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 118 of file testwm2.c.
References cursor, cursorNames, done, i, loop(), SDLTest_CommonState::num_windows, quit(), renderer, SDLTest_CommonState::renderers, SDL_arraysize, SDL_assert, SDL_DROPFILE, SDL_DROPTEXT, SDL_ENABLE, SDL_EventState, SDL_FreeCursor, SDL_INIT_VIDEO, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogSetPriority, SDL_NUM_SYSTEM_CURSORS, SDL_RenderClear, SDL_SetRenderDrawColor, SDLTest_CommonCreateState(), SDLTest_CommonDefaultArgs(), SDLTest_CommonInit(), SDLTest_CommonQuit(), and state.
|
static |
Definition at line 44 of file testwm2.c.
References SDLTest_CommonQuit(), and state.
Referenced by main().
SDL_Cursor* cursor = NULL |
Definition at line 40 of file testwm2.c.
Referenced by _initArrowCursor(), init_color_cursor(), loop(), main(), mouse_createFreeColorCursor(), mouse_createFreeCursor(), mouse_getCursor(), mouse_setCursor(), SDL_CreateColorCursor(), SDL_CreateCursor(), SDL_CreateSystemCursor(), SDL_FreeCursor(), SDL_MouseQuit(), SDL_SetCursor(), SDL_SetDefaultCursor(), and SDL_TrackAllocation().
|
static |
|
static |