|
@@ -12,13 +12,13 @@ static std::string getDetailTemplate(std::string name, int numInputs, int inputO |
|
|
std::string text = name; |
|
|
std::string text = name; |
|
|
text += " ("; |
|
|
text += " ("; |
|
|
if (numInputs > 0) { |
|
|
if (numInputs > 0) { |
|
|
text += string::f("%d-%d in", inputOffset + 1, inputOffset + numInputs + 1); |
|
|
|
|
|
|
|
|
text += string::f("%d-%d in", inputOffset + 1, inputOffset + numInputs); |
|
|
} |
|
|
} |
|
|
if (numInputs > 0 && numOutputs > 0) { |
|
|
if (numInputs > 0 && numOutputs > 0) { |
|
|
text += ", "; |
|
|
text += ", "; |
|
|
} |
|
|
} |
|
|
if (numOutputs > 0) { |
|
|
if (numOutputs > 0) { |
|
|
text += string::f("%d-%d out", outputOffset + 1, outputOffset + numOutputs + 1); |
|
|
|
|
|
|
|
|
text += string::f("%d-%d out", outputOffset + 1, outputOffset + numOutputs); |
|
|
} |
|
|
} |
|
|
text += ")"; |
|
|
text += ")"; |
|
|
return text; |
|
|
return text; |
|
|