packages feed

dear-imgui-raw-internal-1.0.0: src/DearImGui/Raw/Internal/Enums/ImGuiOldColumnFlags.hsc

{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}

-- This file was generated by dear-bindings-ffi. Do not edit by hand.

module DearImGui.Raw.Internal.Enums.ImGuiOldColumnFlags
  ( ImGuiOldColumnFlags
  , pattern GrowParentContentsSize
  , pattern NoBorder
  , pattern NoForceWithinWindow
  , pattern NoPreserveWidths
  , pattern NoResize
  , pattern None
  ) where

import Foreign.C.Types

#include "dcimgui_nodefaultargfunctions_internal.h"

-- typedefs

-- | Flags for internal's BeginColumns(). This is an obsolete API. Prefer using BeginTable() nowadays!
type ImGuiOldColumnFlags = CInt

-- enums

pattern None :: ImGuiOldColumnFlags
pattern None = #{const ImGuiOldColumnFlags_None}

-- | Disable column dividers
pattern NoBorder :: ImGuiOldColumnFlags
pattern NoBorder = #{const ImGuiOldColumnFlags_NoBorder}

-- | Disable resizing columns when clicking on the dividers
pattern NoResize :: ImGuiOldColumnFlags
pattern NoResize = #{const ImGuiOldColumnFlags_NoResize}

-- | Disable column width preservation when adjusting columns
pattern NoPreserveWidths :: ImGuiOldColumnFlags
pattern NoPreserveWidths = #{const ImGuiOldColumnFlags_NoPreserveWidths}

-- | Disable forcing columns to fit within window
pattern NoForceWithinWindow :: ImGuiOldColumnFlags
pattern NoForceWithinWindow = #{const ImGuiOldColumnFlags_NoForceWithinWindow}

-- | Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.
pattern GrowParentContentsSize :: ImGuiOldColumnFlags
pattern GrowParentContentsSize = #{const ImGuiOldColumnFlags_GrowParentContentsSize}