C# Class AGS.Editor.RoomSettingsEditor

Inheritance: AGS.Types.EditorContentPanel
Afficher le fichier Open project: adventuregamestudio/ags Class Usage Examples

Méthodes publiques

Méthode Description
RoomSettingsEditor ( Room room ) : System

Méthodes protégées

Méthode Description
HandleKeyPress ( Keys keyData ) : bool
OnCommandClick ( string command ) : void
OnDispose ( ) : void
OnGetHelpKeyword ( ) : string
OnPanelClosing ( bool canCancel, bool &cancelClose ) : void
OnPropertyChanged ( string propertyName, object oldValue ) : void
OnWindowActivated ( ) : void

Private Methods

Méthode Description
DoesThisPanelHaveFocus ( ) : bool
ExtendBitmapIfSmallerThanScreen ( Bitmap source ) : Bitmap
ExtendCanvasSizeOf8BitBitmap ( Bitmap source, int newWidth, int newHeight ) : Bitmap

The built-in .NET drawing routines don't work with 8-bit images, so we have to do this manually. How rubbish. The source image is destroyed and a new one returned to replace it.

ImportBackground ( int bgIndex ) : void
ProcessZoomAndPanKeyPresses ( Keys keyData ) : bool
RepopulateBackgroundList ( int selectIndex ) : void
ResizePaneToMatchWindowAndRoomSize ( ) : void
RoomSettingsEditor_MouseWheel ( object sender, MouseEventArgs e ) : void
RoomSettingsEditor_Resize ( object sender, EventArgs e ) : void
SetDefaultPropertyGridList ( ) : void
SetFocusToAllowArrowKeysToWork ( ) : void
UpdateScrollableWindowSize ( ) : void
btnChangeImage_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnExport_Click ( object sender, EventArgs e ) : void
bufferedPanel1_DoubleClick ( object sender, EventArgs e ) : void
bufferedPanel1_MouseDown ( object sender, MouseEventArgs e ) : void
bufferedPanel1_MouseMove ( object sender, MouseEventArgs e ) : void
bufferedPanel1_MouseUp ( object sender, MouseEventArgs e ) : void
bufferedPanel1_Paint ( object sender, PaintEventArgs e ) : void
chkCharacterOffset_CheckedChanged ( object sender, EventArgs e ) : void
cmbBackgrounds_SelectedIndexChanged ( object sender, EventArgs e ) : void
cmbViewType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sldTransparency_Scroll ( object sender, EventArgs e ) : void
sldZoomLevel_Scroll ( object sender, EventArgs e ) : void

Method Details

HandleKeyPress() protected méthode

protected HandleKeyPress ( Keys keyData ) : bool
keyData Keys
Résultat bool

OnCommandClick() protected méthode

protected OnCommandClick ( string command ) : void
command string
Résultat void

OnDispose() protected méthode

protected OnDispose ( ) : void
Résultat void

OnGetHelpKeyword() protected méthode

protected OnGetHelpKeyword ( ) : string
Résultat string

OnPanelClosing() protected méthode

protected OnPanelClosing ( bool canCancel, bool &cancelClose ) : void
canCancel bool
cancelClose bool
Résultat void

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( string propertyName, object oldValue ) : void
propertyName string
oldValue object
Résultat void

OnWindowActivated() protected méthode

protected OnWindowActivated ( ) : void
Résultat void

RoomSettingsEditor() public méthode

public RoomSettingsEditor ( Room room ) : System
room AGS.Types.Room
Résultat System