Debugging of a mouse polling issue, refactored the graph thing and finished tweaking it, added a few profiles to the graph, so pretty

This commit is contained in:
2018-02-27 22:13:59 -08:00
parent 29612edd61
commit 5a47d3bad4
12 changed files with 169 additions and 119 deletions

View File

@@ -1,10 +1,9 @@
#pragma once
#include <string>
#include <vector>
#include "imgui.h"
#include "imgui_internal.h"
namespace ImGui {
static ImU32 InvertColorU32(ImU32 in)
@@ -24,7 +23,7 @@ namespace ImGui {
}
static void PlotMultiLines(
const std::vector<std::vector<int>> &data,
const std::vector<std::vector<float>> &data,
std::string title,
const std::vector<std::string> &labels,
const std::vector<ImColor> &colors,