dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiTableColumnFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImGuiTableColumnFlags
( ImGuiTableColumnFlags
, pattern AngledHeader
, pattern DefaultHide
, pattern DefaultSort
, pattern Disabled
, pattern IndentDisable
, pattern IndentEnable
, pattern IndentMask_
, pattern IsEnabled
, pattern IsHovered
, pattern IsSorted
, pattern IsVisible
, pattern NoClip
, pattern NoDirectResize_
, pattern NoHeaderLabel
, pattern NoHeaderWidth
, pattern NoHide
, pattern NoReorder
, pattern NoResize
, pattern NoSort
, pattern NoSortAscending
, pattern NoSortDescending
, pattern None
, pattern PreferSortAscending
, pattern PreferSortDescending
, pattern StatusMask_
, pattern WidthFixed
, pattern WidthMask_
, pattern WidthStretch
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Flags for ImGui::TableSetupColumn()
type ImGuiTableColumnFlags = CInt
-- enums
-- | Input configuration flags
pattern None :: ImGuiTableColumnFlags
pattern None = #{const ImGuiTableColumnFlags_None}
-- | Overriding/master disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)
pattern Disabled :: ImGuiTableColumnFlags
pattern Disabled = #{const ImGuiTableColumnFlags_Disabled}
-- | Default as a hidden/disabled column.
pattern DefaultHide :: ImGuiTableColumnFlags
pattern DefaultHide = #{const ImGuiTableColumnFlags_DefaultHide}
-- | Default as a sorting column.
pattern DefaultSort :: ImGuiTableColumnFlags
pattern DefaultSort = #{const ImGuiTableColumnFlags_DefaultSort}
-- | Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).
pattern WidthStretch :: ImGuiTableColumnFlags
pattern WidthStretch = #{const ImGuiTableColumnFlags_WidthStretch}
-- | Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).
pattern WidthFixed :: ImGuiTableColumnFlags
pattern WidthFixed = #{const ImGuiTableColumnFlags_WidthFixed}
-- | Disable manual resizing.
pattern NoResize :: ImGuiTableColumnFlags
pattern NoResize = #{const ImGuiTableColumnFlags_NoResize}
-- | Disable manual reordering this column, this will also prevent other columns from crossing over this column.
pattern NoReorder :: ImGuiTableColumnFlags
pattern NoReorder = #{const ImGuiTableColumnFlags_NoReorder}
-- | Disable ability to hide/disable this column.
pattern NoHide :: ImGuiTableColumnFlags
pattern NoHide = #{const ImGuiTableColumnFlags_NoHide}
-- | Disable clipping for this column (all NoClip columns will render in a same draw command).
pattern NoClip :: ImGuiTableColumnFlags
pattern NoClip = #{const ImGuiTableColumnFlags_NoClip}
-- | Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).
pattern NoSort :: ImGuiTableColumnFlags
pattern NoSort = #{const ImGuiTableColumnFlags_NoSort}
-- | Disable ability to sort in the ascending direction.
pattern NoSortAscending :: ImGuiTableColumnFlags
pattern NoSortAscending = #{const ImGuiTableColumnFlags_NoSortAscending}
-- | Disable ability to sort in the descending direction.
pattern NoSortDescending :: ImGuiTableColumnFlags
pattern NoSortDescending = #{const ImGuiTableColumnFlags_NoSortDescending}
-- | TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call.
pattern NoHeaderLabel :: ImGuiTableColumnFlags
pattern NoHeaderLabel = #{const ImGuiTableColumnFlags_NoHeaderLabel}
-- | Disable header text width contribution to automatic column width.
pattern NoHeaderWidth :: ImGuiTableColumnFlags
pattern NoHeaderWidth = #{const ImGuiTableColumnFlags_NoHeaderWidth}
-- | Make the initial sort direction Ascending when first sorting on this column (default).
pattern PreferSortAscending :: ImGuiTableColumnFlags
pattern PreferSortAscending = #{const ImGuiTableColumnFlags_PreferSortAscending}
-- | Make the initial sort direction Descending when first sorting on this column.
pattern PreferSortDescending :: ImGuiTableColumnFlags
pattern PreferSortDescending = #{const ImGuiTableColumnFlags_PreferSortDescending}
-- | Use current Indent value when entering cell (default for column 0).
pattern IndentEnable :: ImGuiTableColumnFlags
pattern IndentEnable = #{const ImGuiTableColumnFlags_IndentEnable}
-- | Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored.
pattern IndentDisable :: ImGuiTableColumnFlags
pattern IndentDisable = #{const ImGuiTableColumnFlags_IndentDisable}
-- | TableHeadersRow() will submit an angled header row for this column. Note this will add an extra row.
pattern AngledHeader :: ImGuiTableColumnFlags
pattern AngledHeader = #{const ImGuiTableColumnFlags_AngledHeader}
-- | Output status flags, read-only via TableGetColumnFlags()
-- Status: is enabled == not hidden by user/api (referred to as "Hide" in _DefaultHide and _NoHide) flags.
pattern IsEnabled :: ImGuiTableColumnFlags
pattern IsEnabled = #{const ImGuiTableColumnFlags_IsEnabled}
-- | Status: is visible == is enabled AND not clipped by scrolling.
pattern IsVisible :: ImGuiTableColumnFlags
pattern IsVisible = #{const ImGuiTableColumnFlags_IsVisible}
-- | Status: is currently part of the sort specs
pattern IsSorted :: ImGuiTableColumnFlags
pattern IsSorted = #{const ImGuiTableColumnFlags_IsSorted}
-- | Status: is hovered by mouse
pattern IsHovered :: ImGuiTableColumnFlags
pattern IsHovered = #{const ImGuiTableColumnFlags_IsHovered}
-- | [Internal] Combinations and masks
pattern WidthMask_ :: ImGuiTableColumnFlags
pattern WidthMask_ = #{const ImGuiTableColumnFlags_WidthMask_}
pattern IndentMask_ :: ImGuiTableColumnFlags
pattern IndentMask_ = #{const ImGuiTableColumnFlags_IndentMask_}
pattern StatusMask_ :: ImGuiTableColumnFlags
pattern StatusMask_ = #{const ImGuiTableColumnFlags_StatusMask_}
-- | [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)
pattern NoDirectResize_ :: ImGuiTableColumnFlags
pattern NoDirectResize_ = #{const ImGuiTableColumnFlags_NoDirectResize_}