C# Class SleepHunter.Media.IconManager

ファイルを表示 Open project: ewrogers/SleepHunter4

Public Methods

Method Description
AddSkillIcon ( int index, System.Windows.Media.Imaging.BitmapSource source ) : void
AddSpellIcon ( int index, System.Windows.Media.Imaging.BitmapSource source ) : void
ClearSkillIcons ( ) : void
ClearSpellIcons ( ) : void
ContainsSkillIcon ( int index ) : bool
ContainsSpellIcon ( int index ) : bool
GetSkillIcon ( int index ) : System.Windows.Media.Imaging.BitmapSource
GetSpellIcon ( int index ) : System.Windows.Media.Imaging.BitmapSource
ReloadIcons ( ) : void
RemoveSkillIcon ( int index ) : bool
RemoveSpellIcon ( int index ) : bool

Private Methods

Method Description
GetColorPalette ( string archiveFile, string paletteFile ) : ColorPalette
GetEpfImage ( string archiveFile, string epfFile ) : EpfImage
GetRelativePath ( string currentDirectory, string filename ) : string
IconManager ( ) : System.Collections.Concurrent
RenderSkillIcon ( int index ) : RenderedBitmap
RenderSpellIcon ( int index ) : RenderedBitmap

Method Details

AddSkillIcon() public method

public AddSkillIcon ( int index, System.Windows.Media.Imaging.BitmapSource source ) : void
index int
source System.Windows.Media.Imaging.BitmapSource
return void

AddSpellIcon() public method

public AddSpellIcon ( int index, System.Windows.Media.Imaging.BitmapSource source ) : void
index int
source System.Windows.Media.Imaging.BitmapSource
return void

ClearSkillIcons() public method

public ClearSkillIcons ( ) : void
return void

ClearSpellIcons() public method

public ClearSpellIcons ( ) : void
return void

ContainsSkillIcon() public method

public ContainsSkillIcon ( int index ) : bool
index int
return bool

ContainsSpellIcon() public method

public ContainsSpellIcon ( int index ) : bool
index int
return bool

GetSkillIcon() public method

public GetSkillIcon ( int index ) : System.Windows.Media.Imaging.BitmapSource
index int
return System.Windows.Media.Imaging.BitmapSource

GetSpellIcon() public method

public GetSpellIcon ( int index ) : System.Windows.Media.Imaging.BitmapSource
index int
return System.Windows.Media.Imaging.BitmapSource

ReloadIcons() public method

public ReloadIcons ( ) : void
return void

RemoveSkillIcon() public method

public RemoveSkillIcon ( int index ) : bool
index int
return bool

RemoveSpellIcon() public method

public RemoveSpellIcon ( int index ) : bool
index int
return bool