sdl2-2.5.5.0: Both high- and low-level bindings to the SDL library (version 2.0.6+).
Safe HaskellSafe-Inferred
LanguageHaskell2010

SDL.Raw.Enum

Synopsis

Enumerations

Audio Format

Audio Status

Blend Mode

Blend Operation

Blend Factor

Endian Detetection

pattern SDL_BYTEORDER :: Endian Source #

pattern SDL_LIL_ENDIAN :: Endian Source #

pattern SDL_BIG_ENDIAN :: Endian Source #

Event Action

Game Controller Axis

Game Controller Button

OpenGL Attribute

Hint Priority

Initialization Flag

Joystick Power Level

Keycode

pattern SDLK_0 :: Keycode Source #

pattern SDLK_1 :: Keycode Source #

pattern SDLK_2 :: Keycode Source #

pattern SDLK_3 :: Keycode Source #

pattern SDLK_4 :: Keycode Source #

pattern SDLK_5 :: Keycode Source #

pattern SDLK_6 :: Keycode Source #

pattern SDLK_7 :: Keycode Source #

pattern SDLK_8 :: Keycode Source #

pattern SDLK_9 :: Keycode Source #

pattern SDLK_AT :: Keycode Source #

pattern SDLK_a :: Keycode Source #

pattern SDLK_b :: Keycode Source #

pattern SDLK_c :: Keycode Source #

pattern SDLK_d :: Keycode Source #

pattern SDLK_e :: Keycode Source #

pattern SDLK_f :: Keycode Source #

pattern SDLK_g :: Keycode Source #

pattern SDLK_h :: Keycode Source #

pattern SDLK_i :: Keycode Source #

pattern SDLK_j :: Keycode Source #

pattern SDLK_k :: Keycode Source #

pattern SDLK_l :: Keycode Source #

pattern SDLK_m :: Keycode Source #

pattern SDLK_n :: Keycode Source #

pattern SDLK_o :: Keycode Source #

pattern SDLK_p :: Keycode Source #

pattern SDLK_q :: Keycode Source #

pattern SDLK_r :: Keycode Source #

pattern SDLK_s :: Keycode Source #

pattern SDLK_t :: Keycode Source #

pattern SDLK_u :: Keycode Source #

pattern SDLK_v :: Keycode Source #

pattern SDLK_w :: Keycode Source #

pattern SDLK_x :: Keycode Source #

pattern SDLK_y :: Keycode Source #

pattern SDLK_z :: Keycode Source #

pattern SDLK_F1 :: Keycode Source #

pattern SDLK_F2 :: Keycode Source #

pattern SDLK_F3 :: Keycode Source #

pattern SDLK_F4 :: Keycode Source #

pattern SDLK_F5 :: Keycode Source #

pattern SDLK_F6 :: Keycode Source #

pattern SDLK_F7 :: Keycode Source #

pattern SDLK_F8 :: Keycode Source #

pattern SDLK_F9 :: Keycode Source #

pattern SDLK_UP :: Keycode Source #

Key Modifier

pattern KMOD_NONE :: (Eq a, Num a) => a Source #

pattern KMOD_LSHIFT :: (Eq a, Num a) => a Source #

pattern KMOD_RSHIFT :: (Eq a, Num a) => a Source #

pattern KMOD_SHIFT :: (Eq a, Num a) => a Source #

pattern KMOD_LCTRL :: (Eq a, Num a) => a Source #

pattern KMOD_RCTRL :: (Eq a, Num a) => a Source #

pattern KMOD_CTRL :: (Eq a, Num a) => a Source #

pattern KMOD_LALT :: (Eq a, Num a) => a Source #

pattern KMOD_RALT :: (Eq a, Num a) => a Source #

pattern KMOD_ALT :: (Eq a, Num a) => a Source #

pattern KMOD_LGUI :: (Eq a, Num a) => a Source #

pattern KMOD_RGUI :: (Eq a, Num a) => a Source #

pattern KMOD_GUI :: (Eq a, Num a) => a Source #

pattern KMOD_NUM :: (Eq a, Num a) => a Source #

pattern KMOD_CAPS :: (Eq a, Num a) => a Source #

pattern KMOD_MODE :: (Eq a, Num a) => a Source #

pattern KMOD_RESERVED :: (Eq a, Num a) => a Source #

Log Priority

Power State

Renderer Flip

Scancode

System Cursor

Thread Priority

Miscellaneous Enumerations

These enumerations are not used directly by any SDL function, thus they have a polymorphic type.

Audio Allowed Changes

pattern SDL_AUDIO_ALLOW_ANY_CHANGE :: (Eq a, Num a) => a Source #

Mouse Buttons

pattern SDL_BUTTON_LEFT :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_MIDDLE :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_RIGHT :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_X1 :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_X2 :: (Eq a, Num a) => a Source #

Mouse Button Masks

pattern SDL_BUTTON_LMASK :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_MMASK :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_RMASK :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_X1MASK :: (Eq a, Num a) => a Source #

pattern SDL_BUTTON_X2MASK :: (Eq a, Num a) => a Source #

Mouse Wheel Direction

pattern SDL_MOUSEWHEEL_NORMAL :: (Eq a, Num a) => a Source #

pattern SDL_MOUSEWHEEL_FLIPPED :: (Eq a, Num a) => a Source #

Event Type

pattern SDL_FIRSTEVENT :: (Eq a, Num a) => a Source #

pattern SDL_QUIT :: (Eq a, Num a) => a Source #

pattern SDL_APP_TERMINATING :: (Eq a, Num a) => a Source #

pattern SDL_APP_LOWMEMORY :: (Eq a, Num a) => a Source #

pattern SDL_APP_WILLENTERBACKGROUND :: (Eq a, Num a) => a Source #

pattern SDL_APP_DIDENTERBACKGROUND :: (Eq a, Num a) => a Source #

pattern SDL_APP_WILLENTERFOREGROUND :: (Eq a, Num a) => a Source #

pattern SDL_APP_DIDENTERFOREGROUND :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT :: (Eq a, Num a) => a Source #

pattern SDL_SYSWMEVENT :: (Eq a, Num a) => a Source #

pattern SDL_KEYDOWN :: (Eq a, Num a) => a Source #

pattern SDL_KEYUP :: (Eq a, Num a) => a Source #

pattern SDL_TEXTEDITING :: (Eq a, Num a) => a Source #

pattern SDL_TEXTINPUT :: (Eq a, Num a) => a Source #

pattern SDL_KEYMAPCHANGED :: (Eq a, Num a) => a Source #

pattern SDL_MOUSEMOTION :: (Eq a, Num a) => a Source #

pattern SDL_MOUSEBUTTONDOWN :: (Eq a, Num a) => a Source #

pattern SDL_MOUSEBUTTONUP :: (Eq a, Num a) => a Source #

pattern SDL_MOUSEWHEEL :: (Eq a, Num a) => a Source #

pattern SDL_JOYAXISMOTION :: (Eq a, Num a) => a Source #

pattern SDL_JOYBALLMOTION :: (Eq a, Num a) => a Source #

pattern SDL_JOYHATMOTION :: (Eq a, Num a) => a Source #

pattern SDL_JOYBUTTONDOWN :: (Eq a, Num a) => a Source #

pattern SDL_JOYBUTTONUP :: (Eq a, Num a) => a Source #

pattern SDL_JOYDEVICEADDED :: (Eq a, Num a) => a Source #

pattern SDL_JOYDEVICEREMOVED :: (Eq a, Num a) => a Source #

pattern SDL_CONTROLLERAXISMOTION :: (Eq a, Num a) => a Source #

pattern SDL_CONTROLLERBUTTONDOWN :: (Eq a, Num a) => a Source #

pattern SDL_CONTROLLERBUTTONUP :: (Eq a, Num a) => a Source #

pattern SDL_CONTROLLERDEVICEADDED :: (Eq a, Num a) => a Source #

pattern SDL_CONTROLLERDEVICEREMOVED :: (Eq a, Num a) => a Source #

pattern SDL_CONTROLLERDEVICEREMAPPED :: (Eq a, Num a) => a Source #

pattern SDL_FINGERDOWN :: (Eq a, Num a) => a Source #

pattern SDL_FINGERUP :: (Eq a, Num a) => a Source #

pattern SDL_FINGERMOTION :: (Eq a, Num a) => a Source #

pattern SDL_DOLLARGESTURE :: (Eq a, Num a) => a Source #

pattern SDL_DOLLARRECORD :: (Eq a, Num a) => a Source #

pattern SDL_MULTIGESTURE :: (Eq a, Num a) => a Source #

pattern SDL_CLIPBOARDUPDATE :: (Eq a, Num a) => a Source #

pattern SDL_DROPFILE :: (Eq a, Num a) => a Source #

pattern SDL_AUDIODEVICEADDED :: (Eq a, Num a) => a Source #

pattern SDL_AUDIODEVICEREMOVED :: (Eq a, Num a) => a Source #

pattern SDL_RENDER_TARGETS_RESET :: (Eq a, Num a) => a Source #

pattern SDL_RENDER_DEVICE_RESET :: (Eq a, Num a) => a Source #

pattern SDL_USEREVENT :: (Eq a, Num a) => a Source #

pattern SDL_LASTEVENT :: (Eq a, Num a) => a Source #

Joystick Hat Position

pattern SDL_HAT_CENTERED :: (Eq a, Num a) => a Source #

pattern SDL_HAT_UP :: (Eq a, Num a) => a Source #

pattern SDL_HAT_RIGHT :: (Eq a, Num a) => a Source #

pattern SDL_HAT_DOWN :: (Eq a, Num a) => a Source #

pattern SDL_HAT_LEFT :: (Eq a, Num a) => a Source #

pattern SDL_HAT_RIGHTUP :: (Eq a, Num a) => a Source #

pattern SDL_HAT_RIGHTDOWN :: (Eq a, Num a) => a Source #

pattern SDL_HAT_LEFTUP :: (Eq a, Num a) => a Source #

pattern SDL_HAT_LEFTDOWN :: (Eq a, Num a) => a Source #

Key States

pattern SDL_PRESSED :: (Eq a, Num a) => a Source #

pattern SDL_RELEASED :: (Eq a, Num a) => a Source #

Log Category

pattern SDL_LOG_CATEGORY_APPLICATION :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_ERROR :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_ASSERT :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_SYSTEM :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_AUDIO :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_VIDEO :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_RENDER :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_INPUT :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_TEST :: (Eq a, Num a) => a Source #

pattern SDL_LOG_CATEGORY_CUSTOM :: (Eq a, Num a) => a Source #

Message Box Flags

pattern SDL_MESSAGEBOX_ERROR :: (Eq a, Num a) => a Source #

pattern SDL_MESSAGEBOX_WARNING :: (Eq a, Num a) => a Source #

pattern SDL_MESSAGEBOX_INFORMATION :: (Eq a, Num a) => a Source #

Message Box Button Flags

OpenGL Profile

pattern SDL_GL_CONTEXT_PROFILE_CORE :: (Eq a, Num a) => a Source #

pattern SDL_GL_CONTEXT_PROFILE_ES :: (Eq a, Num a) => a Source #

OpenGL Context Flag

pattern SDL_GL_CONTEXT_DEBUG_FLAG :: (Eq a, Num a) => a Source #

OpenGL Context Release Behavior Flag

Pixel Formats

pattern SDL_PIXELFORMAT_UNKNOWN :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_INDEX1LSB :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_INDEX1MSB :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_INDEX4LSB :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_INDEX4MSB :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_INDEX8 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGB332 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGB444 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGB555 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGR555 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ARGB4444 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGBA4444 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ABGR4444 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGRA4444 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ARGB1555 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGBA5551 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ABGR1555 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGRA5551 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGB565 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGR565 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGB24 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGR24 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGB888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGBX8888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGR888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGRX8888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ARGB8888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_RGBA8888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ABGR8888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_BGRA8888 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_ARGB2101010 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_YV12 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_IYUV :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_YUY2 :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_UYVY :: (Eq a, Num a) => a Source #

pattern SDL_PIXELFORMAT_YVYU :: (Eq a, Num a) => a Source #

Renderer Flags

pattern SDL_RENDERER_SOFTWARE :: (Eq a, Num a) => a Source #

pattern SDL_RENDERER_ACCELERATED :: (Eq a, Num a) => a Source #

pattern SDL_RENDERER_PRESENTVSYNC :: (Eq a, Num a) => a Source #

pattern SDL_RENDERER_TARGETTEXTURE :: (Eq a, Num a) => a Source #

Texture Access

pattern SDL_TEXTUREACCESS_STATIC :: (Eq a, Num a) => a Source #

pattern SDL_TEXTUREACCESS_STREAMING :: (Eq a, Num a) => a Source #

pattern SDL_TEXTUREACCESS_TARGET :: (Eq a, Num a) => a Source #

Texture Modulate

pattern SDL_TEXTUREMODULATE_NONE :: (Eq a, Num a) => a Source #

pattern SDL_TEXTUREMODULATE_COLOR :: (Eq a, Num a) => a Source #

pattern SDL_TEXTUREMODULATE_ALPHA :: (Eq a, Num a) => a Source #

Touch

pattern SDL_TOUCH_MOUSEID :: (Eq a, Num a) => a Source #

Window Event

pattern SDL_WINDOWEVENT_NONE :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_SHOWN :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_HIDDEN :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_EXPOSED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_MOVED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_RESIZED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_SIZE_CHANGED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_MINIMIZED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_MAXIMIZED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_RESTORED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_ENTER :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_LEAVE :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_FOCUS_GAINED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_FOCUS_LOST :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWEVENT_CLOSE :: (Eq a, Num a) => a Source #

Window Flags

pattern SDL_WINDOW_FULLSCREEN :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_OPENGL :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_SHOWN :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_HIDDEN :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_BORDERLESS :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_RESIZABLE :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_MINIMIZED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_MAXIMIZED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_INPUT_GRABBED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_INPUT_FOCUS :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_MOUSE_FOCUS :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_FOREIGN :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_ALLOW_HIGHDPI :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_MOUSE_CAPTURE :: (Eq a, Num a) => a Source #

pattern SDL_WINDOW_VULKAN :: (Eq a, Num a) => a Source #

Window Positioning

pattern SDL_WINDOWPOS_UNDEFINED :: (Eq a, Num a) => a Source #

pattern SDL_WINDOWPOS_CENTERED :: (Eq a, Num a) => a Source #

Haptic Event Types

pattern SDL_HAPTIC_CONSTANT :: (Eq a, Num a) => a Source #