Module: synfig
Branch: master
Commit: 1b4c3fa03ceef65e4aeb2d907f450399e73b2bc7
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=1b4c3fa03ceef65e4aeb2d907f450399e73b2bc7

Author: Carlos Lopez <car...@pcnuevo.(none)>
Date:   Thu Jul 16 00:18:07 2009 +0200

Time cursor colour to be the same as time track. Document some code

---

 synfig-studio/trunk/src/gtkmm/widget_curves.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp 
b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp
index b4a5678..9375880 100644
--- a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp
+++ b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp
@@ -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;


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to