packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.StairsFlags
  ( StairsFlags
  , pattern None
  , pattern PreStep
  , pattern Shaded
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Flags for PlotStairs. Used by setting ImPlotSpec::Flags.
type StairsFlags = CInt

-- enums

-- | default
pattern None :: StairsFlags
pattern None = #{const ImPlotStairsFlags_None}

-- | the y value is continued constantly to the left from every x position, i.e. the interval (x[i-1], x[i]] has the value y[i]
pattern PreStep :: StairsFlags
pattern PreStep = #{const ImPlotStairsFlags_PreStep}

-- | a filled region between the stairs and horizontal origin will be rendered; use PlotShaded for more advanced cases
pattern Shaded :: StairsFlags
pattern Shaded = #{const ImPlotStairsFlags_Shaded}