Draw selected control points in selection color.
This commit is contained in:
parent
458bb7cc05
commit
5293eae6d9
|
@ -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 )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue