packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.AxisFlags
  ( AxisFlags
  , pattern AutoFit
  , pattern AuxDefault
  , pattern Foreground
  , pattern Invert
  , pattern Lock
  , pattern LockMax
  , pattern LockMin
  , pattern NoDecorations
  , pattern NoGridLines
  , pattern NoHighlight
  , pattern NoInitialFit
  , pattern NoLabel
  , pattern NoMenus
  , pattern NoSideSwitch
  , pattern NoTickLabels
  , pattern NoTickMarks
  , pattern None
  , pattern Opposite
  , pattern PanStretch
  , pattern RangeFit
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Options for plot axes (see SetupAxis).
type AxisFlags = CInt

-- enums

-- | default
pattern None :: AxisFlags
pattern None = #{const ImPlotAxisFlags_None}

-- | the axis label will not be displayed (axis labels are also hidden if the supplied string name is nullptr)
pattern NoLabel :: AxisFlags
pattern NoLabel = #{const ImPlotAxisFlags_NoLabel}

-- | no grid lines will be displayed
pattern NoGridLines :: AxisFlags
pattern NoGridLines = #{const ImPlotAxisFlags_NoGridLines}

-- | no tick marks will be displayed
pattern NoTickMarks :: AxisFlags
pattern NoTickMarks = #{const ImPlotAxisFlags_NoTickMarks}

-- | no text labels will be displayed
pattern NoTickLabels :: AxisFlags
pattern NoTickLabels = #{const ImPlotAxisFlags_NoTickLabels}

-- | axis will not be initially fit to data extents on the first rendered frame
pattern NoInitialFit :: AxisFlags
pattern NoInitialFit = #{const ImPlotAxisFlags_NoInitialFit}

-- | the user will not be able to open context menus with right-click
pattern NoMenus :: AxisFlags
pattern NoMenus = #{const ImPlotAxisFlags_NoMenus}

-- | the user will not be able to switch the axis side by dragging it
pattern NoSideSwitch :: AxisFlags
pattern NoSideSwitch = #{const ImPlotAxisFlags_NoSideSwitch}

-- | the axis will not have its background highlighted when hovered or held
pattern NoHighlight :: AxisFlags
pattern NoHighlight = #{const ImPlotAxisFlags_NoHighlight}

-- | axis ticks and labels will be rendered on the conventionally opposite side (i.e, right or top)
pattern Opposite :: AxisFlags
pattern Opposite = #{const ImPlotAxisFlags_Opposite}

-- | grid lines will be displayed in the foreground (i.e. on top of data) instead of the background
pattern Foreground :: AxisFlags
pattern Foreground = #{const ImPlotAxisFlags_Foreground}

-- | the axis will be inverted
pattern Invert :: AxisFlags
pattern Invert = #{const ImPlotAxisFlags_Invert}

-- | axis will be auto-fitting to data extents
pattern AutoFit :: AxisFlags
pattern AutoFit = #{const ImPlotAxisFlags_AutoFit}

-- | axis will only fit points if the point is in the visible range of the **orthogonal** axis
pattern RangeFit :: AxisFlags
pattern RangeFit = #{const ImPlotAxisFlags_RangeFit}

-- | panning in a locked or constrained state will cause the axis to stretch if possible
pattern PanStretch :: AxisFlags
pattern PanStretch = #{const ImPlotAxisFlags_PanStretch}

-- | the axis minimum value will be locked when panning/zooming
pattern LockMin :: AxisFlags
pattern LockMin = #{const ImPlotAxisFlags_LockMin}

-- | the axis maximum value will be locked when panning/zooming
pattern LockMax :: AxisFlags
pattern LockMax = #{const ImPlotAxisFlags_LockMax}

pattern Lock :: AxisFlags
pattern Lock = #{const ImPlotAxisFlags_Lock}

pattern NoDecorations :: AxisFlags
pattern NoDecorations = #{const ImPlotAxisFlags_NoDecorations}

pattern AuxDefault :: AxisFlags
pattern AuxDefault = #{const ImPlotAxisFlags_AuxDefault}