dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiSelectableFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImGuiSelectableFlags
( ImGuiSelectableFlags
, pattern AllowDoubleClick
, pattern AllowOverlap
, pattern Disabled
, pattern Highlight
, pattern NoAutoClosePopups
, pattern None
, pattern SelectOnNav
, pattern SpanAllColumns
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Flags for ImGui::Selectable()
type ImGuiSelectableFlags = CInt
-- enums
pattern None :: ImGuiSelectableFlags
pattern None = #{const ImGuiSelectableFlags_None}
-- | Clicking this doesn't close parent popup window (overrides ImGuiItemFlags_AutoClosePopups)
pattern NoAutoClosePopups :: ImGuiSelectableFlags
pattern NoAutoClosePopups = #{const ImGuiSelectableFlags_NoAutoClosePopups}
-- | Frame will span all columns of its container table (text will still fit in current column)
pattern SpanAllColumns :: ImGuiSelectableFlags
pattern SpanAllColumns = #{const ImGuiSelectableFlags_SpanAllColumns}
-- | Generate press events on double clicks too
pattern AllowDoubleClick :: ImGuiSelectableFlags
pattern AllowDoubleClick = #{const ImGuiSelectableFlags_AllowDoubleClick}
-- | Cannot be selected, display grayed out text
pattern Disabled :: ImGuiSelectableFlags
pattern Disabled = #{const ImGuiSelectableFlags_Disabled}
-- | Hit testing will allow subsequent widgets to overlap this one. Require previous frame HoveredId to match before being usable. Shortcut to calling SetNextItemAllowOverlap().
pattern AllowOverlap :: ImGuiSelectableFlags
pattern AllowOverlap = #{const ImGuiSelectableFlags_AllowOverlap}
-- | Make the item be displayed as if it is hovered
pattern Highlight :: ImGuiSelectableFlags
pattern Highlight = #{const ImGuiSelectableFlags_Highlight}
-- | Auto-select when moved into, unless Ctrl is held. Automatic when in a BeginMultiSelect() block.
pattern SelectOnNav :: ImGuiSelectableFlags
pattern SelectOnNav = #{const ImGuiSelectableFlags_SelectOnNav}