| 169 | // instead of just a diagonal down the center for only one chart. |
| 170 | |
| 171 | void ChartGridRelation(void) |
| 172 | { |
| 173 | int i0, j0, i, j, k, temp; |
| 174 | |
| 175 | #ifdef INTERPRET |
| 176 | if (us.fInterpret && !us.fGridMidpoint) { |
| 177 | InterpretGridRelation(); |
| 178 | return; |
| 179 | } |
| 180 | #endif |
| 181 | |
| 182 | for (k = 2; k <= 4 + us.fSeconds; k++) { |
| 183 | PrintSz(k <= 2 ? " 2>" : (k == 3 ? "1 " : (k == 4 ? "V " : " "))); |
| 184 | for (i0 = 0; i0 <= is.nObj; i0++) { |
| 185 | i = rgobjList[i0]; |
| 186 | if (ignore[i]) |
| 187 | continue; |
| 188 | PrintCh2(chV); |
| 189 | PrintGridCell(-3, i, 0, k); |
| 190 | AnsiColor(kDefault); |
| 191 | } |
| 192 | PrintL(); |
| 193 | } |
| 194 | for (j0 = 0; j0 <= is.nObj; j0++) { |
| 195 | j = rgobjList[j0]; |
| 196 | if (ignore[j]) |
| 197 | continue; |
| 198 | for (k = 1; k <= 4 + us.fSeconds; k++) { |
| 199 | if (k < 2) |
| 200 | PrintTab2(chH, 3); |
| 201 | else |
| 202 | PrintGridCell(-2, j, 0, k); |
| 203 | if (k > 1) |
| 204 | AnsiColor(kDefault); |
| 205 | for (i0 = 0; i0 <= is.nObj; i0++) { |
| 206 | i = rgobjList[i0]; |
| 207 | if (ignore[i]) |
| 208 | continue; |
| 209 | PrintCh2(k < 2 ? chC : chV); |
| 210 | temp = grid->n[i][j]; |
| 211 | if (k > 1 && i == j) |
| 212 | AnsiColor(kReverse); |
| 213 | if (k < 2) |
| 214 | PrintTab2(chH, 3); |
| 215 | else |
| 216 | PrintGridCell(i, j, 1 + us.fGridMidpoint, k); |
| 217 | AnsiColor(kDefault); |
| 218 | } |
| 219 | PrintL(); |
| 220 | } |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | |
| 225 | // Display all aspects between objects in the relationship comparison chart, |
no test coverage detected