packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.Flags
  ( Flags
  , pattern CanvasOnly
  , pattern Crosshairs
  , pattern Equal
  , pattern NoBoxSelect
  , pattern NoFrame
  , pattern NoInputs
  , pattern NoLegend
  , pattern NoMenus
  , pattern NoMouseText
  , pattern NoTitle
  , pattern None
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Options for plots (see BeginPlot).
type Flags = CInt

-- enums

-- | default
pattern None :: Flags
pattern None = #{const ImPlotFlags_None}

-- | the plot title will not be displayed (titles are also hidden if preceded by double hashes, e.g. "##MyPlot")
pattern NoTitle :: Flags
pattern NoTitle = #{const ImPlotFlags_NoTitle}

-- | the legend will not be displayed
pattern NoLegend :: Flags
pattern NoLegend = #{const ImPlotFlags_NoLegend}

-- | the mouse position, in plot coordinates, will not be displayed inside of the plot
pattern NoMouseText :: Flags
pattern NoMouseText = #{const ImPlotFlags_NoMouseText}

-- | the user will not be able to interact with the plot
pattern NoInputs :: Flags
pattern NoInputs = #{const ImPlotFlags_NoInputs}

-- | the user will not be able to open context menus
pattern NoMenus :: Flags
pattern NoMenus = #{const ImPlotFlags_NoMenus}

-- | the user will not be able to box-select
pattern NoBoxSelect :: Flags
pattern NoBoxSelect = #{const ImPlotFlags_NoBoxSelect}

-- | the ImGui frame will not be rendered
pattern NoFrame :: Flags
pattern NoFrame = #{const ImPlotFlags_NoFrame}

-- | x and y axes pairs will be constrained to have the same units/pixel
pattern Equal :: Flags
pattern Equal = #{const ImPlotFlags_Equal}

-- | the default mouse cursor will be replaced with a crosshair when hovered
pattern Crosshairs :: Flags
pattern Crosshairs = #{const ImPlotFlags_Crosshairs}

pattern CanvasOnly :: Flags
pattern CanvasOnly = #{const ImPlotFlags_CanvasOnly}