Skip to content
Snippets Groups Projects

Resolves #343 GUI and Frame Refactor

Merged Nicolas Pope requested to merge feature/gui2 into master
2 files
+ 7
4
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -84,6 +84,7 @@ void StatisticsWidget::draw(NVGcontext *ctx) {
else nvgFontFace(ctx, "sans-bold");
nvgFillColor(ctx, nanogui::Color(8, 8, 8, 255)); // shadow
tw = nvgTextBounds(ctx, pos[0] + width(), rowh, msg.c_str(), nullptr, nullptr);
nvgText(ctx, pos[0] + width(), rowh, msg.c_str(), nullptr);
nvgFillColor(ctx, colour);
nvgText(ctx, pos[0] + width() - 1, rowh - 1, msg.c_str(), nullptr);
tw += 10;
Loading