Example #1
0
 public void setLogic(EditorLogic logic)
 {
     Logic = logic;
     if (isControlLoaded)
     {
         Logic.UiInitialized();
     }
     // .... these are all the classes that draw shit on in the VideoShitbox control
     vidkaDrawOps = new DrawOpsCollection(new DrawOp[] {
         new Draw0Canvas(Logic, imageMan),
         new Draw0Axis(Logic, imageMan),
         new DrawVideoClips(Logic, imageMan),
         new DrawAudioClips(Logic, imageMan),
         new DrawRenderBreakups(Logic, imageMan),
         new DrawVideoAudioAligns(Logic, imageMan),
         new DrawVideoAudioLinkage(Logic, imageMan),
         new DrawVideoHover(Logic, imageMan),
         new DrawAudioHover(Logic, imageMan),
         new DrawCurFrameMarker(Logic, imageMan),
         new DrawOriginalVideo(Logic, imageMan),
         new DrawOriginalAudio(Logic, imageMan),
         new DrawDraggySeparately(Logic, imageMan),
     });
     Invalidate();
 }
Example #2
0
 public void setLogic(EditorLogic logic)
 {
     Logic = logic;
     if (isControlLoaded)
         Logic.UiInitialized();
     // .... these are all the classes that draw shit on in the VideoShitbox control
     vidkaDrawOps = new DrawOpsCollection(new DrawOp[] {
         new Draw0Canvas(Logic, imageMan),
         new Draw0Axis(Logic, imageMan),
         new DrawVideoClips(Logic, imageMan),
         new DrawAudioClips(Logic, imageMan),
         new DrawRenderBreakups(Logic, imageMan),
         new DrawVideoAudioAligns(Logic, imageMan),
         new DrawVideoAudioLinkage(Logic, imageMan),
         new DrawVideoHover(Logic, imageMan),
         new DrawAudioHover(Logic, imageMan),
         new DrawCurFrameMarker(Logic, imageMan),
         new DrawOriginalVideo(Logic, imageMan),
         new DrawOriginalAudio(Logic, imageMan),
         new DrawDraggySeparately(Logic, imageMan),
     });
     Invalidate();
 }