[][src]Enum sciter::window::Options

pub enum Options {
    SmoothScroll(bool),
    FontSmoothing(u8),
    TransparentWindow(bool),
    AlphaWindow(bool),
    DebugMode(bool),
    ScriptFeatures(u8),
}

Per-window sciter engine options.

Used by Window::set_options().

See also global options.

Variants

SmoothScroll(bool)

Enable smooth scrolling, enabled by default.

FontSmoothing(u8)

Font rendering, value: 0 - system default, 1 - no smoothing, 2 - standard smoothing, 3 - ClearType.

TransparentWindow(bool)

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

AlphaWindow(bool)

Transparent windows support. When enabled, window uses per pixel alpha (e.g. WS_EX_LAYERED window).

DebugMode(bool)

global or per-window; enables Sciter Inspector for all windows, must be called before loading HTML.

ScriptFeatures(u8)

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

Trait Implementations

impl Clone for Options[src]

impl Copy for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.