Crate kas_theme[][src]

Expand description

KAS theme support

This crate provides the Theme trait, MultiTheme adapter, color schemes, some supporting items, and the themes FlatTheme and ShadedTheme.

Custom themes may be built over this crate, optionally including custom draw routines (e.g. DrawShaded), provided that the shell implements support. Alternatively this crate may be skipped altogether, especially for a minimal shell with a custom fixed theme.

Re-exports

pub use kas;

Modules

Common implementation of kas::draw::SizeHandle

Structs

Provides standard theme colours

Event handling configuration

A theme with flat (unshaded) rendering

MultiThemestack_dst

Wrapper around mutliple themes, supporting run-time switching

Builder for MultiTheme

Font raster settings

A theme using simple shading to give apparent depth to elements

Enums

MaybeBoxedstack_dst

An optionally-owning (boxed) reference

Traits

Extension trait providing shaded drawing over DrawIface

A theme provides widget sizing and drawing implementations.

Requirements on theme config (with config feature)

ThemeDststack_dst

As Theme, but without associated types

Per-window storage for the theme

Type Definitions

Colors parameterised for graphics usage

Colors parameterised for reading and writing using sRGB

StackDststack_dst

Fixed-size object of Unsized type