packages feed

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

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

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

module DearImGui.Raw.ImPlot.Enums.Location
  ( Location
  , pattern Center
  , pattern East
  , pattern North
  , pattern NorthEast
  , pattern NorthWest
  , pattern South
  , pattern SouthEast
  , pattern SouthWest
  , pattern West
  ) where

import Foreign.C.Types

#include "dcimgui_implot.h"

-- typedefs

-- | Used to position items on a plot (e.g. legends, labels, etc.)
type Location = CInt

-- enums

-- | center-center
pattern Center :: Location
pattern Center = #{const ImPlotLocation_Center}

-- | top-center
pattern North :: Location
pattern North = #{const ImPlotLocation_North}

-- | bottom-center
pattern South :: Location
pattern South = #{const ImPlotLocation_South}

-- | center-left
pattern West :: Location
pattern West = #{const ImPlotLocation_West}

-- | center-right
pattern East :: Location
pattern East = #{const ImPlotLocation_East}

-- | top-left
pattern NorthWest :: Location
pattern NorthWest = #{const ImPlotLocation_NorthWest}

-- | top-right
pattern NorthEast :: Location
pattern NorthEast = #{const ImPlotLocation_NorthEast}

-- | bottom-left
pattern SouthWest :: Location
pattern SouthWest = #{const ImPlotLocation_SouthWest}

-- | bottom-right
pattern SouthEast :: Location
pattern SouthEast = #{const ImPlotLocation_SouthEast}