C# Class Gibbed.RED.ResourceEdit.TextureViewer

Mostra file Open project: yole/Gibbed.RED Class Usage Examples

Public Properties

Property Type Description
Texture FileFormats.Game.CBitmapTexture

Public Methods

Method Description
LoadResource ( FileFormats texture ) : void
TextureViewer ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MakeBitmapFromAlphaGrayscale ( uint width, uint height, byte input, bool keepAlpha ) : Bitmap
MakeBitmapFromGrayscale ( uint width, uint height, byte input ) : Bitmap
MakeBitmapFromTrueColor ( uint width, uint height, byte input, bool keepAlpha ) : Bitmap
OnSaveToFile ( object sender, EventArgs e ) : void
OnShowAlpha ( object sender, EventArgs e ) : void
OnZoom ( object sender, EventArgs e ) : void
UpdatePreview ( bool first ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

LoadResource() public method

public LoadResource ( FileFormats texture ) : void
texture FileFormats
return void

TextureViewer() public method

public TextureViewer ( ) : System
return System

Property Details

Texture public_oe property

public FileFormats.Game.CBitmapTexture Texture
return FileFormats.Game.CBitmapTexture