C# Класс LongoMatch.Gui.Component.SynchronizationWidget

Наследование: Gtk.Bin
Показать файл Открыть проект

Открытые методы

Метод Описание
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