MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / solution

Function solution

cp-profiler/src/cpprofiler/tree/node_drawing.cpp:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void solution(QPainter &painter, int x, int y, bool selected)
60{
61 using namespace traditional;
62 if (selected)
63 {
64 painter.setBrush(colors::gold);
65 }
66 else
67 {
68 painter.setBrush(colors::green);
69 }
70
71 drawDiamond(painter, x, y, false);
72}
73
74void failure(QPainter &painter, int x, int y, bool selected)
75{

Callers 2

paintEventMethod · 0.85
processCurrentNodeMethod · 0.85

Calls 1

drawDiamondFunction · 0.85

Tested by

no test coverage detected