dear-imgui-raw-internal-1.0.0: src/DearImGui/Raw/Internal/Enums/ImGuiTypingSelectFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Internal.Enums.ImGuiTypingSelectFlags
( ImGuiTypingSelectFlags
, pattern AllowBackspace
, pattern AllowSingleCharMode
, pattern None
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions_internal.h"
-- typedefs
-- | Flags for GetTypingSelectRequest()
type ImGuiTypingSelectFlags = CInt
-- enums
pattern None :: ImGuiTypingSelectFlags
pattern None = #{const ImGuiTypingSelectFlags_None}
-- | Backspace to delete character inputs. If using: ensure GetTypingSelectRequest() is not called more than once per frame (filter by e.g. focus state)
pattern AllowBackspace :: ImGuiTypingSelectFlags
pattern AllowBackspace = #{const ImGuiTypingSelectFlags_AllowBackspace}
-- | Allow "single char" search mode which is activated when pressing the same character multiple times.
pattern AllowSingleCharMode :: ImGuiTypingSelectFlags
pattern AllowSingleCharMode = #{const ImGuiTypingSelectFlags_AllowSingleCharMode}