pub enum Options {
SmoothScroll(bool),
FontSmoothing(u8),
TransparentWindow(bool),
AlphaWindow(bool),
DebugMode(bool),
ScriptFeatures(u8),
MainWindow(bool),
LogicalPixel(bool),
}
Expand description
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 this window, must be called before loading HTML.
ScriptFeatures(u8)
global or per-window; value: combination of SCRIPT_RUNTIME_FEATURES
flags.
MainWindow(bool)
Window is main, will destroy all other dependent windows on close, since 4.3.0.12
LogicalPixel(bool)
global or per-window; value: true
- 1px
in CSS is treated as 1dip
, otherwise 1px
is a physical pixel (by default).
since 4.4.5.0.
Trait Implementations
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
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more