Enum sciter::types::SCITER_RT_OPTIONS
source · [−]#[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
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
sourceimpl Debug for SCITER_RT_OPTIONS
impl Debug for SCITER_RT_OPTIONS
sourceimpl PartialOrd<SCITER_RT_OPTIONS> for SCITER_RT_OPTIONS
impl PartialOrd<SCITER_RT_OPTIONS> for SCITER_RT_OPTIONS
sourcefn partial_cmp(&self, other: &SCITER_RT_OPTIONS) -> Option<Ordering>
fn partial_cmp(&self, other: &SCITER_RT_OPTIONS) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl StructuralPartialEq for SCITER_RT_OPTIONS
Auto Trait Implementations
impl RefUnwindSafe for SCITER_RT_OPTIONS
impl Send for SCITER_RT_OPTIONS
impl Sync for SCITER_RT_OPTIONS
impl Unpin for SCITER_RT_OPTIONS
impl UnwindSafe for SCITER_RT_OPTIONS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more