프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AltDown | bool | ||
ContextMenu | List | ||
ContextMenu_Animation | List | ||
Control_Close | List |
||
Control_Copy | List |
||
Control_CopyAsImage | List |
||
Control_Delete | List |
||
Control_Drag | List |
||
Control_FitToMonitorAlt | List |
||
Control_FitToMonitorAuto | List |
||
Control_FitToMonitorHeight | List |
||
Control_FitToMonitorWidth | List |
||
Control_Flip | List |
||
Control_NextFrame | List |
||
Control_NextImage | List |
||
Control_OpenAtLocation | List |
||
Control_OpenConfig | List |
||
Control_OpenContextMenu | List |
||
Control_OpenDuplicateImage | List |
||
Control_PauseAnimation | List |
||
Control_PrevFrame | List |
||
Control_PrevImage | List |
||
Control_RandomImage | List |
||
Control_ReloadConfig | List |
||
Control_ResetImage | List |
||
Control_RotateAntiClockwise | List |
||
Control_RotateClockwise | List |
||
Control_ToggleAlwaysOnTop | List |
||
Control_ToggleBackgroundForTransparency | List |
||
Control_ToggleSmoothing | List |
||
Control_ZoomAlt | List |
||
Control_ZoomFaster | List |
||
CtrlDown | bool | ||
CustomActionBindings | List | ||
CustomActions | List | ||
ShiftDown | bool |
메소드 | 설명 | |
---|---|---|
Config ( ) : System | ||
ControlToString ( object code ) : string |
Converts Keyboard.Key or Mouse.Button to their string name.
|
|
ControlsToString ( List |
Converts list of controls (Keyboard.Key and Mouse.Button) to their string names seperated by commas.
|
|
Init ( ) : void | ||
IsControl ( Keyboard keyCode, List |
Returns true if Keyboard.Key is one of Control bindings.
|
|
IsControl ( Mouse code, List |
Returns true if Mouse.Button is one of Control bindings.
|
|
IsControl ( object code, List |
Returns true if code is one of Control bindings.
|
|
KeyToString ( Keyboard key ) : string |
Converts SFML Keyboard.Key to upper-case string.
|
|
Load ( string configFile ) : void |
Loads and parses a config txt file. If it doesn't exist, a default one will be made.
|
|
MouseButtonToString ( int code ) : string | ||
Save ( string configFile ) : void |
Saves settings to config txt file.
|
|
SetControls ( List |
||
SetDefaultContextMenu ( ) : void | ||
SetDefaultControls ( ) : void | ||
SetDefaultCustomActions ( ) : void | ||
StringToControls ( string str ) : List |
||
StringToKey ( string str ) : Keyboard.Key |
Converts upper-case string to SFML Keyboard.Key.
|
|
StringToMouseButton ( string str ) : int |
Converts upper-case string to SFML Mouse.Button (as an int + offset).
|
|
UpdateControl ( string name, int bind ) : List |
메소드 | 설명 | |
---|---|---|
ReadSection ( StreamReader reader, List | ||
RemoveSpaces ( string str ) : string | ||
VariableAmountOfStrings ( int amount, string s ) : string | ||
WriteComment ( StreamWriter writer, string comment = "" ) : void | ||
WriteContextMenuItems ( StreamWriter writer, List | ||
WriteContextMenuSetup ( StreamWriter writer, string name, List | ||
WriteControl ( StreamWriter writer, string name, List |
||
WriteCustomActionBindings ( StreamWriter writer, string name, List | ||
WriteCustomActions ( StreamWriter writer, string name, List | ||
WriteSetting ( StreamWriter writer, string name, bool value, string comment = "" ) : void | ||
WriteSetting ( StreamWriter writer, string name, int value, string comment = "" ) : void | ||
WriteSetting ( StreamWriter writer, string name, string value, string comment = "" ) : void |
public static ControlToString ( object code ) : string | ||
code | object | |
리턴 | string |
public static ControlsToString ( List |
||
controls | List |
|
리턴 | string |
public static IsControl ( Keyboard keyCode, List |
||
keyCode | Keyboard | |
Control | List |
|
리턴 | bool |
public static IsControl ( Mouse code, List |
||
code | Mouse | |
Control | List |
|
리턴 | bool |
public static IsControl ( object code, List |
||
code | object | |
Control | List |
|
리턴 | bool |
public static MouseButtonToString ( int code ) : string | ||
code | int | |
리턴 | string |
public static StringToControls ( string str ) : List |
||
str | string | |
리턴 | List |
public static StringToKey ( string str ) : Keyboard.Key | ||
str | string | |
리턴 | Keyboard.Key |
public static StringToMouseButton ( string str ) : int | ||
str | string | |
리턴 | int |
public UpdateControl ( string name, int bind ) : List |
||
name | string | |
bind | int | |
리턴 | List |
public List |
||
리턴 | List |