mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-18 10:48:28 +00:00
Rename mouse BUTTON(DOWN|UP) event to BUTTON_(DOWN|UP)
This commit is contained in:
parent
413376cdb3
commit
758c0dd6d8
23 changed files with 45 additions and 45 deletions
|
@ -772,8 +772,8 @@ static int SDLCALL SDL_RendererEventWatch(void *userdata, SDL_Event *event)
|
|||
}
|
||||
}
|
||||
}
|
||||
} else if (event->type == SDL_EVENT_MOUSE_BUTTONDOWN ||
|
||||
event->type == SDL_EVENT_MOUSE_BUTTONUP) {
|
||||
} else if (event->type == SDL_EVENT_MOUSE_BUTTON_DOWN ||
|
||||
event->type == SDL_EVENT_MOUSE_BUTTON_UP) {
|
||||
SDL_Window *window = SDL_GetWindowFromID(event->button.windowID);
|
||||
if (window == renderer->window) {
|
||||
int logical_w, logical_h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue