dear-imgui-raw-implot-1.0.0: src/DearImGui/Raw/ImPlot/Enums/HistogramFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.ImPlot.Enums.HistogramFlags
( HistogramFlags
, pattern ColMajor
, pattern Cumulative
, pattern Density
, pattern Horizontal
, pattern NoOutliers
, pattern None
) where
import Foreign.C.Types
#include "dcimgui_implot.h"
-- typedefs
-- | Flags for PlotHistogram and PlotHistogram2D. Used by setting ImPlotSpec::Flags.
type HistogramFlags = CInt
-- enums
-- | default
pattern None :: HistogramFlags
pattern None = #{const ImPlotHistogramFlags_None}
-- | histogram bars will be rendered horizontally (not supported by PlotHistogram2D)
pattern Horizontal :: HistogramFlags
pattern Horizontal = #{const ImPlotHistogramFlags_Horizontal}
-- | each bin will contain its count plus the counts of all previous bins (not supported by PlotHistogram2D)
pattern Cumulative :: HistogramFlags
pattern Cumulative = #{const ImPlotHistogramFlags_Cumulative}
-- | counts will be normalized, i.e. the PDF will be visualized, or the CDF will be visualized if Cumulative is also set
pattern Density :: HistogramFlags
pattern Density = #{const ImPlotHistogramFlags_Density}
-- | exclude values outside the specified histogram range from the count toward normalizing and cumulative counts
pattern NoOutliers :: HistogramFlags
pattern NoOutliers = #{const ImPlotHistogramFlags_NoOutliers}
-- | data will be read in column major order (not supported by PlotHistogram)
pattern ColMajor :: HistogramFlags
pattern ColMajor = #{const ImPlotHistogramFlags_ColMajor}