Settings.h
1 #pragma once 2 3 #include <array> 4 #include <cinttypes> 5 6 #include "Measurement.h" 7 8 struct Settings 9 { 10 uint8_t pixelTolerance = 30; 11 bool continuousCapture = false; 12 bool drawFeetOnCross = true; 13 bool perColorChannelEdgeDetection = false; 14 std::array<uint8_t, 3> lineColor = {255, 69, 0}; 15 Measurement::Unit units = Measurement::Unit::Pixel; 16 17 static Settings LoadFromFile(); 18 };