예제 #1
0
void screenWidget::cursor_set() {
	if (input_zapper_is_connected((_port *) &port) == TRUE) {
		setCursor((*target));
	} else {
		unsetCursor();
	}
}
예제 #2
0
파일: gfx.c 프로젝트: bentley/puNES
void gfx_cursor_set(void) {
#if defined (__WIN32__)
	gui_cursor_set();
#else
	if (input_zapper_is_connected((_port *) &port) == TRUE) {
		SDL_SetCursor(cursor.target);
	} else {
		SDL_SetCursor(cursor.org);
	}
#endif
}