logo
#[repr(C)]
pub enum SCITER_RT_OPTIONS {
Show 15 variants 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, SCITER_SET_PX_AS_DIP,
}
Expand description

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).

SCITER_SET_PX_AS_DIP

global or per-window; value 1 - 1px in CSS is treated as 1dip, value 0 - default behavior - 1px is a physical pixel.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.