Exemplo n.º 1
0
 public void SetTimelineHover(ProjectDimensionsTimelineType hover)
 {
     if (TimelineHover != hover)
     {
         stateChanged = true;
     }
     TimelineHover = hover;
 }
Exemplo n.º 2
0
        public MouseOpTrimVideo(IVidkaOpContext iEditor,
			VidkaUiStateObjects uiObjects,
			ProjectDimensions dimdim,
			IVideoShitbox editor,
			IVideoPlayer videoPlayer,
			TrimDirection side,
			ProjectDimensionsTimelineType timeline)
            : base(iEditor, uiObjects, dimdim, editor, videoPlayer)
        {
            this.side = side;
            this.timeline = timeline;
            keyboardMode = false;
        }
Exemplo n.º 3
0
 public MouseOpTrimAudio(IVidkaOpContext iEditor,
                         VidkaUiStateObjects uiObjects,
                         ProjectDimensions dimdim,
                         IVideoShitbox editor,
                         IVideoPlayer videoPlayer,
                         TrimDirection side,
                         ProjectDimensionsTimelineType timeline)
     : base(iEditor, uiObjects, dimdim, editor, videoPlayer)
 {
     this.side     = side;
     this.timeline = timeline;
     keyboardMode  = false;
 }
 public EditOperationTrimVideo(ISomeCommonEditorOperations iEditor,
                               VidkaUiStateObjects uiObjects,
                               ProjectDimensions dimdim,
                               IVideoEditor editor,
                               IVideoPlayer videoPlayer,
                               TrimDirection side,
                               ProjectDimensionsTimelineType timeline)
     : base(iEditor, uiObjects, dimdim, editor, videoPlayer)
 {
     this.side     = side;
     this.timeline = timeline;
     keyboardMode  = false;
 }
Exemplo n.º 5
0
        public EditOperationTrimVideo(ISomeCommonEditorOperations iEditor,
			VidkaUiStateObjects uiObjects,
			ProjectDimensions dimdim,
			IVideoEditor editor,
			IVideoPlayer videoPlayer,
			TrimDirection side,
			ProjectDimensionsTimelineType timeline)
            : base(iEditor, uiObjects, dimdim, editor, videoPlayer)
        {
            this.side = side;
            this.timeline = timeline;
            keyboardMode = false;
        }
 public ProjectDimensionsTimeline(int y1100, int y2100, ProjectDimensionsTimelineType type)
 {
     this.y1100 = y1100;
     this.y2100 = y2100;
     this.Type = type;
 }
 public ProjectDimensionsTimeline(int y1100, int y2100, ProjectDimensionsTimelineType type)
 {
     this.y1100 = y1100;
     this.y2100 = y2100;
     this.Type  = type;
 }
Exemplo n.º 8
0
        public void PrepareCanvas(Graphics g, ProjectDimensions dimdim, int w, int h, ProjectDimensionsTimelineType hover)
        {
            int yMain1    = dimdim.getY_main1(h);
            int yMain2    = dimdim.getY_main2(h);
            int yMainHalf = dimdim.getY_main_half(h);
            int yAudio1   = dimdim.getY_audio1(h);
            int yAudio2   = dimdim.getY_audio2(h);

            g.FillRectangle((hover == ProjectDimensionsTimelineType.Main) ? brushLightGray2 : brushLightGray, 0, yMain1, w, yMainHalf - yMain1);
            g.FillRectangle((hover == ProjectDimensionsTimelineType.Main) ? brushLightGray3 : brushLightGray2, 0, yMainHalf, w, yMain2 - yMainHalf);
            g.FillRectangle((hover == ProjectDimensionsTimelineType.Audios) ? brushLightGray3 : brushLightGray2, 0, yAudio1, w, yAudio2 - yAudio1);
        }
Exemplo n.º 9
0
 public void SetTimelineHover(ProjectDimensionsTimelineType hover)
 {
     if (TimelineHover != hover)
         stateChanged = true;
     TimelineHover = hover;
 }