sdl2-2.4.1.0: Both high- and low-level bindings to the SDL library (version 2.0.4+).

Safe HaskellSafe
LanguageHaskell2010

SDL.Raw.Enum

Contents

Synopsis

Enumerations

Audio Format

Audio Status

Blend Mode

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 :: forall a. (Num a, Eq a) => a Source #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pattern KMOD_RESERVED :: forall a. (Num a, Eq 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_FREQUENCY_CHANGE :: forall a. (Num a, Eq a) => a Source #

pattern SDL_AUDIO_ALLOW_FORMAT_CHANGE :: forall a. (Num a, Eq a) => a Source #

pattern SDL_AUDIO_ALLOW_CHANNELS_CHANGE :: forall a. (Num a, Eq a) => a Source #

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

Mouse Buttons

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

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

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

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

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

Mouse Button Masks

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

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

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

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

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

Mouse Wheel Direction

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

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

Event Type

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Joystick Hat Position

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

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

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

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

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

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

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

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

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

Key States

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

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

Log Category

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

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

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

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

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

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

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

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

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

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

Message Box Flags

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

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

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

Message Box Button Flags

pattern SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT :: forall a. (Num a, Eq a) => a Source #

pattern SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT :: forall a. (Num a, Eq a) => a Source #

OpenGL Profile

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

pattern SDL_GL_CONTEXT_PROFILE_COMPATIBILITY :: forall a. (Num a, Eq a) => a Source #

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

OpenGL Context Flag

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

pattern SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG :: forall a. (Num a, Eq a) => a Source #

pattern SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG :: forall a. (Num a, Eq a) => a Source #

pattern SDL_GL_CONTEXT_RESET_ISOLATION_FLAG :: forall a. (Num a, Eq a) => a Source #

OpenGL Context Release Behavior Flag

pattern SDL_GL_CONTEXT_RELEASE_BEHAVIOR_NONE :: forall a. (Num a, Eq a) => a Source #

pattern SDL_GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH :: forall a. (Num a, Eq a) => a Source #

Pixel Formats

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Renderer Flags

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

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

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

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

Texture Access

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

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

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

Texture Modulate

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

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

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

Touch

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

Window Event

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Window Flags

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

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

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

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

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

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

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

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

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

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

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

pattern SDL_WINDOW_FULLSCREEN_DESKTOP :: forall a. (Num a, Eq a) => a Source #

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

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

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

Window Positioning

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

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

Haptic Event Types

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