mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +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
|
@ -104,11 +104,11 @@ int main(int argc, char **argv)
|
|||
nothing_to_do = 0;
|
||||
|
||||
switch (e.type) {
|
||||
case SDL_EVENT_MOUSE_BUTTONDOWN:
|
||||
case SDL_EVENT_MOUSE_BUTTON_DOWN:
|
||||
SDL_Log("button down!\n");
|
||||
break;
|
||||
|
||||
case SDL_EVENT_MOUSE_BUTTONUP:
|
||||
case SDL_EVENT_MOUSE_BUTTON_UP:
|
||||
SDL_Log("button up!\n");
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue