packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.ColormapScaleFlags
  ( ColormapScaleFlags
  , pattern Invert
  , pattern NoLabel
  , pattern None
  , pattern Opposite
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Flags for ColormapScale
type ColormapScaleFlags = CInt

-- enums

-- | default
pattern None :: ColormapScaleFlags
pattern None = #{const ImPlotColormapScaleFlags_None}

-- | the colormap axis label will not be displayed
pattern NoLabel :: ColormapScaleFlags
pattern NoLabel = #{const ImPlotColormapScaleFlags_NoLabel}

-- | render the colormap label and tick labels on the opposite side
pattern Opposite :: ColormapScaleFlags
pattern Opposite = #{const ImPlotColormapScaleFlags_Opposite}

-- | invert the colormap bar and axis scale (this only affects rendering; if you only want to reverse the scale mapping, make scale_min > scale_max)
pattern Invert :: ColormapScaleFlags
pattern Invert = #{const ImPlotColormapScaleFlags_Invert}