bindbc-sdl v1.4.8 (2024-07-02T09:16:45Z)
Dub
Repo
SDL_MouseButtonEvent
sdl
events
Undocumented in source.
struct
SDL_MouseButtonEvent {
SDL_EventType
type
;
uint
timestamp
;
uint
windowID
;
uint
which
;
ubyte
button
;
ubyte
state
;
static if
(
sdlSupport <= SDLSupport.v2_0_0
)
ubyte
padding1
;
static if
(
sdlSupport <= SDLSupport.v2_0_0
)
ubyte
padding2
;
static if
(!(
sdlSupport <= SDLSupport.v2_0_0
))
ubyte
clicks
;
static if
(!(
sdlSupport <= SDLSupport.v2_0_0
))
ubyte
padding1
;
int
x
;
int
y
;
}
Members
Variables
button
ubyte
button
;
Undocumented in source.
clicks
ubyte
clicks
;
Undocumented in source.
padding1
ubyte
padding1
;
Undocumented in source.
padding1
ubyte
padding1
;
Undocumented in source.
padding2
ubyte
padding2
;
Undocumented in source.
state
ubyte
state
;
Undocumented in source.
timestamp
uint
timestamp
;
Undocumented in source.
type
SDL_EventType
type
;
Undocumented in source.
which
uint
which
;
Undocumented in source.
windowID
uint
windowID
;
Undocumented in source.
x
int
x
;
Undocumented in source.
y
int
y
;
Undocumented in source.
Meta
Source
See Implementation
sdl
events
aliases
SDL_EventAction
SDL_EventFilter
SDL_EventType
SDL_eventaction
enums
SDL_ADDEVENT
SDL_CONTROLLERUPDATECOMPLETE_RESERVED_FOR_SDL3
SDL_DISPLAYEVENT
SDL_DROPTEXT
SDL_FIRSTEVENT
SDL_JOYBATTERYUPDATED
SDL_KEYMAPCHANGED
SDL_LOCALECHANGED
SDL_QUERY
SDL_RELEASED
SDL_RENDER_TARGETS_RESET
SDL_TEXTEDITING_EXT
functions
SDL_GetEventState
SDL_QuitRequested
manifest constants
SDL_TEXTEDITINGEVENT_TEXT_SIZE
SDL_TEXTINPUTEVENT_TEXT_SIZE
structs
SDL_AudioDeviceEvent
SDL_CommonEvent
SDL_ControllerAxisEvent
SDL_ControllerButtonEvent
SDL_ControllerDeviceEvent
SDL_ControllerSensorEvent
SDL_ControllerTouchpadEvent
SDL_DisplayEvent
SDL_DollarGestureEvent
SDL_DropEvent
SDL_JoyAxisEvent
SDL_JoyBallEvent
SDL_JoyBatteryEvent
SDL_JoyButtonEvent
SDL_JoyDeviceEvent
SDL_JoyHatEvent
SDL_KeyboardEvent
SDL_MouseButtonEvent
SDL_MouseMotionEvent
SDL_MouseWheelEvent
SDL_MultiGestureEvent
SDL_OSEvent
SDL_QuitEvent
SDL_SensorEvent
SDL_SysWMEvent
SDL_TextEditingEvent
SDL_TextEditingExtEvent
SDL_TextInputEvent
SDL_TouchFingerEvent
SDL_UserEvent
SDL_WindowEvent
unions
SDL_Event