Minor cleanup.

This commit is contained in:
Jonathan Moore Liles 2008-05-16 21:21:44 -05:00
parent 235993b7b3
commit 24f935d957
2 changed files with 2 additions and 29 deletions

View File

@ -224,7 +224,7 @@ Sequence_Widget::handle ( int m )
case FL_RELEASE:
if ( _drag )
{
length_drag();
end_drag();
_log.release();
}

View File

@ -253,7 +253,7 @@ public:
_r = new Range( _range );
}
void length_drag ( void )
void end_drag ( void )
{
_range = *_r;
delete _r;
@ -263,33 +263,6 @@ public:
_drag = NULL;
}
/* void */
/* start ( nframes_t where ) */
/* { */
/* if ( ! selected() ) */
/* { */
/* redraw(); */
/* _r->start = where; */
/* } */
/* else */
/* { */
/* long d = where - _r->start; */
/* for ( list <Sequence_Widget *>::iterator i = _selection.begin(); i != _selection.end(); i++ ) */
/* { */
/* (*i)->redraw(); */
/* if ( d < 0 ) */
/* (*i)->_r->start -= 0 - d; */
/* else */
/* (*i)->_r->start += d; */
/* } */
/* } */
/* } */
int dispatch ( int m );
Fl_Widget * parent ( void ) const { return _sequence; }