Browse Source

Timeline: Account for new clipping behavior in FLTK 1.3 when drawing in the overlay plane.

tags/non-daw-v1.2.0
Jonathan Moore Liles 13 years ago
parent
commit
ad3d826493
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      timeline/src/Timeline.C

+ 5
- 0
timeline/src/Timeline.C View File

@@ -1095,11 +1095,15 @@ Timeline::update_cb ( void *arg )
void
Timeline::draw_overlay ( void )
{
fl_push_no_clip();

draw_playhead();

if ( ! ( _selection.w && _selection.h ) )
{
fl_pop_clip();
return;
}

fl_push_clip( tracks->x() + Track::width(), rulers->y() + rulers->h(), tracks->w() - Track::width(), h() - rulers->h() - hscroll->h() );

@@ -1122,6 +1126,7 @@ Timeline::draw_overlay ( void )

fl_pop_clip();

fl_pop_clip();
}

/** select sequence widgets within rectangle /r/ */


Loading…
Cancel
Save