[Synfig-devl] Carlos Lopez : Draw time cursor always last.
Module: synfig Branch: zelgadis_master Commit: 365ed5c5144c19a00b5dd71965f821086b3ab8eb URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=365ed5c5144c19a00b5dd71965f821086b3ab8eb Author: Carlos Lopez Date: Thu Jul 16 15:29:54 2009 +0200 Draw time cursor always last. --- synfig-studio/trunk/src/gtkmm/widget_curves.cpp |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp index 602..2260dad 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp @@ -500,10 +500,6 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) gc->set_rgb_fg_color(Gdk::Color("#4f4f4f")); 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("#ff")); // It should be user selectable - get_window()->draw_rectangle(gc, false, round_to_int((time_adjustment_->get_value()-t_begin)/dt), 0, 0, h); - // This try to find a valid vanvas to show the keyframes of those // valuenodes. If not canvas found then no keyframes marks are shown. synfig::Canvas::Handle canvas=0; @@ -533,6 +529,11 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) } } } + + // Draw current time + gc->set_rgb_fg_color(Gdk::Color("#ff")); // 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) { -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Carlos Lopez : Draw time cursor always last.
Module: synfig Branch: genete_master Commit: 365ed5c5144c19a00b5dd71965f821086b3ab8eb URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=365ed5c5144c19a00b5dd71965f821086b3ab8eb Author: Carlos Lopez Date: Thu Jul 16 15:29:54 2009 +0200 Draw time cursor always last. --- synfig-studio/trunk/src/gtkmm/widget_curves.cpp |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp index 602..2260dad 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp @@ -500,10 +500,6 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) gc->set_rgb_fg_color(Gdk::Color("#4f4f4f")); 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("#ff")); // It should be user selectable - get_window()->draw_rectangle(gc, false, round_to_int((time_adjustment_->get_value()-t_begin)/dt), 0, 0, h); - // This try to find a valid vanvas to show the keyframes of those // valuenodes. If not canvas found then no keyframes marks are shown. synfig::Canvas::Handle canvas=0; @@ -533,6 +529,11 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) } } } + + // Draw current time + gc->set_rgb_fg_color(Gdk::Color("#ff")); // 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) { -- ___ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Carlos Lopez : Draw time cursor always last.
Module: synfig Branch: master Commit: 365ed5c5144c19a00b5dd71965f821086b3ab8eb URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=365ed5c5144c19a00b5dd71965f821086b3ab8eb Author: Carlos Lopez Date: Thu Jul 16 15:29:54 2009 +0200 Draw time cursor always last. --- synfig-studio/trunk/src/gtkmm/widget_curves.cpp |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp index 602..2260dad 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp @@ -500,10 +500,6 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) gc->set_rgb_fg_color(Gdk::Color("#4f4f4f")); 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("#ff")); // It should be user selectable - get_window()->draw_rectangle(gc, false, round_to_int((time_adjustment_->get_value()-t_begin)/dt), 0, 0, h); - // This try to find a valid vanvas to show the keyframes of those // valuenodes. If not canvas found then no keyframes marks are shown. synfig::Canvas::Handle canvas=0; @@ -533,6 +529,11 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) } } } + + // Draw current time + gc->set_rgb_fg_color(Gdk::Color("#ff")); // 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) { -- 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 Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl
[Synfig-devl] Carlos Lopez : Draw time cursor always last.
Module: synfig Branch: genete_curves_dock Commit: 365ed5c5144c19a00b5dd71965f821086b3ab8eb URL: http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=365ed5c5144c19a00b5dd71965f821086b3ab8eb Author: Carlos Lopez Date: Thu Jul 16 15:29:54 2009 +0200 Draw time cursor always last. --- synfig-studio/trunk/src/gtkmm/widget_curves.cpp |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp index 602..2260dad 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp @@ -500,10 +500,6 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) gc->set_rgb_fg_color(Gdk::Color("#4f4f4f")); 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("#ff")); // It should be user selectable - get_window()->draw_rectangle(gc, false, round_to_int((time_adjustment_->get_value()-t_begin)/dt), 0, 0, h); - // This try to find a valid vanvas to show the keyframes of those // valuenodes. If not canvas found then no keyframes marks are shown. synfig::Canvas::Handle canvas=0; @@ -533,6 +529,11 @@ Widget_Curves::redraw(GdkEventExpose */*bleh*/) } } } + + // Draw current time + gc->set_rgb_fg_color(Gdk::Color("#ff")); // 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) { -- 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 Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl