Свойство | Type | Description | |
---|---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat | string |
public static ControlsToString ( List |
||
controls | List |
|
Résultat | string |
public static IsControl ( Keyboard keyCode, List |
||
keyCode | Keyboard | |
Control | List |
|
Résultat | bool |
public static IsControl ( Mouse code, List |
||
code | Mouse | |
Control | List |
|
Résultat | bool |
public static IsControl ( object code, List |
||
code | object | |
Control | List |
|
Résultat | bool |
public static KeyToString ( Keyboard key ) : string | ||
key | Keyboard | |
Résultat | string |
public static MouseButtonToString ( int code ) : string | ||
code | int | |
Résultat | string |
public static SetControls ( List |
||
controls | List |
|
Résultat | void |
public static StringToControls ( string str ) : List |
||
str | string | |
Résultat | List |
public static StringToKey ( string str ) : Keyboard.Key | ||
str | string | |
Résultat | Keyboard.Key |
public static StringToMouseButton ( string str ) : int | ||
str | string | |
Résultat | int |
public UpdateControl ( string name, int bind ) : List |
||
name | string | |
bind | int | |
Résultat | List |
public List |
||
Résultat | List |
public List |
||
Résultat | List |