Commit Graph

677 Commits

Author SHA1 Message Date
Jonathan Moore Liles 8856fd8b9e Fix event_widget detection for overlapping widgets. 2008-02-22 03:44:09 -06:00
Jonathan Moore Liles 9bb9f1bd9d Clean up some issues with new scrolling optimization. 2008-02-22 02:51:22 -06:00
Jonathan Moore Liles 97b344d3dd Replace Clip class with Audio_File abstract class who's children are interfaces to
various libraries.
2008-02-22 02:19:20 -06:00
Jonathan Moore Liles 8b92eb9318 Get rid of some unnecessary redrawing. 2008-02-21 22:53:39 -06:00
Jonathan Moore Liles b6106fc6da First pass at implementing fl_scroll optimization for timeline. 2008-02-21 12:31:15 -06:00
Jonathan Moore Liles cee75218f3 Move stuff from main.C into Timeline.C 2008-02-21 10:20:36 -06:00
Jonathan Moore Liles 391ec0757a Work on time/tempo tracks. 2008-02-21 06:57:33 -06:00
Jonathan Moore Liles 1246944a95 Fix hight of Track_Widget box. 2008-02-21 04:45:50 -06:00
Jonathan Moore Liles 045bb504c3 Actually use tempo track for tempo data. 2008-02-21 04:39:13 -06:00
Jonathan Moore Liles 44904bc640 Split some track widget classes into seperate headers. 2008-02-21 04:01:25 -06:00
Jonathan Moore Liles 5118c79c2f Reinstate normalize action. 2008-02-21 03:51:07 -06:00
Jonathan Moore Liles 28895ca0ea Invert waveform color when selected 2008-02-21 03:48:53 -06:00
Jonathan Moore Liles 64f18c7585 Remove jitter from region track jumping. 2008-02-21 03:38:35 -06:00
Jonathan Moore Liles ef305848c9 Replace scrollbar with scalebar and ditch zoom slider. 2008-02-21 03:35:03 -06:00
Jonathan Moore Liles 71a4692f2d Scroll bar moves by pixels, not samples. This eliminates rounding errors while scrolling. 2008-02-21 02:46:31 -06:00
Jonathan Moore Liles 9b1e8259be Permit region selection. 2008-02-21 01:38:31 -06:00
Jonathan Moore Liles f5aaee31f7 Permit removal of Track_Widgets. 2008-02-21 01:17:49 -06:00
Jonathan Moore Liles 408bf5b296 Split soundfile DND functionality of Track into Audio_Track class. 2008-02-21 00:39:00 -06:00
Jonathan Moore Liles 9321a19a5d Begin generalizing track class as base class. 2008-02-21 00:28:20 -06:00
Jonathan Moore Liles 825d16c5b7 Reinstitute drag scrolling. 2008-02-21 00:12:21 -06:00
Jonathan Moore Liles 2902ea92dc Try to generalize the Track_Widget display calculations. 2008-02-21 00:02:43 -06:00
Jonathan Moore Liles a1dd1192cc Add Track_Point class for track widgets with no meaningful length. 2008-02-20 22:03:48 -06:00
Jonathan Moore Liles 4a266bc86a Attempt to clean up label drawing for track widgets. 2008-02-20 21:40:20 -06:00
Jonathan Moore Liles f042e887e0 Make normalize region work again. 2008-02-20 20:10:44 -06:00
Jonathan Moore Liles 9e23dd5878 Use base class handle() in Region. 2008-02-20 20:06:39 -06:00
Jonathan Moore Liles ff0614c7ae Add tempo track and tempo_point widgets. 2008-02-20 19:51:40 -06:00
Jonathan Moore Liles cec2dc4afd Add member functions to track_widget to retreive scroll position. 2008-02-20 18:32:54 -06:00
Jonathan Moore Liles 2cc273ccc6 WIP 2008-02-20 18:25:21 -06:00
Jonathan Moore Liles 08182d2c5f Make track use track_widget base class instead of regions. 2008-02-20 18:14:44 -06:00
Jonathan Moore Liles a2ea182810 More work on tempo map 2008-02-20 09:43:14 -06:00
Jonathan Moore Liles 609e00eecf Draw beat lines. 2008-02-20 06:45:02 -06:00
Jonathan Moore Liles e1e1d43f61 Make panning work. 2008-02-20 05:48:42 -06:00
Jonathan Moore Liles 372ceb4375 Improve event region calculation. 2008-02-20 05:40:23 -06:00
Jonathan Moore Liles 50680c6063 Fix event handling of trackwidgets when scrolled. 2008-02-20 05:29:31 -06:00
Jonathan Moore Liles f5f19db5a9 Fix label offset when scrolling... This is necessary if we want to support fl_scroll optimization. 2008-02-20 04:55:35 -06:00
Jonathan Moore Liles 318c27088b Reduce the number of peaks read when drawing region. 2008-02-20 04:51:07 -06:00
Jonathan Moore Liles 5e0e95cc0a Fixup virtual scrolling. 2008-02-20 04:45:10 -06:00
Jonathan Moore Liles d5dc2a2edf Split region into TrackWidget base class. 2008-02-20 02:49:47 -06:00
Jonathan Moore Liles e94cb69c34 Clean up region box drawing. 2008-02-20 01:53:54 -06:00
Jonathan Moore Liles 7501a8094b Make snapping work again. 2008-02-20 01:24:56 -06:00
Jonathan Moore Liles bcfa0cb029 Make trimming work. 2008-02-20 01:08:36 -06:00
Jonathan Moore Liles 35d277d67d Make region dragging work. 2008-02-20 00:46:28 -06:00
Jonathan Moore Liles 900c49aeae Begin handlig region events again. 2008-02-20 00:35:29 -06:00
Jonathan Moore Liles 69aee9de79 Add scrollbar for timeline. 2008-02-20 00:11:33 -06:00
Jonathan Moore Liles 76afaa5792 Begin moving to custom track scrolling with 'virtual' region widgets. 2008-02-19 23:57:14 -06:00
Jonathan Moore Liles 80ec2b6e35 Work in snapping some more. 2008-02-19 00:22:42 -06:00
Jonathan Moore Liles 2d6a93b448 Try to make snapping more accurate. 2008-02-18 18:35:37 -06:00
Jonathan Moore Liles a055856c56 Implement snap-to for regions. 2008-02-18 01:44:31 -06:00
Jonathan Moore Liles 5ec40ad5ce Permit panning of regions. Try to prevent trimming or panning beyond 0. 2008-02-18 01:15:12 -06:00
Jonathan Moore Liles 6b48c0d629 Insert imported regions at offset of drop. 2008-02-17 23:25:26 -06:00