Changeset 213 for cpp/frams/canvas/neurodiagram.cpp
- Timestamp:
- 04/05/14 15:44:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/canvas/neurodiagram.cpp
r197 r213 326 326 drawLine(size.x / 4, yw, xw, yw); // first horizontal segment (to the left) 327 327 diagram.setWireColor(ns2->n->state, 0); 328 // linetype: 1 (default) - draw straight or U-shape depending on layout 329 // 0 (debug option) - only draw straight lines 328 330 if ((diagram.linetype != 1) || (ns2->pos.x + ns2->size.x / 2 < pos.x)) 329 331 { // straight line to the other neuron's output (the signal goes forwards)
Note: See TracChangeset
for help on using the changeset viewer.