packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.Prop
  ( Prop
  , pattern FillAlpha
  , pattern FillColor
  , pattern FillColors
  , pattern Flags
  , pattern LineColor
  , pattern LineColors
  , pattern LineWeight
  , pattern Marker
  , pattern MarkerFillColor
  , pattern MarkerFillColors
  , pattern MarkerLineColor
  , pattern MarkerLineColors
  , pattern MarkerSize
  , pattern MarkerSizes
  , pattern Offset
  , pattern Size
  , pattern Stride
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Plotting properties. These provide syntactic sugar for creating ImPlotSpecs from (ImPlotProp,value) pairs. See ImPlotSpec documentation.
type Prop = CInt

-- enums

-- | line color (applies to lines, bar edges); IMPLOT_AUTO_COL will use next Colormap color or current item color
pattern LineColor :: Prop
pattern LineColor = #{const ImPlotProp_LineColor}

-- | array of colors for each line; if nullptr, use LineColor for all lines
pattern LineColors :: Prop
pattern LineColors = #{const ImPlotProp_LineColors}

-- | line weight in pixels (applies to lines, bar edges, marker edges)
pattern LineWeight :: Prop
pattern LineWeight = #{const ImPlotProp_LineWeight}

-- | fill color (applies to shaded regions, bar faces); IMPLOT_AUTO_COL will use next Colormap color or current item color
pattern FillColor :: Prop
pattern FillColor = #{const ImPlotProp_FillColor}

-- | array of colors for each fill; if nullptr, use FillColor for all fills
pattern FillColors :: Prop
pattern FillColors = #{const ImPlotProp_FillColors}

-- | alpha multiplier (applies to FillColor, FillColors, MarkerFillColor, and MarkerFillColors)
pattern FillAlpha :: Prop
pattern FillAlpha = #{const ImPlotProp_FillAlpha}

-- | marker type; specify ImPlotMarker_Auto to use the next unused marker
pattern Marker :: Prop
pattern Marker = #{const ImPlotProp_Marker}

-- | size of markers (radius) *in pixels*
pattern MarkerSize :: Prop
pattern MarkerSize = #{const ImPlotProp_MarkerSize}

-- | array of sizes for each marker; if nullptr, use MarkerSize for all markers
pattern MarkerSizes :: Prop
pattern MarkerSizes = #{const ImPlotProp_MarkerSizes}

-- | marker edge color; IMPLOT_AUTO_COL will use LineColor
pattern MarkerLineColor :: Prop
pattern MarkerLineColor = #{const ImPlotProp_MarkerLineColor}

-- | array of colors for each marker edge; if nullptr, use MarkerLineColor for all markers
pattern MarkerLineColors :: Prop
pattern MarkerLineColors = #{const ImPlotProp_MarkerLineColors}

-- | marker face color; IMPLOT_AUTO_COL will use LineColor
pattern MarkerFillColor :: Prop
pattern MarkerFillColor = #{const ImPlotProp_MarkerFillColor}

-- | array of colors for each marker face; if nullptr, use MarkerFillColor for all markers
pattern MarkerFillColors :: Prop
pattern MarkerFillColors = #{const ImPlotProp_MarkerFillColors}

-- | size of error bar whiskers (width or height), and digital bars (height) *in pixels*
pattern Size :: Prop
pattern Size = #{const ImPlotProp_Size}

-- | data index offset
pattern Offset :: Prop
pattern Offset = #{const ImPlotProp_Offset}

-- | data stride in bytes; IMPLOT_AUTO will result in sizeof(T) where T is the type passed to PlotX
pattern Stride :: Prop
pattern Stride = #{const ImPlotProp_Stride}

-- | optional item flags; can be composed from common ImPlotItemFlags and/or specialized ImPlotXFlags
pattern Flags :: Prop
pattern Flags = #{const ImPlotProp_Flags}