2013-10-05 68 views

回答

5

SDL2的SDL_WindowEvent

  • SDL_APPMOUSEFOCUS映射到SDL_WINDOWEVENT_ENTERSDL_WINDOWEVENT_LEAVE

  • SDL_APPINPUTFOCUS映射到SDL_WINDOWEVENT_FOCUS_GAINEDSDL_WINDOWEVENT_FOCUS_LOST