| public static |
adjustContentZoom |
Adjusts the runtime content zoom by wheel steps. |
| public static |
adjustFontZoom |
Backward-compatible alias for adjustContentZoom. |
| public static |
appearanceMode |
Returns the configured global appearance mode. |
| public static |
applyStyleapplyStyle(widget as Widget) as Void |
Applies layout-related KSS metrics to a widget. |
| public static |
applyStyleTreeapplyStyleTree(widget as Widget) as Void |
Applies KSS layout metrics recursively. |
| public static |
effectiveAppearanceMode |
Resolves system into light or dark. |
| public static |
invalidateStyles invalidateStyles() as Void
|
Invalidates computed styles after shared session preferences change. |
| public static |
resetContentZoom |
Resets the runtime content zoom to the default factor. |
| public static |
resetFontZoom |
Backward-compatible alias for resetContentZoom. |
| public static |
resolveStyle |
Resolves the current style for a widget. |
| public static |
scaleAdaptiveFont |
Scales a painter font with the same content zoom factor as a KSS font. |
| public static |
scaleAdaptiveFontSizescaleAdaptiveFontSize(value as Int) as Int |
Scales a numeric font size with the same factors as scaleAdaptiveFont. |
| public static |
scaleFont |
Scales an explicit painter font with the current content zoom. |
| public static |
scaleMetric |
Scales a floating-point metric with the current content zoom. |
| public static |
scaleMetricscaleMetric(value as Int) as Int |
Scales an integer metric with the current content zoom. |
| public static |
setAppearanceModesetAppearanceMode(mode as String) as Void |
Sets the global appearance mode used by windows that keep the default. |
| public static |
setTheme |
Registers a loaded KSS theme. |
| public static |
setThemeFromFile |
Loads a KSS file and installs it for the requested mode or theme name. |
| public static |
theme |
Returns the active theme for the requested mode or custom theme name. |