-
-
Notifications
You must be signed in to change notification settings - Fork 0
Exomia.CEF.Interaction
Interface to communicate with the c# backend.
public interface Exomia.CEF.Interaction.IJsUiActions
void
Trigger(Int32
key, Object[]
args)
[vue-ui] call this function to trigger actions bound to the key value.
-
key
- The key. -
args
- A variable-length parameters list containing arguments.
Interface for js user interface store.
public interface Exomia.CEF.Interaction.IJsUiStore
IDictionary
GetState(String
moduleName)
[vue-ui] call this function to retrieve a state of the given module by name.
-
moduleName
- The module name to get the state from
Interface for user interface action handling.
public interface Exomia.CEF.Interaction.IUiActionHandler
An ui action class. This class cannot be inherited.
public class Exomia.CEF.Interaction.UiActions
: IJsUiActions, IUiActionHandler, IDisposable
.ctor
UiActions()void
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged/managed resources.
void
Trigger(Int32
key, Object[]
args)
[vue-ui] call this function to trigger actions bound to the key value.
-
key
- The key. -
args
- A variable-length parameters list containing arguments.
An input wrapper. This class cannot be inherited.
public class Exomia.CEF.Interaction.UiInputWrapper
: IUiInputWrapper, IInputHandler
.ctor
UiInputWrapper(IBrowserHost
host)
Initializes a new instance of the class.
-
host
- The host.
void
RegisterInput(IInputDevice
device)
Registers the input described by device.
-
device
- The device.
void
RemoveFlag(Int32
flag)
[vue-ui] call this function to enable input forwarding, for a specific flag.
-
flag
- the flag to remove.
flags:
KEY_DOWN = 1,
KEY_UP = 2,
KEY_PRESS = 4,
KEY_EVENT = 8,
KEY_ALL = 15,
MOUSE_DOWN = 16,
MOUSE_UP = 32,
MOUSE_CLICK = 64,
MOUSE_MOVE = 128,
MOUSE_WHEEL = 256,
MOUSE_ALL = 496,
ALL = 511.
void
SetFlag(Int32
flag)
[vue-ui] call this function to disable input forwarding, for a specific flag.
-
flag
- the flag to set.
flags:
KEY_DOWN = 1,
KEY_UP = 2,
KEY_PRESS = 4,
KEY_EVENT = 8,
KEY_ALL = 15,
MOUSE_DOWN = 16,
MOUSE_UP = 32,
MOUSE_CLICK = 64,
MOUSE_MOVE = 128,
MOUSE_WHEEL = 256,
MOUSE_ALL = 496,
ALL = 511.
void
UnregisterInput(IInputDevice
device)
Unregister the input described by device.
-
device
- The device.