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.