Skip to main content

dear_implot/
colors.rs

1use crate::sys;
2
3/// Colorable plot elements
4#[repr(i32)]
5#[derive(Copy, Clone, Debug, PartialEq, Eq)]
6pub enum PlotColorElement {
7    FrameBg = sys::ImPlotCol_FrameBg as i32,
8    PlotBg = sys::ImPlotCol_PlotBg as i32,
9    PlotBorder = sys::ImPlotCol_PlotBorder as i32,
10    LegendBg = sys::ImPlotCol_LegendBg as i32,
11    LegendBorder = sys::ImPlotCol_LegendBorder as i32,
12    LegendText = sys::ImPlotCol_LegendText as i32,
13    TitleText = sys::ImPlotCol_TitleText as i32,
14    InlayText = sys::ImPlotCol_InlayText as i32,
15    AxisText = sys::ImPlotCol_AxisText as i32,
16    AxisGrid = sys::ImPlotCol_AxisGrid as i32,
17    AxisTick = sys::ImPlotCol_AxisTick as i32,
18    AxisBg = sys::ImPlotCol_AxisBg as i32,
19    AxisBgHovered = sys::ImPlotCol_AxisBgHovered as i32,
20    AxisBgActive = sys::ImPlotCol_AxisBgActive as i32,
21    Selection = sys::ImPlotCol_Selection as i32,
22    Crosshairs = sys::ImPlotCol_Crosshairs as i32,
23}