Class DisplayOrientationEvent

D class that wraps SDL_DISPLAYEVENT_ORIENTATION SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.9)

class DisplayOrientationEvent
  : DisplayEvent ;

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