OXYGENHUB
◆ main openmsx / src / imgui / ImGuiPlot.hh
503 B · C++ · last changed chore(): initial commit 1 month ago source blame history raw
1
#ifndef IMGUIPLOT_HH
2
#define IMGUIPLOT_HH
3
4
#include <span>
5
6
#include "gl_vec.hh"
7
8
namespace openmsx {
9
10
void plotLines(std::span<const float> values, float scale_min, float scale_max, gl::vec2 outer_size);
11
void plotLinesRaw(std::span<const float> values, float scale_min, float scale_max,
12
                  gl::vec2 top_left, gl::vec2 bottom_right, uint32_t color);
13
void plotHistogram(std::span<const float> values, float scale_min, float scale_max, gl::vec2 outer_size);
14
15
} // namespace openmsx
16
17
#endif