C# 클래스 Paint.PlaybackToolbox

Playback toolbox.
상속: ToolBox, IPlaybackToolBox
파일 보기 프로젝트 열기: RandolphBurt/MonoGame-iOS-SimplePaint

공개 메소드들

메소드 설명
PlaybackToolbox ( ToolboxLayoutDefinition toolboxLayoutDefinition, IGraphicsDisplay graphicsDisplay, int scale ) : System

Initializes a new instance of the Paint.PlaybackToolbox class.

SetPlayButtonDisabled ( ) : void

Disables the playback button

SetPlayButtonPaused ( ) : void

Sets the playback button to signify we are currently paused

보호된 메소드들

메소드 설명
AddButton ( ToolboxLayoutDefinitionStandardToolsButtonsButton buttonLayout ) : void

Creates all the buttons and adds them to our list of controls

OnPauseSelected ( EventArgs e ) : void

Raises the pause selected event.

OnPlaySelected ( EventArgs e ) : void

Raises the play selected event.

OnRestartSelected ( EventArgs e ) : void

Raises the restart selected event.

비공개 메소드들

메소드 설명
AddPlayPauseButton ( ToolboxLayoutDefinitionStandardToolsButtonsButton buttonLayout ) : void

Adds the play pause button.

AddRestartButton ( ToolboxLayoutDefinitionStandardToolsButtonsButton buttonLayout ) : void

Adds the restart button.

CreateProgressBar ( ToolboxLayoutDefinitionPlaybackToolsProgressBar progressBar ) : PlaybackProgressBar

Creates the progress bar.

CreateSpeedGauge ( ToolboxLayoutDefinitionPlaybackToolsSpeedGauge speedGauge ) : SpeedGauge

Creates the speed gauge.

CreateTools ( ToolboxLayoutDefinition toolboxLayoutDefinition ) : void

Creates all our tools.

메소드 상세

AddButton() 보호된 메소드

Creates all the buttons and adds them to our list of controls
protected AddButton ( ToolboxLayoutDefinitionStandardToolsButtonsButton buttonLayout ) : void
buttonLayout Paint.ToolboxLayout.ToolboxLayoutDefinitionStandardToolsButtonsButton
리턴 void

OnPauseSelected() 보호된 메소드

Raises the pause selected event.
protected OnPauseSelected ( EventArgs e ) : void
e System.EventArgs EventArgs for Pause Event
리턴 void

OnPlaySelected() 보호된 메소드

Raises the play selected event.
protected OnPlaySelected ( EventArgs e ) : void
e System.EventArgs EventArgs for Play Event
리턴 void

OnRestartSelected() 보호된 메소드

Raises the restart selected event.
protected OnRestartSelected ( EventArgs e ) : void
e System.EventArgs EventArgs for Restart Event
리턴 void

PlaybackToolbox() 공개 메소드

Initializes a new instance of the Paint.PlaybackToolbox class.
public PlaybackToolbox ( ToolboxLayoutDefinition toolboxLayoutDefinition, IGraphicsDisplay graphicsDisplay, int scale ) : System
toolboxLayoutDefinition Paint.ToolboxLayout.ToolboxLayoutDefinition
graphicsDisplay IGraphicsDisplay
scale int
리턴 System

SetPlayButtonDisabled() 공개 메소드

Disables the playback button
public SetPlayButtonDisabled ( ) : void
리턴 void

SetPlayButtonPaused() 공개 메소드

Sets the playback button to signify we are currently paused
public SetPlayButtonPaused ( ) : void
리턴 void