C# 클래스 FSO.Common.Rendering.Framework.IO.InputManager

Manages input for the game.
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
ApplyKeyboardInput ( StringBuilder m_SBuilder, UpdateState state, int cursorIndex, int cursorEndIndex, bool allowInput ) : KeyboardInputResult

Utility to apply the result of pressing keys against a buffer

GetFocus ( ) : IFocusableUI
GetSelectionRange ( int &start, int &end ) : void
HandleMouseEvents ( UpdateState state ) : void
SetFocus ( IFocusableUI ui ) : void
TranslateAlphabetic ( char baseChar, bool shift, bool capsLock ) : char
TranslateChar ( Keys key, bool shift, bool capsLock, bool numLock ) : char

비공개 메소드들

메소드 설명
DeleteSelectedText ( StringBuilder m_SBuilder, int &cursorIndex, int &cursorEndIndex, bool &didChange, KeyboardInputResult result ) : void
MapVirtualKey ( uint uCode, uint uMapType ) : int

메소드 상세

ApplyKeyboardInput() 공개 메소드

Utility to apply the result of pressing keys against a buffer
public ApplyKeyboardInput ( StringBuilder m_SBuilder, UpdateState state, int cursorIndex, int cursorEndIndex, bool allowInput ) : KeyboardInputResult
m_SBuilder StringBuilder
state FSO.Common.Rendering.Framework.Model.UpdateState
cursorIndex int
cursorEndIndex int
allowInput bool
리턴 KeyboardInputResult

GetFocus() 공개 메소드

public GetFocus ( ) : IFocusableUI
리턴 IFocusableUI

GetSelectionRange() 공개 메소드

public GetSelectionRange ( int &start, int &end ) : void
start int
end int
리턴 void

HandleMouseEvents() 공개 메소드

SetFocus() 공개 메소드

public SetFocus ( IFocusableUI ui ) : void
ui IFocusableUI
리턴 void

TranslateAlphabetic() 공개 정적인 메소드

public static TranslateAlphabetic ( char baseChar, bool shift, bool capsLock ) : char
baseChar char
shift bool
capsLock bool
리턴 char

TranslateChar() 공개 정적인 메소드

public static TranslateChar ( Keys key, bool shift, bool capsLock, bool numLock ) : char
key Keys
shift bool
capsLock bool
numLock bool
리턴 char