C# 클래스 LongoMatch.Gui.Component.SynchronizationWidget

상속: Gtk.Bin
파일 보기 프로젝트 열기: LongoMatch/longomatch

공개 메소드들

메소드 설명
Pause ( ) : void
SaveChanges ( bool resyncEvents ) : void
Seek ( SeekEvent e ) : void
SynchronizationWidget ( ) : System

보호된 메소드들

메소드 설명
Build ( ) : void
OnDestroyed ( ) : void

비공개 메소드들

메소드 설명
ConnectSignals ( ) : void
HandleAudioToggled ( object sender, EventArgs args ) : void

Configure players' audio volume based on toggle buttons.

HandleCameraDragged ( System.MediaFile mediafile, TimeNode timenode ) : void
HandleCameraUpdate ( CameraObject camera ) : void
HandleKeyPressed ( KeyPressedEvent e ) : void
HandleMainCamPlayerVMPropertyChanged ( object sender, System e ) : void
HandleScrollEvent ( object sender, System args ) : void

Handles the scroll event from the scrolled window and synchronise the timelines labels and timerule with it.

HandleSelectedCameraChanged ( object sender, EventArgs args ) : void
HandleShowTimerMenuEvent ( Timer timer, Time time ) : void
HandleStateChanged ( PlaybackStateChangedEvent e ) : void

Try to slave the secondary player to the first

HandleTick ( Time currentTime, Time duration, bool seekable ) : void

Handles the tick from media player to update Current Time in timelines.

HandleTimeNodeChanged ( TimeNode tNode, object val ) : void

Periods segments have moved, adjust main camera position to segment boundaries

HandleTimeruleSeek ( Time pos, bool accurate, bool synchronous = false, bool throttled = false ) : void
HandleTogglePlayEvent ( TogglePlayEvent e ) : void
HandleZoomChanged ( object sender, EventArgs e ) : void
HideDidactic ( ) : void
HideSecondaryPlayer ( ) : void

Hides the secondary player, pausing it if necessary.

IsInScope ( CameraObject camera ) : bool

Determines whether the provided camera object is in scope of the current time.

ShowDidactic ( DidacticMessage message ) : void

Handles the case where the secondary video gets out of scope compared to current time of main video.

ShowSecondaryPlayer ( ) : bool

Shows the secondary player, hiding didactic message.

SyncSecondaryPlayer ( ) : bool

Synchronises the secondary player position and playing state with the main one.

UpdateLabels ( ) : void
UpdateMaxSecondsPerPixel ( ) : void

Calculates the maximum number of seconds per pixel to accomodate the complete duration in available space.

UpdateTime ( ) : bool
UpdateTimeLineSize ( MediaFileSet fileSet ) : void

Adjusts the VPaned position to accomodate up to 8 cameras.

메소드 상세

Build() 보호된 메소드

protected Build ( ) : void
리턴 void

OnDestroyed() 보호된 메소드

protected OnDestroyed ( ) : void
리턴 void

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

SaveChanges() 공개 메소드

public SaveChanges ( bool resyncEvents ) : void
resyncEvents bool
리턴 void

Seek() 공개 메소드

public Seek ( SeekEvent e ) : void
e SeekEvent
리턴 void

SynchronizationWidget() 공개 메소드

public SynchronizationWidget ( ) : System
리턴 System