dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiButtonFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImGuiButtonFlags
( ImGuiButtonFlags
, pattern AllowOverlap
, pattern EnableNav
, pattern MouseButtonLeft
, pattern MouseButtonMask_
, pattern MouseButtonMiddle
, pattern MouseButtonRight
, pattern None
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Flags for InvisibleButton() [extended in imgui_internal.h]
type ImGuiButtonFlags = CInt
-- enums
pattern None :: ImGuiButtonFlags
pattern None = #{const ImGuiButtonFlags_None}
-- | React on left mouse button (default)
pattern MouseButtonLeft :: ImGuiButtonFlags
pattern MouseButtonLeft = #{const ImGuiButtonFlags_MouseButtonLeft}
-- | React on right mouse button
pattern MouseButtonRight :: ImGuiButtonFlags
pattern MouseButtonRight = #{const ImGuiButtonFlags_MouseButtonRight}
-- | React on center mouse button
pattern MouseButtonMiddle :: ImGuiButtonFlags
pattern MouseButtonMiddle = #{const ImGuiButtonFlags_MouseButtonMiddle}
-- | [Internal]
pattern MouseButtonMask_ :: ImGuiButtonFlags
pattern MouseButtonMask_ = #{const ImGuiButtonFlags_MouseButtonMask_}
-- | InvisibleButton(): do not disable navigation/tabbing. Otherwise disabled by default.
pattern EnableNav :: ImGuiButtonFlags
pattern EnableNav = #{const ImGuiButtonFlags_EnableNav}
-- | 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 :: ImGuiButtonFlags
pattern AllowOverlap = #{const ImGuiButtonFlags_AllowOverlap}