private:\r
context() : executor_(L"diagnostics")\r
{\r
- executor_.start();\r
executor_.begin_invoke([this]\r
- {\r
+ { \r
+ SetThreadPriority(GetCurrentThread(), BELOW_NORMAL_PRIORITY_CLASS);\r
window_.Create(sf::VideoMode(600, 1000), "CasparCG Diagnostics");\r
window_.SetPosition(0, 0);\r
window_.SetActive();\r
boost::optional<diagnostics::guide> guide_;\r
boost::circular_buffer<std::pair<double, bool>> line_data_;\r
\r
- std::vector<float> tick_data_;\r
+ std::vector<double> tick_data_;\r
bool tick_tag_;\r
color c_;\r
public:\r
target.Draw(*guide_);\r
\r
glBegin(GL_LINE_STRIP);\r
- glColor4f(c_.red, c_.green, c_.blue, 0.7f); \r
+ glColor4f(c_.red, c_.green, c_.blue, 0.8f); \r
for(size_t n = 0; n < line_data_.size(); ++n) \r
if(line_data_[n].first > -0.5)\r
glVertex3d(x+n*dx, std::max(0.05, std::min(0.95, (1.0f-line_data_[n].first)*0.8 + 0.1f)), 0.0); \r