New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion: rename SDL event types? #6877
Comments
Why not _CLOSE is a bad example, but makes more sense for the other events, eg |
could be "CLOSED" |
As is SDL_WINDOW_HIDDEN (although I'm about to open a bug about both of these existing). I do worry that we're making these too verbose, but having everything prefixed with SDL_EVENT_* wouldn't be the worst thing. |
not sure to get the sense of the sentence :) ? are you in favor of SDL_EVENT_* or not ?
|
My 2c: Yes, it should be (re)named SDL_EVENT_*. |
SDLE_ makes me think error codes, maybe SDLEV_ shorter event names would be an improvement IMO, some of them take like half the screen width on my IDE |
I notice "DEVICE" was removed from the gamepad added/removed events, so shouldn't we also do this: Rename SDL_JOYDEVICEADDED to SDL_JOYSTICKADDED or SDL_JOYADDED |
Half related to #6869 #6772 . but shouldn't then event be named more like
SDL_EVENT_*
:SDL_EVENT_WINDOW_CLOSE
for instance, instead ofSDL_WINDOWEVENT_CLOSE
.Originally posted by @1bsyl in #6871 (comment)
The text was updated successfully, but these errors were encountered: