C# Class SadConsoleEditor.EditorConsoleManager

Datei anzeigen Open project: Thraka/SadConsoleEditor

Public Properties

Property Type Description
AllowKeyboardToMoveConsole bool
Brush SadConsole.Game.GameObject
EditorFileTypes FileLoaders.IFileLoader[]>.Dictionary
Editors Editors.Editors>.Dictionary
InnerEmptyBounds Microsoft.Xna.Framework.Rectangle
OpenEditors List
QuickSelectPane SadConsoleEditor.Consoles.QuickSelectPane

Public Methods

Method Description
AddEditor ( Editors editor, bool show ) : void
CenterEditor ( ) : void
ChangeActiveEditor ( Editors editor ) : void
Initialize ( ) : void
ProcessKeyboard ( KeyboardInfo info ) : bool
ProcessMouse ( MouseInfo info ) : bool
RemoveEditor ( Editors editor ) : void
SaveEditor ( ) : void
ShowCloseConsolePopup ( ) : void
ShowLoadEditorPopup ( ) : void
ShowNewEditorPopup ( ) : void
ShowResizeEditorPopup ( ) : void
UpdateBorder ( Point position ) : void
UpdateBrush ( ) : void

Private Methods

Method Description
CreateNewEditor ( Editors editorType, int width, int height, Color defaultForeground, Color defaultBackground ) : void
LoadEditor ( string file, FileLoaders loader ) : void
RefreshBackingPanel ( ) : void
ShowStartup ( ) : void

Method Details

AddEditor() public static method

public static AddEditor ( Editors editor, bool show ) : void
editor Editors
show bool
return void

CenterEditor() public static method

public static CenterEditor ( ) : void
return void

ChangeActiveEditor() public static method

public static ChangeActiveEditor ( Editors editor ) : void
editor Editors
return void

Initialize() public static method

public static Initialize ( ) : void
return void

ProcessKeyboard() public static method

public static ProcessKeyboard ( KeyboardInfo info ) : bool
info SadConsole.Input.KeyboardInfo
return bool

ProcessMouse() public static method

public static ProcessMouse ( MouseInfo info ) : bool
info SadConsole.Input.MouseInfo
return bool

RemoveEditor() public static method

public static RemoveEditor ( Editors editor ) : void
editor Editors
return void

SaveEditor() public static method

public static SaveEditor ( ) : void
return void

ShowCloseConsolePopup() public static method

public static ShowCloseConsolePopup ( ) : void
return void

ShowLoadEditorPopup() public static method

public static ShowLoadEditorPopup ( ) : void
return void

ShowNewEditorPopup() public static method

public static ShowNewEditorPopup ( ) : void
return void

ShowResizeEditorPopup() public static method

public static ShowResizeEditorPopup ( ) : void
return void

UpdateBorder() public static method

public static UpdateBorder ( Point position ) : void
position Point
return void

UpdateBrush() public static method

public static UpdateBrush ( ) : void
return void

Property Details

AllowKeyboardToMoveConsole public_oe static_oe property

public static bool AllowKeyboardToMoveConsole
return bool

Brush public_oe static_oe property

public static SadConsole.Game.GameObject Brush
return SadConsole.Game.GameObject

EditorFileTypes public_oe static_oe property

public static Dictionary EditorFileTypes
return FileLoaders.IFileLoader[]>.Dictionary

Editors public_oe static_oe property

public static Dictionary Editors
return Editors.Editors>.Dictionary

InnerEmptyBounds public_oe static_oe property

public static Rectangle,Microsoft.Xna.Framework InnerEmptyBounds
return Microsoft.Xna.Framework.Rectangle

OpenEditors public_oe static_oe property

public static List OpenEditors
return List

QuickSelectPane public_oe static_oe property

public static QuickSelectPane,SadConsoleEditor.Consoles QuickSelectPane
return SadConsoleEditor.Consoles.QuickSelectPane