C# 클래스 AGS.Editor.GUIController

상속: IGUIController
파일 보기 프로젝트 열기: adventuregamestudio/ags 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AutoComplete_BackgroundCacheUpdateStatusChanged void
AutoNumberSpeechLinesProcess object
CheckInOrAddFiles void
ConstructRoomTemplateFileList string[]
CreateNewGame bool
CreateVoiceActingScriptProcess object
EnsureLastImportDirectoryIsSet void
GUIController System
GetMenuCommandID string
IGUIController Sprite
ProcessCommandLineArgumentsAndReturnWhetherToShowWelcomeScreen bool
PropertyTabInteractions_UpdateEventName string
RegisterContextMenuCommands void
RegisterMenuCommand string
SaveEditorWindowSizeToRegistry void
ScriptFunctionUIEditor_CreateScriptFunction void
ScriptFunctionUIEditor_OpenScriptEditor void
SetEditorWindowSizeFromRegistry void
ShowCustomResolutionChooserFromPropertyGrid System.Drawing.Size
ShowNewGameWizard bool
ShowPropertiesEditorFromPropertyGrid void
ShowRoomMessageEditorFromPropertyGrid void
ShowSpriteChooserFromPropertyGrid int
ShowViewChooserFromPropertyGrid int
SystemEvents_DisplaySettingsChanging void
WriteLineIfItHasVoiceFile void
WriteLinesForCharacter void
_mainForm_OnActiveDocumentChanged void
_mainForm_OnEditorShutdown bool
_mainForm_OnMainWindowActivated void
timer_Tick void

공개 메소드들

메소드 설명
AddMenu ( IEditorComponent plugin, string id, string title ) : void
AddMenu ( IEditorComponent plugin, string id, string title, string insertAfterMenu ) : void
AddMenuItems ( IEditorComponent plugin, MenuCommands commands ) : void
AddOrShowPane ( AGS.Types.ContentDocument pane ) : void
AdjustSizeFrom96DpiToSystemDpi ( int sizeAt96Dpi ) : int
CanFindComponentFromMenuItemID ( string menuItemID ) : bool
ClearOutputPanel ( ) : void
CreateMenuCommand ( IEditorComponent component, string commandID, string commandName ) : AGS.Types.MenuCommand
CreateScriptEditor ( Point position, Size size ) : IScriptEditorControl
CustomPropertiesEditor ( AGS.Types.CustomProperties properties, CustomPropertyAppliesTo showPropertiesOfType ) : void
DocumentTitlesChanged ( ) : void
ExitApplication ( ) : void
GameNameUpdated ( ) : void
GetPropertyGridObject ( ) : object
GetScriptEditorControl ( string scriptFileName, bool showEditor ) : IScriptEditorControl
GetSystemDPI ( ) : int
HideCallStack ( ) : void
HideFindSymbolResults ( ) : void
HideOutputPanel ( ) : void
IGUIController ( Graphics g, int spriteNumber, int x, int y, int width, int height, bool centreHorizontally ) : void
IGUIController ( string text ) : void
IGUIController ( string fileName, int lineNumber ) : void
Initialize ( AGSEditor agsEditor ) : void
Invoke ( Delegate method ) : void
LaunchHelpForKeyword ( string keyword ) : void
MoveMouseCursorToPropertyGrid ( ) : void
QueryWhetherToSaveGameBeforeContinuing ( string message ) : bool
RePopulateTreeView ( IEditorComponent component ) : void
RePopulateTreeView ( IEditorComponent component, string selectedNode ) : void
RefreshPropertyGrid ( ) : void
RegisterIcon ( string key, Icon icon ) : void
RemoveMenuItems ( MenuCommands commands ) : void
RemovePaneIfExists ( AGS.Types.ContentDocument pane ) : void
SelectEventsTabInPropertyGrid ( ) : bool
SelectPropertyByName ( string propertyName ) : void
SetMenuItemEnabled ( IEditorComponent plugin, string id, bool enabled ) : void
SetPropertyGridObject ( object objectToSetPropertiesOn ) : void
SetPropertyGridObjectList ( object>.Dictionary propertyObjects ) : void
SetPropertyGridObjects ( object objectsToSetPropertiesOn ) : void
SetTitleBarPrefix ( string prefix ) : void
ShowAutoNumberSpeechWizard ( ) : void
ShowCallStack ( AGS.Editor.DebugCallStack callStack ) : void
ShowCheckOutDialog ( List fileNames ) : bool
ShowCheckOutDialog ( string fileName ) : bool
ShowCreateRoomTemplateWizard ( AGS.Types.UnloadedRoom room ) : void
ShowCreateTemplateWizard ( ) : void
ShowCreateVoiceActingScriptWizard ( ) : void
ShowCuppit ( string helpText, string helpTextID ) : void
ShowCuppit ( string helpText, string helpTextID, bool modal ) : void
ShowFindSymbolResults ( List results ) : void
ShowMessage ( string message, MessageBoxIcon icon ) : void
ShowMessage ( string message, MessageBoxIconType icon ) : void
ShowOpenFileDialog ( string title, string fileFilter ) : string
ShowOpenFileDialog ( string title, string fileFilter, bool useFileImportPath ) : string
ShowOpenFileDialogMultipleFiles ( string title, string fileFilter ) : string[]
ShowOutputPanel ( CompileMessages errors ) : void
ShowPendingCheckinsDialog ( ) : void
ShowPreferencesEditor ( ) : void
ShowQuestion ( string message ) : DialogResult
ShowQuestion ( string message, MessageBoxIcon icon ) : DialogResult
ShowSaveFileDialog ( string title, string fileFilter ) : string
ShowSelectFolderOrDefaultDialog ( string title, string defaultPath ) : string
ShowSelectFolderOrDefaultDialog ( string title, string defaultPath, bool allowNewFolder ) : string
ShowSelectFolderOrNoneDialog ( string title, string initialPath ) : string
ShowSelectFolderOrNoneDialog ( string title, string initialPath, bool allowNewFolder ) : string
ShowWelcomeScreen ( ) : bool
StartGUI ( string commandLineArguments ) : void
UpdateStatusBarText ( string text ) : void
VerifyTemplatesDirectoryExists ( ) : bool
ZoomToFile ( string fileName ) : void
ZoomToFile ( string fileName, ZoomToFileZoomType zoomType, int zoomToPosition ) : void
ZoomToFile ( string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint ) : void
ZoomToFile ( string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint, bool selectWholeLine, string errorMessage, bool activateEditor ) : void
ZoomToFile ( string fileName, int lineNumber ) : void
ZoomToFile ( string fileName, int lineNumber, bool isDebugExecutionPoint, string errorMessage ) : void
ZoomToFile ( string fileName, string function ) : void
_mainForm_OnMenuClick ( string menuItemID ) : void
_mainForm_OnPropertyChanged ( string propertyName, object oldValue ) : void
_mainForm_OnPropertyObjectChanged ( object newPropertyObject ) : void

비공개 메소드들

메소드 설명
AutoComplete_BackgroundCacheUpdateStatusChanged ( BackgroundAutoCompleteStatus status, Exception errorDetails ) : void
AutoNumberSpeechLinesProcess ( object parameter ) : object
CheckInOrAddFiles ( string selectedFiles, string checkinComments ) : void
ConstructRoomTemplateFileList ( AGS.Types.UnloadedRoom room ) : string[]
CreateNewGame ( string newGameDirectory, string newGameName, AGS.Types.GameTemplate createFromTemplate ) : bool
CreateVoiceActingScriptProcess ( object parameter ) : object
EnsureLastImportDirectoryIsSet ( bool useFileImportPath ) : void
GUIController ( ) : System
GetMenuCommandID ( string id, IEditorComponent component ) : string
IGUIController ( int initiallySelectedSprite ) : Sprite
ProcessCommandLineArgumentsAndReturnWhetherToShowWelcomeScreen ( ) : bool
PropertyTabInteractions_UpdateEventName ( string eventName ) : string
RegisterContextMenuCommands ( IList commands, IEditorComponent plugin ) : void
RegisterMenuCommand ( string id, IEditorComponent component ) : string
SaveEditorWindowSizeToRegistry ( ) : void
ScriptFunctionUIEditor_CreateScriptFunction ( bool isGlobalScript, string functionName, string parameters ) : void
ScriptFunctionUIEditor_OpenScriptEditor ( bool isGlobalScript, string functionName ) : void
SetEditorWindowSizeFromRegistry ( ) : void
ShowCustomResolutionChooserFromPropertyGrid ( Size currentSize ) : Size
ShowNewGameWizard ( ) : bool
ShowPropertiesEditorFromPropertyGrid ( AGS.Types.CustomProperties props, object objectThatHasProperties ) : void
ShowRoomMessageEditorFromPropertyGrid ( List messages ) : void
ShowSpriteChooserFromPropertyGrid ( int currentSprite ) : int
ShowViewChooserFromPropertyGrid ( int currentView ) : int
SystemEvents_DisplaySettingsChanging ( object sender, EventArgs e ) : void
WriteLineIfItHasVoiceFile ( string prefix, string line, StreamWriter sw ) : void
WriteLinesForCharacter ( int charID, StreamWriter sw, string>.Dictionary lines ) : void
_mainForm_OnActiveDocumentChanged ( ) : void
_mainForm_OnEditorShutdown ( ) : bool
_mainForm_OnMainWindowActivated ( object sender, EventArgs e ) : void
timer_Tick ( object sender, EventArgs e ) : void

메소드 상세

AddMenu() 공개 메소드

public AddMenu ( IEditorComponent plugin, string id, string title ) : void
plugin IEditorComponent
id string
title string
리턴 void

AddMenu() 공개 메소드

public AddMenu ( IEditorComponent plugin, string id, string title, string insertAfterMenu ) : void
plugin IEditorComponent
id string
title string
insertAfterMenu string
리턴 void

AddMenuItems() 공개 메소드

public AddMenuItems ( IEditorComponent plugin, MenuCommands commands ) : void
plugin IEditorComponent
commands MenuCommands
리턴 void

AddOrShowPane() 공개 메소드

public AddOrShowPane ( AGS.Types.ContentDocument pane ) : void
pane AGS.Types.ContentDocument
리턴 void

AdjustSizeFrom96DpiToSystemDpi() 공개 메소드

public AdjustSizeFrom96DpiToSystemDpi ( int sizeAt96Dpi ) : int
sizeAt96Dpi int
리턴 int

CanFindComponentFromMenuItemID() 공개 메소드

public CanFindComponentFromMenuItemID ( string menuItemID ) : bool
menuItemID string
리턴 bool

ClearOutputPanel() 공개 메소드

public ClearOutputPanel ( ) : void
리턴 void

CreateMenuCommand() 공개 메소드

public CreateMenuCommand ( IEditorComponent component, string commandID, string commandName ) : AGS.Types.MenuCommand
component IEditorComponent
commandID string
commandName string
리턴 AGS.Types.MenuCommand

CreateScriptEditor() 공개 메소드

public CreateScriptEditor ( Point position, Size size ) : IScriptEditorControl
position Point
size System.Drawing.Size
리턴 IScriptEditorControl

CustomPropertiesEditor() 공개 메소드

public CustomPropertiesEditor ( AGS.Types.CustomProperties properties, CustomPropertyAppliesTo showPropertiesOfType ) : void
properties AGS.Types.CustomProperties
showPropertiesOfType CustomPropertyAppliesTo
리턴 void

DocumentTitlesChanged() 공개 메소드

public DocumentTitlesChanged ( ) : void
리턴 void

ExitApplication() 공개 메소드

public ExitApplication ( ) : void
리턴 void

GameNameUpdated() 공개 메소드

public GameNameUpdated ( ) : void
리턴 void

GetPropertyGridObject() 공개 메소드

public GetPropertyGridObject ( ) : object
리턴 object

GetScriptEditorControl() 공개 메소드

public GetScriptEditorControl ( string scriptFileName, bool showEditor ) : IScriptEditorControl
scriptFileName string
showEditor bool
리턴 IScriptEditorControl

GetSystemDPI() 공개 메소드

public GetSystemDPI ( ) : int
리턴 int

HideCallStack() 공개 메소드

public HideCallStack ( ) : void
리턴 void

HideFindSymbolResults() 공개 메소드

public HideFindSymbolResults ( ) : void
리턴 void

HideOutputPanel() 공개 메소드

public HideOutputPanel ( ) : void
리턴 void

IGUIController() 공개 메소드

public IGUIController ( Graphics g, int spriteNumber, int x, int y, int width, int height, bool centreHorizontally ) : void
g System.Drawing.Graphics
spriteNumber int
x int
y int
width int
height int
centreHorizontally bool
리턴 void

IGUIController() 공개 메소드

public IGUIController ( string text ) : void
text string
리턴 void

IGUIController() 공개 메소드

public IGUIController ( string fileName, int lineNumber ) : void
fileName string
lineNumber int
리턴 void

Initialize() 공개 메소드

public Initialize ( AGSEditor agsEditor ) : void
agsEditor AGSEditor
리턴 void

Invoke() 공개 메소드

public Invoke ( Delegate method ) : void
method System.Delegate
리턴 void

LaunchHelpForKeyword() 공개 메소드

public LaunchHelpForKeyword ( string keyword ) : void
keyword string
리턴 void

MoveMouseCursorToPropertyGrid() 공개 메소드

public MoveMouseCursorToPropertyGrid ( ) : void
리턴 void

QueryWhetherToSaveGameBeforeContinuing() 공개 메소드

public QueryWhetherToSaveGameBeforeContinuing ( string message ) : bool
message string
리턴 bool

RePopulateTreeView() 공개 메소드

public RePopulateTreeView ( IEditorComponent component ) : void
component IEditorComponent
리턴 void

RePopulateTreeView() 공개 메소드

public RePopulateTreeView ( IEditorComponent component, string selectedNode ) : void
component IEditorComponent
selectedNode string
리턴 void

RefreshPropertyGrid() 공개 메소드

public RefreshPropertyGrid ( ) : void
리턴 void

RegisterIcon() 공개 메소드

public RegisterIcon ( string key, Icon icon ) : void
key string
icon System.Drawing.Icon
리턴 void

RemoveMenuItems() 공개 메소드

public RemoveMenuItems ( MenuCommands commands ) : void
commands MenuCommands
리턴 void

RemovePaneIfExists() 공개 메소드

public RemovePaneIfExists ( AGS.Types.ContentDocument pane ) : void
pane AGS.Types.ContentDocument
리턴 void

SelectEventsTabInPropertyGrid() 공개 메소드

public SelectEventsTabInPropertyGrid ( ) : bool
리턴 bool

SelectPropertyByName() 공개 메소드

public SelectPropertyByName ( string propertyName ) : void
propertyName string
리턴 void

SetMenuItemEnabled() 공개 메소드

public SetMenuItemEnabled ( IEditorComponent plugin, string id, bool enabled ) : void
plugin IEditorComponent
id string
enabled bool
리턴 void

SetPropertyGridObject() 공개 메소드

public SetPropertyGridObject ( object objectToSetPropertiesOn ) : void
objectToSetPropertiesOn object
리턴 void

SetPropertyGridObjectList() 공개 메소드

public SetPropertyGridObjectList ( object>.Dictionary propertyObjects ) : void
propertyObjects object>.Dictionary
리턴 void

SetPropertyGridObjects() 공개 메소드

public SetPropertyGridObjects ( object objectsToSetPropertiesOn ) : void
objectsToSetPropertiesOn object
리턴 void

SetTitleBarPrefix() 공개 메소드

public SetTitleBarPrefix ( string prefix ) : void
prefix string
리턴 void

ShowAutoNumberSpeechWizard() 공개 메소드

public ShowAutoNumberSpeechWizard ( ) : void
리턴 void

ShowCallStack() 공개 메소드

public ShowCallStack ( AGS.Editor.DebugCallStack callStack ) : void
callStack AGS.Editor.DebugCallStack
리턴 void

ShowCheckOutDialog() 공개 메소드

public ShowCheckOutDialog ( List fileNames ) : bool
fileNames List
리턴 bool

ShowCheckOutDialog() 공개 메소드

public ShowCheckOutDialog ( string fileName ) : bool
fileName string
리턴 bool

ShowCreateRoomTemplateWizard() 공개 메소드

public ShowCreateRoomTemplateWizard ( AGS.Types.UnloadedRoom room ) : void
room AGS.Types.UnloadedRoom
리턴 void

ShowCreateTemplateWizard() 공개 메소드

public ShowCreateTemplateWizard ( ) : void
리턴 void

ShowCreateVoiceActingScriptWizard() 공개 메소드

public ShowCreateVoiceActingScriptWizard ( ) : void
리턴 void

ShowCuppit() 공개 메소드

public ShowCuppit ( string helpText, string helpTextID ) : void
helpText string
helpTextID string
리턴 void

ShowCuppit() 공개 메소드

public ShowCuppit ( string helpText, string helpTextID, bool modal ) : void
helpText string
helpTextID string
modal bool
리턴 void

ShowFindSymbolResults() 공개 메소드

public ShowFindSymbolResults ( List results ) : void
results List
리턴 void

ShowMessage() 공개 메소드

public ShowMessage ( string message, MessageBoxIcon icon ) : void
message string
icon MessageBoxIcon
리턴 void

ShowMessage() 공개 메소드

public ShowMessage ( string message, MessageBoxIconType icon ) : void
message string
icon MessageBoxIconType
리턴 void

ShowOpenFileDialog() 공개 메소드

public ShowOpenFileDialog ( string title, string fileFilter ) : string
title string
fileFilter string
리턴 string

ShowOpenFileDialog() 공개 메소드

public ShowOpenFileDialog ( string title, string fileFilter, bool useFileImportPath ) : string
title string
fileFilter string
useFileImportPath bool
리턴 string

ShowOpenFileDialogMultipleFiles() 공개 메소드

public ShowOpenFileDialogMultipleFiles ( string title, string fileFilter ) : string[]
title string
fileFilter string
리턴 string[]

ShowOutputPanel() 공개 메소드

public ShowOutputPanel ( CompileMessages errors ) : void
errors CompileMessages
리턴 void

ShowPendingCheckinsDialog() 공개 메소드

public ShowPendingCheckinsDialog ( ) : void
리턴 void

ShowPreferencesEditor() 공개 메소드

public ShowPreferencesEditor ( ) : void
리턴 void

ShowQuestion() 공개 메소드

public ShowQuestion ( string message ) : DialogResult
message string
리턴 DialogResult

ShowQuestion() 공개 메소드

public ShowQuestion ( string message, MessageBoxIcon icon ) : DialogResult
message string
icon MessageBoxIcon
리턴 DialogResult

ShowSaveFileDialog() 공개 메소드

public ShowSaveFileDialog ( string title, string fileFilter ) : string
title string
fileFilter string
리턴 string

ShowSelectFolderOrDefaultDialog() 공개 메소드

public ShowSelectFolderOrDefaultDialog ( string title, string defaultPath ) : string
title string
defaultPath string
리턴 string

ShowSelectFolderOrDefaultDialog() 공개 메소드

public ShowSelectFolderOrDefaultDialog ( string title, string defaultPath, bool allowNewFolder ) : string
title string
defaultPath string
allowNewFolder bool
리턴 string

ShowSelectFolderOrNoneDialog() 공개 메소드

public ShowSelectFolderOrNoneDialog ( string title, string initialPath ) : string
title string
initialPath string
리턴 string

ShowSelectFolderOrNoneDialog() 공개 메소드

public ShowSelectFolderOrNoneDialog ( string title, string initialPath, bool allowNewFolder ) : string
title string
initialPath string
allowNewFolder bool
리턴 string

ShowWelcomeScreen() 공개 메소드

public ShowWelcomeScreen ( ) : bool
리턴 bool

StartGUI() 공개 메소드

public StartGUI ( string commandLineArguments ) : void
commandLineArguments string
리턴 void

UpdateStatusBarText() 공개 메소드

public UpdateStatusBarText ( string text ) : void
text string
리턴 void

VerifyTemplatesDirectoryExists() 공개 메소드

public VerifyTemplatesDirectoryExists ( ) : bool
리턴 bool

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName ) : void
fileName string
리턴 void

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName, ZoomToFileZoomType zoomType, int zoomToPosition ) : void
fileName string
zoomType ZoomToFileZoomType
zoomToPosition int
리턴 void

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint ) : void
fileName string
zoomType ZoomToFileZoomType
zoomPosition int
isDebugExecutionPoint bool
리턴 void

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint, bool selectWholeLine, string errorMessage, bool activateEditor ) : void
fileName string
zoomType ZoomToFileZoomType
zoomPosition int
isDebugExecutionPoint bool
selectWholeLine bool
errorMessage string
activateEditor bool
리턴 void

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName, int lineNumber ) : void
fileName string
lineNumber int
리턴 void

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName, int lineNumber, bool isDebugExecutionPoint, string errorMessage ) : void
fileName string
lineNumber int
isDebugExecutionPoint bool
errorMessage string
리턴 void

ZoomToFile() 공개 메소드

public ZoomToFile ( string fileName, string function ) : void
fileName string
function string
리턴 void

_mainForm_OnMenuClick() 공개 메소드

public _mainForm_OnMenuClick ( string menuItemID ) : void
menuItemID string
리턴 void

_mainForm_OnPropertyChanged() 공개 메소드

public _mainForm_OnPropertyChanged ( string propertyName, object oldValue ) : void
propertyName string
oldValue object
리턴 void

_mainForm_OnPropertyObjectChanged() 공개 메소드

public _mainForm_OnPropertyObjectChanged ( object newPropertyObject ) : void
newPropertyObject object
리턴 void