packages feed

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

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

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

module DearImGui.Raw.Internal.Enums.ImGuiTabItemFlags
  ( pattern Button
  , pattern Invisible
  , pattern NoCloseButton
  , pattern SectionMask_
  , pattern Unsorted
  ) where

import DearImGui.Raw.Enums.ImGuiTabItemFlags (ImGuiTabItemFlags)

#include "dcimgui_nodefaultargfunctions_internal.h"

-- enums

pattern SectionMask_ :: ImGuiTabItemFlags
pattern SectionMask_ = #{const ImGuiTabItemFlags_SectionMask_}

-- | Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)
pattern NoCloseButton :: ImGuiTabItemFlags
pattern NoCloseButton = #{const ImGuiTabItemFlags_NoCloseButton}

-- | Used by TabItemButton, change the tab item behavior to mimic a button
pattern Button :: ImGuiTabItemFlags
pattern Button = #{const ImGuiTabItemFlags_Button}

-- | To reserve space e.g. with ImGuiTabItemFlags_Leading
pattern Invisible :: ImGuiTabItemFlags
pattern Invisible = #{const ImGuiTabItemFlags_Invisible}

-- | [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window.
pattern Unsorted :: ImGuiTabItemFlags
pattern Unsorted = #{const ImGuiTabItemFlags_Unsorted}