Class WindowDisplayChangedEvent

D class that wraps SDL_WINDOWEVENT_DISPLAY_CHANGED SDL_WINDOWEVENT SDL_Events (from SDL 2.0.18)

class WindowDisplayChangedEvent
  : WindowEvent ;

Fields

NameTypeDescription
sdlEvent sdl.events.SDL_EventInternal SDL_Event struct

Properties

NameTypeDescription
sdlEventType[get] uintGets the SDL_EventType of the underlying SDL_Event
timestamp[get] inout(uint)Proxy to the timestamp of the dsdl2.Event

Methods

NameDescription
fromSDL (sdlEvent) Turns a vanilla SDL_Event from bindbc-sdl to dsdl2.Event