Time cursor colour to be the same as time track. Document some code
authorCarlos Lopez <carlos@pcnuevo.(none)>
Wed, 15 Jul 2009 22:18:07 +0000 (00:18 +0200)
committerCarlos Lopez <carlos@pcnuevo.(none)>
Thu, 16 Jul 2009 12:55:55 +0000 (14:55 +0200)
synfig-studio/trunk/src/gtkmm/widget_curves.cpp

index b4a5678..9375880 100644 (file)
@@ -498,9 +498,10 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/)
        get_window()->draw_rectangle(gc, false, 0, round_to_int((0-r_bottom)/dr), w, 0);
 
        // Draw current time
-       gc->set_rgb_fg_color(Gdk::Color("#00007f"));
+       gc->set_rgb_fg_color(Gdk::Color("#0000ff")); // It should be user selectable
        get_window()->draw_rectangle(gc, false, round_to_int((time_adjustment_->get_value()-t_begin)/dt), 0, 0, h);
 
+       // Draw curves for the valuenodes stored in the curve list
        for(curve_iter=curve_list_.begin();curve_iter!=curve_list_.end();++curve_iter)
        {
                Real t;