[][src]Enum sciter::types::SCITER_RT_OPTIONS

#[repr(C)]pub enum SCITER_RT_OPTIONS {
    SCITER_SMOOTH_SCROLL,
    SCITER_CONNECTION_TIMEOUT,
    SCITER_HTTPS_ERROR,
    SCITER_FONT_SMOOTHING,
    SCITER_TRANSPARENT_WINDOW,
    SCITER_SET_GPU_BLACKLIST,
    SCITER_SET_SCRIPT_RUNTIME_FEATURES,
    SCITER_SET_GFX_LAYER,
    SCITER_SET_DEBUG_MODE,
    SCITER_SET_UX_THEMING,
    SCITER_ALPHA_WINDOW,
    SCITER_SET_INIT_SCRIPT,
    SCITER_SET_MAIN_WINDOW,
    SCITER_SET_MAX_HTTP_DATA_LENGTH,
}

Various Sciter engine options (global or per-window).

Variants

SCITER_SMOOTH_SCROLL

value:TRUE - enable, value:FALSE - disable, enabled by default.

SCITER_CONNECTION_TIMEOUT

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

SCITER_HTTPS_ERROR

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

SCITER_FONT_SMOOTHING

value: 0 - system default, 1 - no smoothing, 2 - std smoothing, 3 - clear type.

SCITER_TRANSPARENT_WINDOW

Windows Aero support, value: 0 - normal drawing, 1 - window has transparent background after calls DwmExtendFrameIntoClientArea() or DwmEnableBlurBehindWindow().

SCITER_SET_GPU_BLACKLIST
👎 Deprecated since 4.0.1:

This option isn't working since Sciter 4.0.1.1.

global; value = LPCBYTE, json - GPU black list, see: gpu-blacklist.json resource. Note: is not used since Sciter 4.

SCITER_SET_SCRIPT_RUNTIME_FEATURES

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

SCITER_SET_GFX_LAYER

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

SCITER_SET_DEBUG_MODE

global or per-window; value - TRUE/FALSE

SCITER_SET_UX_THEMING

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.

SCITER_ALPHA_WINDOW

value - TRUE/FALSE - window uses per pixel alpha (e.g. WS_EX_LAYERED/UpdateLayeredWindow() window).

SCITER_SET_INIT_SCRIPT

global; value: UTF-8 encoded script source to be loaded into each view before any other script execution.

SCITER_SET_MAIN_WINDOW

per-window; value - TRUE/FALSE - window is main, will destroy all other dependent windows on close.

SCITER_SET_MAX_HTTP_DATA_LENGTH

global; value - max request length in megabytes (1024*1024 bytes).

Trait Implementations

impl Debug for SCITER_RT_OPTIONS[src]

impl PartialEq<SCITER_RT_OPTIONS> for SCITER_RT_OPTIONS[src]

impl PartialOrd<SCITER_RT_OPTIONS> for SCITER_RT_OPTIONS[src]

impl StructuralPartialEq for SCITER_RT_OPTIONS[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.