Browse Source

Minor cleanup.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
24f935d957
2 changed files with 2 additions and 29 deletions
  1. +1
    -1
      Timeline/Sequence_Widget.C
  2. +1
    -28
      Timeline/Sequence_Widget.H

+ 1
- 1
Timeline/Sequence_Widget.C View File

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



+ 1
- 28
Timeline/Sequence_Widget.H 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; }


Loading…
Cancel
Save