Enum sciter::RuntimeOptions [] [src]

pub enum RuntimeOptions<'a> {
    ConnectionTimeout(u32),
    OnHttpsError(u8),
    GpuBlacklist(&'a str),
    ScriptFeatures(u8),
    GfxLayer(GFX_LAYER),
    DebugMode(bool),
    UxTheming(bool),
}

Various global sciter engine options.

Variants

global; value: milliseconds, connection timeout of http client.

global; value: 0 - drop connection, 1 - use builtin dialog, 2 - accept connection silently.

global; value = LPCBYTE, json - GPU black list, see: gpu-blacklist.json resource.

global or per-window; value - combination of SCRIPT_RUNTIME_FEATURES flags.

global (must be called before any window creation); value - GFX_LAYER.

global or per-window; value - TRUE/FALSE

global; value - BOOL, TRUE - the engine will use "unisex" theme that is common for all platforms. That UX theme is not using OS primitives for rendering input elements. Use it if you want exactly the same (modulo fonts) look-n-feel on all platforms.

Trait Implementations

Auto Trait Implementations

impl<'a> Send for RuntimeOptions<'a>

impl<'a> Sync for RuntimeOptions<'a>