C# Class LongoMatch.Gui.Component.SynchronizationWidget

Inheritance: Gtk.Bin
ファイルを表示 Open project: LongoMatch/longomatch

Public Methods

Method Description
Pause ( ) : void
SaveChanges ( bool resyncEvents ) : void
Seek ( SeekEvent e ) : void
SynchronizationWidget ( ) : System

Protected Methods

Method Description
Build ( ) : void
OnDestroyed ( ) : void

Private Methods

Method Description
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.

Method Details

Build() protected method

protected Build ( ) : void
return void

OnDestroyed() protected method

protected OnDestroyed ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

SaveChanges() public method

public SaveChanges ( bool resyncEvents ) : void
resyncEvents bool
return void

Seek() public method

public Seek ( SeekEvent e ) : void
e SeekEvent
return void

SynchronizationWidget() public method

public SynchronizationWidget ( ) : System
return System