packages feed

dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiComboFlags.hsc

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

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

module DearImGui.Raw.Enums.ImGuiComboFlags
  ( ImGuiComboFlags
  , pattern HeightLarge
  , pattern HeightLargest
  , pattern HeightMask_
  , pattern HeightRegular
  , pattern HeightSmall
  , pattern NoArrowButton
  , pattern NoPreview
  , pattern None
  , pattern PopupAlignLeft
  , pattern WidthFitPreview
  ) where

import Foreign.C.Types

#include "dcimgui_nodefaultargfunctions.h"

-- typedefs

-- | Flags for ImGui::BeginCombo()
type ImGuiComboFlags = CInt

-- enums

pattern None :: ImGuiComboFlags
pattern None = #{const ImGuiComboFlags_None}

-- | Align the popup toward the left by default
pattern PopupAlignLeft :: ImGuiComboFlags
pattern PopupAlignLeft = #{const ImGuiComboFlags_PopupAlignLeft}

-- | Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
pattern HeightSmall :: ImGuiComboFlags
pattern HeightSmall = #{const ImGuiComboFlags_HeightSmall}

-- | Max ~8 items visible (default)
pattern HeightRegular :: ImGuiComboFlags
pattern HeightRegular = #{const ImGuiComboFlags_HeightRegular}

-- | Max ~20 items visible
pattern HeightLarge :: ImGuiComboFlags
pattern HeightLarge = #{const ImGuiComboFlags_HeightLarge}

-- | As many fitting items as possible
pattern HeightLargest :: ImGuiComboFlags
pattern HeightLargest = #{const ImGuiComboFlags_HeightLargest}

-- | Display on the preview box without the square arrow button
pattern NoArrowButton :: ImGuiComboFlags
pattern NoArrowButton = #{const ImGuiComboFlags_NoArrowButton}

-- | Display only a square arrow button
pattern NoPreview :: ImGuiComboFlags
pattern NoPreview = #{const ImGuiComboFlags_NoPreview}

-- | Width dynamically calculated from preview contents
pattern WidthFitPreview :: ImGuiComboFlags
pattern WidthFitPreview = #{const ImGuiComboFlags_WidthFitPreview}

pattern HeightMask_ :: ImGuiComboFlags
pattern HeightMask_ = #{const ImGuiComboFlags_HeightMask_}