packages feed

dear-imgui-raw-implot-1.0.0: src/DearImGui/Raw/ImPlot/Enums/DragToolFlags.hsc

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

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

module DearImGui.Raw.ImPlot.Enums.DragToolFlags
  ( DragToolFlags
  , pattern Delayed
  , pattern NoCursors
  , pattern NoFit
  , pattern NoInputs
  , pattern None
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Options for DragPoint, DragLine, DragRect
type DragToolFlags = CInt

-- enums

-- | default
pattern None :: DragToolFlags
pattern None = #{const ImPlotDragToolFlags_None}

-- | drag tools won't change cursor icons when hovered or held
pattern NoCursors :: DragToolFlags
pattern NoCursors = #{const ImPlotDragToolFlags_NoCursors}

-- | the drag tool won't be considered for plot fits
pattern NoFit :: DragToolFlags
pattern NoFit = #{const ImPlotDragToolFlags_NoFit}

-- | lock the tool from user inputs
pattern NoInputs :: DragToolFlags
pattern NoInputs = #{const ImPlotDragToolFlags_NoInputs}

-- | tool rendering will be delayed one frame; useful when applying position-constraints
pattern Delayed :: DragToolFlags
pattern Delayed = #{const ImPlotDragToolFlags_Delayed}