From 5293eae6d9e2cd2b0749d7332fb5950eb96faddd Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 29 Apr 2008 15:57:52 -0500 Subject: [PATCH] Draw selected control points in selection color. --- Timeline/Control_Point.H | 5 ----- Timeline/Sequence_Widget.H | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Timeline/Control_Point.H b/Timeline/Control_Point.H index 1242e14..eddba2e 100644 --- a/Timeline/Control_Point.H +++ b/Timeline/Control_Point.H @@ -157,9 +157,4 @@ public: int y ( void ) const { return parent()->y() + ((float)parent()->h() * _y); } int h ( void ) const { return 6; } - void - draw ( int X, int Y, int W, int H ) - { - } - }; diff --git a/Timeline/Sequence_Widget.H b/Timeline/Sequence_Widget.H index 4ab13fc..9854cf5 100644 --- a/Timeline/Sequence_Widget.H +++ b/Timeline/Sequence_Widget.H @@ -339,7 +339,7 @@ public: virtual void draw_box ( void ) { - fl_draw_box( box(), x(), y(), w(), h(), _box_color ); + fl_draw_box( box(), x(), y(), w(), h(), selected() ? FL_MAGENTA : _box_color ); } virtual void