Advice on how to create an OpenGL3 EDL Timeline

12 views
Skip to first unread message

Gonzalo Garramuño

unread,
Jun 15, 2023, 2:36:43 PM6/15/23
to fltkg...@googlegroups.com
In my viewer, I am now starting to prepare to create a timeline for
future EDL (Edit Decision List) manipulation, like a video editor. 
However, I am unsure what would be the best way to handle it.

All the elements in the timeline (small thumbnails and audio waveform)
would be drawn with OpenGL3 which means I would be using an Fl_Gl_Window
widget as the base widget for the whole timeline.

However, for keeping the code future proof, I would like to keep a class
for each element in the timeline (ie. a track, a video clip, a gap, an
audio clip, etc).  Since the auxiliary classes are not Fl_Gl_Windows, I
need to pass around a GL3 auxiliary rendering class (already built and
working), instead of drawing the other child elements with the standard
draw() of FLTK.

An additional complication is that I need to handle panning and zooming
of the timeline.

Does the above sound reasonable?  Does anyone have any other suggestions?

--
Gonzalo Garramuño
ggar...@gmail.com

Reply all
Reply to author
Forward
0 new messages