Oops. Fix label drawing offset.

pull/3/head
Jonathan Moore Liles 2008-02-22 13:56:07 -06:00
parent aae8753db1
commit d3c62adde2
1 changed files with 1 additions and 3 deletions

View File

@ -75,7 +75,7 @@ public:
return min( rw, _track->w() );
}
int abs_x ( void ) const { return timeline->ts_to_x( timeline->xoffset ); }
int abs_x ( void ) const { return timeline->ts_to_x( _offset ); }
virtual int abs_w ( void ) const { return timeline->ts_to_x( _end - _start ); }
@ -153,8 +153,6 @@ public:
}
}
/* fl_font( FL_HELVETICA, 14 ); */
/* fl_color( FL_BLACK ); */
/* fl_draw( label, X + 2, Y + 2, w(), h(), align ); */