dear-imgui-raw-implot-1.0.0: src/DearImGui/Raw/ImPlot/Enums/LegendFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.ImPlot.Enums.LegendFlags
( LegendFlags
, pattern Horizontal
, pattern NoButtons
, pattern NoHighlightAxis
, pattern NoHighlightItem
, pattern NoMenus
, pattern None
, pattern Outside
, pattern Reverse
, pattern Sort
) where
import Foreign.C.Types
#include "dcimgui_implot.h"
-- typedefs
-- | Options for legends (see SetupLegend)
type LegendFlags = CInt
-- enums
-- | default
pattern None :: LegendFlags
pattern None = #{const ImPlotLegendFlags_None}
-- | legend icons will not function as hide/show buttons
pattern NoButtons :: LegendFlags
pattern NoButtons = #{const ImPlotLegendFlags_NoButtons}
-- | plot items will not be highlighted when their legend entry is hovered
pattern NoHighlightItem :: LegendFlags
pattern NoHighlightItem = #{const ImPlotLegendFlags_NoHighlightItem}
-- | axes will not be highlighted when legend entries are hovered (only relevant if x/y-axis count > 1)
pattern NoHighlightAxis :: LegendFlags
pattern NoHighlightAxis = #{const ImPlotLegendFlags_NoHighlightAxis}
-- | the user will not be able to open context menus with right-click
pattern NoMenus :: LegendFlags
pattern NoMenus = #{const ImPlotLegendFlags_NoMenus}
-- | legend will be rendered outside of the plot area
pattern Outside :: LegendFlags
pattern Outside = #{const ImPlotLegendFlags_Outside}
-- | legend entries will be displayed horizontally
pattern Horizontal :: LegendFlags
pattern Horizontal = #{const ImPlotLegendFlags_Horizontal}
-- | legend entries will be displayed in alphabetical order
pattern Sort :: LegendFlags
pattern Sort = #{const ImPlotLegendFlags_Sort}
-- | legend entries will be displayed in reverse order
pattern Reverse :: LegendFlags
pattern Reverse = #{const ImPlotLegendFlags_Reverse}