Browse Source

Wrap reference to NTK only function in ifdef.

master
Jonathan Moore Liles 10 years ago
parent
commit
af5c76b901
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      GUI/Widgets/Fl_Canvas.C

+ 5
- 1
GUI/Widgets/Fl_Canvas.C View File

@@ -389,7 +389,11 @@ void Fl_Canvas::DrawWires()
case 4: col = (Fl_Color) WIRE_COL4; break;
default: col = (Fl_Color) WIRE_COL0;
}
fl_color(fl_color_add_alpha( col, 127 ));
fl_color(col);

#ifdef NTK_MAJOR_VERSION
fl_color( fl_color_add_alpha( fl_color(), 127 ) );
#endif

double ep1_x, ep1_y, ep2_x, ep2_y,
ep1_mix_x,


Loading…
Cancel
Save