Draw selected control points in selection color.

This commit is contained in:
Jonathan Moore Liles 2008-04-29 15:57:52 -05:00
parent 458bb7cc05
commit 5293eae6d9
2 changed files with 1 additions and 6 deletions

View File

@ -157,9 +157,4 @@ public:
int y ( void ) const { return parent()->y() + ((float)parent()->h() * _y); } int y ( void ) const { return parent()->y() + ((float)parent()->h() * _y); }
int h ( void ) const { return 6; } int h ( void ) const { return 6; }
void
draw ( int X, int Y, int W, int H )
{
}
}; };

View File

@ -339,7 +339,7 @@ public:
virtual void virtual void
draw_box ( 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 virtual void