
--[[
-- Defines for ImPlot.
--]]




-- New in ImPlot 0.7+
ImPlotFlags_None          = 0 --// default
ImPlotFlags_NoLegend      = 1 --// the top-left legend will not be displayed
ImPlotFlags_NoMenus       = 2 --// the user will not be able to open context menus with double-right click
ImPlotFlags_NoBoxSelect   = 4 --// the user will not be able to box-select with right-mouse
ImPlotFlags_NoMousePos    = 8 --// the mouse position, in plot coordinates, will not be displayed in the bottom-right
ImPlotFlags_NoHighlight   = 16 --// plot items will not be highlighted when their legend entry is hovered
ImPlotFlags_NoChild       = 32 --// a child window region will not be used to capture mouse scroll (can boost performance for single ImGui window applications)
ImPlotFlags_YAxis2        = 64 --// enable a 2nd y-axis on the right side
ImPlotFlags_YAxis3        = 128 --// enable a 3rd y-axis on the right side
ImPlotFlags_Query         = 256 --// the user will be able to draw query rects with middle-mouse
ImPlotFlags_Crosshairs    = 512 --// the default mouse cursor will be replaced with a crosshair when hovered
ImPlotFlags_AntiAliased   = 1024 --// plot lines will be software anti-aliased (not recommended for density plots, prefer MSAA)

-- OLD in ImPlot 0.5
-- ImPlotFlags_MousePos = 1
-- ImPlotFlags_Legend = 2
-- ImPlotFlags_Highlight = 4
-- ImPlotFlags_BoxSelect = 8
-- ImPlotFlags_Query = 16
-- ImPlotFlags_ContextMenu = 32
-- ImPlotFlags_Crosshairs  = 64
-- ImPlotFlags_AntiAliased = 128
-- ImPlotFlags_NoChild     = 256
-- ImPlotFlags_YAxis2      = 512
-- ImPlotFlags_YAxis3      = 1024
-- ImPlotFlags_Default     = ImPlotFlags_MousePos + ImPlotFlags_Legend + ImPlotFlags_Highlight + ImPlotFlags_BoxSelect + ImPlotFlags_ContextMenu









-- New in ImPlot 0.7+
ImPlotAxisFlags_None          = 0 --// default
ImPlotAxisFlags_NoGridLines   = 1 --// no grid lines will be displayed
ImPlotAxisFlags_NoTickMarks   = 2 --// no tick marks will be displayed
ImPlotAxisFlags_NoTickLabels  = 4 --// no text labels will be displayed
ImPlotAxisFlags_LogScale      = 8 --// a logartithmic (base 10) axis scale will be used (mutually exclusive with ImPlotAxisFlags_Time)
ImPlotAxisFlags_Time          = 16 --// axis will display date/time formatted labels (mutually exclusive with ImPlotAxisFlags_LogScale)
ImPlotAxisFlags_Invert        = 32 --// the axis will be inverted
ImPlotAxisFlags_LockMin       = 64 --// the axis minimum value will be locked when panning/zooming
ImPlotAxisFlags_LockMax       = 128 --// the axis maximum value will be locked when panning/zooming
ImPlotAxisFlags_Lock          = ImPlotAxisFlags_LockMin + ImPlotAxisFlags_LockMax
ImPlotAxisFlags_NoDecorations = ImPlotAxisFlags_NoGridLines + ImPlotAxisFlags_NoTickMarks + ImPlotAxisFlags_NoTickLabels

-- OLD in ImPlot 0.5
-- ImPlotAxisFlags_GridLines = 1
-- ImPlotAxisFlags_TickMarks = 2
-- ImPlotAxisFlags_TickLabels = 4
-- ImPlotAxisFlags_Invert = 8
-- ImPlotAxisFlags_LockMin = 16
-- ImPlotAxisFlags_LockMax = 32
-- ImPlotAxisFlags_LogScale = 64
-- ImPlotAxisFlags_Scientific = 128
-- ImPlotAxisFlags_Default = 7
-- ImPlotAxisFlags_Auxiliary = 6










ImPlotCol_Line = 0 --// plot line/outline color (defaults to next unused color in current colormap)
ImPlotCol_Fill = 1 -- plot fill color for bars (defaults to the current line color)
ImPlotCol_MarkerOutline = 2 -- marker outline color (defaults to the current line color)
ImPlotCol_MarkerFill = 3 -- marker fill color (defaults to the current line color)
ImPlotCol_ErrorBar = 4 -- error bar color (defaults to ImGuiCol_Text)
ImPlotCol_FrameBg = 5 -- plot frame background color (defaults to ImGuiCol_FrameBg)
ImPlotCol_PlotBg = 6 -- plot area background color (defaults to ImGuiCol_WindowBg)
ImPlotCol_PlotBorder = 7 -- plot area border color (defaults to ImGuiCol_Text)
ImPlotCol_LegendBg = 8 -- // legend background color (defaults to ImGuiCol_PopupBg)
ImPlotCol_LegendBorder = 9 -- // legend border color (defaults to ImPlotCol_PlotBorder)
ImPlotCol_LegendText = 10 -- // legend text color (defaults to ImPlotCol_InlayText)
ImPlotCol_TitleText = 11 -- // plot title text color (defaults to ImGuiCol_Text)
ImPlotCol_InlayText = 12 -- // color of text appearing inside of plots (defaults to ImGuiCol_Text)
ImPlotCol_XAxis = 13 -- // x-axis label and tick lables color (defaults to ImGuiCol_Text)
ImPlotCol_XAxisGrid = 14 -- // x-axis grid color (defaults to 25% ImPlotCol_XAxis)
ImPlotCol_YAxis = 15 -- // y-axis label and tick labels color (defaults to ImGuiCol_Text)
ImPlotCol_YAxisGrid = 16 -- // y-axis grid color (defaults to 25% ImPlotCol_YAxis)
ImPlotCol_YAxis2 = 17 -- // 2nd y-axis label and tick labels color (defaults to ImGuiCol_Text)
ImPlotCol_YAxisGrid2 = 18 -- // 2nd y-axis grid/label color (defaults to 25% ImPlotCol_YAxis2)
ImPlotCol_YAxis3 = 19 -- // 3rd y-axis label and tick labels color (defaults to ImGuiCol_Text)
ImPlotCol_YAxisGrid3 = 20 -- // 3rd y-axis grid/label color (defaults to 25% ImPlotCol_YAxis3)
ImPlotCol_Selection = 21 -- // box-selection color (defaults to yellow)
ImPlotCol_Query = 22 -- // box-query color (defaults to green)
ImPlotCol_Crosshairs = 23 -- // crosshairs color (defaults to ImPlotCol_PlotBorder)







ImPlotMarker_None        = -1
ImPlotMarker_Circle      = 0
ImPlotMarker_Square      = 1
ImPlotMarker_Diamond     = 2
ImPlotMarker_Up          = 3
ImPlotMarker_Down        = 4
ImPlotMarker_Left        = 5
ImPlotMarker_Right       = 6
ImPlotMarker_Cross       = 7
ImPlotMarker_Plus        = 8
ImPlotMarker_Asterisk    = 9







ImPlotStyleVar_LineWeight = 0 -- // float,  plot item line weight in pixels
ImPlotStyleVar_Marker = 1 -- // int,    marker specification
ImPlotStyleVar_MarkerSize = 2 -- // float,  marker size in pixels (roughly the marker's "radius")
ImPlotStyleVar_MarkerWeight = 3 -- // float,  plot outline weight of markers in pixels
ImPlotStyleVar_FillAlpha = 4 -- // float,  alpha modifier applied to all plot item fills
ImPlotStyleVar_ErrorBarSize = 5 -- // float,  error bar whisker width in pixels
ImPlotStyleVar_ErrorBarWeight = 6 -- // float,  error bar whisker weight in pixels
ImPlotStyleVar_DigitalBitHeight = 7 -- // float,  digital channels bit height (at 1) in pixels
ImPlotStyleVar_DigitalBitGap = 8 -- // float,  digital channels bit padding gap in pixels
ImPlotStyleVar_PlotBorderSize = 9 -- // float,  thickness of border around plot area
ImPlotStyleVar_MinorAlpha = 10 -- // float,  alpha multiplier applied to minor axis grid lines
ImPlotStyleVar_MajorTickLen = 11 -- // ImVec2, major tick lengths for X and Y axes
ImPlotStyleVar_MinorTickLen = 12 -- // ImVec2, minor tick lengths for X and Y axes
ImPlotStyleVar_MajorTickSize = 13 -- // ImVec2, line thickness of major ticks
ImPlotStyleVar_MinorTickSize = 14 -- // ImVec2, line thickness of minor ticks
ImPlotStyleVar_MajorGridSize = 15 -- // ImVec2, line thickness of major grid lines
ImPlotStyleVar_MinorGridSize = 16 -- // ImVec2, line thickness of minor grid lines
ImPlotStyleVar_PlotPadding = 17 -- // ImVec2, padding between widget frame and plot area and/or labels
ImPlotStyleVar_LabelPadding = 18 -- // ImVec2, padding between axes labels, tick labels, and plot edge
ImPlotStyleVar_LegendPadding = 19 -- // ImVec2, legend padding from top-left of plot
ImPlotStyleVar_InfoPadding = 20 -- // ImVec2, padding between plot edge and interior info text
ImPlotStyleVar_PlotMinSize = 21 -- // ImVec2, minimum size plot frame can be when shrunk






ImPlotColormap_Default  = 0
ImPlotColormap_Deep     = 1
ImPlotColormap_Dark     = 2
ImPlotColormap_Pastel   = 3
ImPlotColormap_Paired   = 4
ImPlotColormap_Viridis  = 5
ImPlotColormap_Plasma   = 6
ImPlotColormap_Hot      = 7
ImPlotColormap_Cool     = 8
ImPlotColormap_Pink     = 9
ImPlotColormap_Jet      = 10






ImGuiCond_None          = 0
ImGuiCond_Always        = 1
ImGuiCond_Once          = 2
ImGuiCond_FirstUseEver  = 4
ImGuiCond_Appearing     = 8

