C# 클래스 SphereStudio.Plugins.SoundPicker

상속: System.Windows.Forms.UserControl, IDockPane, IFileOpener, IStyleable
파일 보기 프로젝트 열기: Radnen/spherestudio 1 사용 예제들

공개 메소드들

메소드 설명
ForcePause ( ) : void

Forces pause on songs.

Open ( string fileName ) : DocumentView
PlayFile ( string path ) : void

Plays the song or sound located at the path's location.

PlayOrPauseMusic ( ) : void

Toggles between the playing and pausing of the current music file.

Refresh ( ) : void

Overrides the refresh method to re-add the music and sounds found in your project.

Reset ( ) : void

Resets the sound engine and clears the playlist.

SoundPicker ( IPluginMain plugin ) : System
StopMusic ( ) : void

Stops any currently playing music

UpdateStyle ( ) : void
WatchProject ( IProject game ) : void

Used by filesystem watcher to attempt to automatically add new additions to the sound list.

보호된 메소드들

메소드 설명
OnLoad ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
UpdateTrackList ( ) : void

Fills out the list with the music and sound files in your game path.

fileWatcher_Changed ( object sender, IEnumerable eAll ) : void
pauseTool_Click ( object sender, EventArgs e ) : void
playTimer_Tick ( object sender, EventArgs e ) : void
stopTool_Click ( object sender, EventArgs e ) : void
trackList_Click ( object sender, EventArgs e ) : void
trackList_DoubleClick ( object sender, EventArgs e ) : void
trackNameLabel_MouseClick ( object sender, MouseEventArgs e ) : void
trackNameLabel_Paint ( object sender, PaintEventArgs e ) : void

메소드 상세

ForcePause() 공개 메소드

Forces pause on songs.
public ForcePause ( ) : void
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

Open() 공개 메소드

public Open ( string fileName ) : DocumentView
fileName string
리턴 Sphere.Plugins.Views.DocumentView

PlayFile() 공개 메소드

Plays the song or sound located at the path's location.
public PlayFile ( string path ) : void
path string The full path of the file to play.
리턴 void

PlayOrPauseMusic() 공개 메소드

Toggles between the playing and pausing of the current music file.
public PlayOrPauseMusic ( ) : void
리턴 void

Refresh() 공개 메소드

Overrides the refresh method to re-add the music and sounds found in your project.
public Refresh ( ) : void
리턴 void

Reset() 공개 메소드

Resets the sound engine and clears the playlist.
public Reset ( ) : void
리턴 void

SoundPicker() 공개 메소드

public SoundPicker ( IPluginMain plugin ) : System
plugin IPluginMain
리턴 System

StopMusic() 공개 메소드

Stops any currently playing music
public StopMusic ( ) : void
리턴 void

UpdateStyle() 공개 메소드

public UpdateStyle ( ) : void
리턴 void

WatchProject() 공개 메소드

Used by filesystem watcher to attempt to automatically add new additions to the sound list.
public WatchProject ( IProject game ) : void
game IProject
리턴 void