[jokosher-devel] Project view re-engineering



At the minute we have two separate classes for handling project views,
RecordingView and CompactMixView. I've been looking at ticket #129 to add a
a working scrollbar to the mix view and it strikes me that there is a
certain amount of duplication between the two classes and just adding the
scrollbar code will only compound this. Maybe some consolidation could be
done here. There is a TODO comment in the code to this effect so maybe
someone else thought so too. One immediate thought is that if RecordingView
were to be modified to have an attribute to set the size of the instrument
lanes that could be set in the constructor then CompactMixView could be
re-engineered as a gtk.VPaned with an instance of RecordingView in the top
pane. (Would the zoom buttons be hidden in the mix view?). If we were to go
that route then the name RecordingView should be changed to something else
(ProjectView perhaps?). On the subject of names CompactMixView is so called
because once upon a time there was a DetailedMixView. Unless there are plams
to re-introduce a DetailedMixView then can CompactMixView be renamed as
simply MixView?.

-- 
John Green



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]