C# Class CrystalMpq.Explorer.BaseViewers.BLPViewer

Inheritance: CrystalMpq.Explorer.Extensibility.FileViewer
Mostra file Open project: sgraf812/crystalmpq

Public Methods

Method Description
ApplySettings ( ) : void
BLPViewer ( IHost host ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Nettoyage des ressources utilisées.

OnFileChanged ( ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

Méthode requise pour la prise en charge du concepteur - ne modifiez pas le contenu de cette méthode avec l'éditeur de code.

ShowStatusInformation ( bool show ) : void
SurfaceToBitmap ( Surface surface ) : Bitmap
SwapRedAndBlueChannels ( Bitmap bitmap ) : void

Swaps red and blue channels of a bitmap. This function is useful to recover colors from JPEG mip maps stored in BLP1 images.

UpdateStatusInformation ( ) : void
exportToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

ApplySettings() public method

public ApplySettings ( ) : void
return void

BLPViewer() public method

public BLPViewer ( IHost host ) : System
host IHost
return System

Dispose() protected method

Nettoyage des ressources utilisées.
protected Dispose ( bool disposing ) : void
disposing bool true si les ressources managées doivent être supprimées ; sinon, false.
return void

OnFileChanged() protected method

protected OnFileChanged ( ) : void
return void