ApplicationUtil

Description

static class Tinman.Engine.Application.ApplicationUtil

Helper class for this namespace.

Public / Constants

Button​Count


public constant ButtonCount → (3:int32)

Total number of mouse buttons.

See also

MouseButton

Button​First


public constant ButtonFirst → (MouseButton.Left:MouseButton)

The first mouse button constant (inclusive).

See also

MouseButton

Button​Last


public constant ButtonLast → (MouseButton.Right:MouseButton)

The last mouse button constant (inclusive).

See also

MouseButton

Key​Count


public constant KeyCount → (98:int32)

Total number of keyboard keys.

See also

KeyboardKey

Key​First


public constant KeyFirst → (KeyboardKey.Alt:KeyboardKey)

The first keyboard key constant (inclusive).

See also

KeyboardKey

Key​Last


public constant KeyLast → (KeyboardKey.Tab:KeyboardKey)

The last keyboard key constant (inclusive).

See also

KeyboardKey

Public / Methods

Name​Of

2 overloads


[Pure]
public static method NameOf1 → (1)

key in : KeyboardKey

The keyboard key.

returns → string

The human-readable name.

Returns the human-readable name of the given keyboard key.


[Pure]
public static method NameOf2 → (1)

button in : MouseButton

The mouse button.

returns → string

The human-readable name.

Returns the human-readable name of the given mouse button.

To​Modifier

2 overloads


[Pure]
public static method ToModifier1 → (1)

button in : MouseButton

The mouse button.

returns → InputModifiers

The input modifier or InputModifiers.None.

Returns the input modifier for the given mouse button.


[Pure]
public static method ToModifier2 → (1)

key in : KeyboardKey

The keyboard key.

returns → InputModifiers

The input modifier or InputModifiers.None.

Returns the input modifier for the given keyboard key.

Public / Attributes

Clipboard


public static attribute Clipboard → (get,set)

value : string

The text content or null.

The text content of the system clipboard.

If the system clipboard cannot be accessed (for any reason), setting this property will have no effect and getting it will always return null.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IApplication>

[not-null]
The configurator object.

The configurator object for IApplication types.