packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.SubplotFlags
  ( SubplotFlags
  , pattern ColMajor
  , pattern LinkAllX
  , pattern LinkAllY
  , pattern LinkCols
  , pattern LinkRows
  , pattern NoAlign
  , pattern NoLegend
  , pattern NoMenus
  , pattern NoResize
  , pattern NoTitle
  , pattern None
  , pattern ShareItems
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Options for subplots (see BeginSubplot)
type SubplotFlags = CInt

-- enums

-- | default
pattern None :: SubplotFlags
pattern None = #{const ImPlotSubplotFlags_None}

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

-- | the legend will not be displayed (only applicable if ImPlotSubplotFlags_ShareItems is enabled)
pattern NoLegend :: SubplotFlags
pattern NoLegend = #{const ImPlotSubplotFlags_NoLegend}

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

-- | resize splitters between subplot cells will be not be provided
pattern NoResize :: SubplotFlags
pattern NoResize = #{const ImPlotSubplotFlags_NoResize}

-- | subplot edges will not be aligned vertically or horizontally
pattern NoAlign :: SubplotFlags
pattern NoAlign = #{const ImPlotSubplotFlags_NoAlign}

-- | items across all subplots will be shared and rendered into a single legend entry
pattern ShareItems :: SubplotFlags
pattern ShareItems = #{const ImPlotSubplotFlags_ShareItems}

-- | link the y-axis limits of all plots in each row (does not apply to auxiliary axes)
pattern LinkRows :: SubplotFlags
pattern LinkRows = #{const ImPlotSubplotFlags_LinkRows}

-- | link the x-axis limits of all plots in each column (does not apply to auxiliary axes)
pattern LinkCols :: SubplotFlags
pattern LinkCols = #{const ImPlotSubplotFlags_LinkCols}

-- | link the x-axis limits in every plot in the subplot (does not apply to auxiliary axes)
pattern LinkAllX :: SubplotFlags
pattern LinkAllX = #{const ImPlotSubplotFlags_LinkAllX}

-- | link the y-axis limits in every plot in the subplot (does not apply to auxiliary axes)
pattern LinkAllY :: SubplotFlags
pattern LinkAllY = #{const ImPlotSubplotFlags_LinkAllY}

-- | subplots are added in column major order instead of the default row major order
pattern ColMajor :: SubplotFlags
pattern ColMajor = #{const ImPlotSubplotFlags_ColMajor}