Crate winio_primitive

Crate winio_primitive 

Source
Expand description

Primitive types for winio.

Structs§

BrushPen
Pen with specified brush.
DrawingFont
Font for drawing.
DrawingFontBuilder
Builder of DrawingFont.
GradientStop
A transition point in a gradient.
LinearGradientBrush
Linear gradient brush.
LogicalSpace
The logical space.
MessageBoxButton
The pre-defined message box buttons.
Monitor
Represents the geometry of a monitor.
RadialGradientBrush
Radial gradient brush.
RelativeSpace
The relative space, which maps [0.0, 1.0] to the logical space.
SolidColorBrush
Brush with single solid color.

Enums§

ColorTheme
Color theme of application.
HAlign
Horizontal alignment.
MessageBoxResponse
Response of message box.
MessageBoxStyle
Style of message box.
MouseButton
Represents the mouse button.
Orient
Orientation.
TickPosition
Tick position choices.
VAlign
Vertical alignment.

Traits§

Enable
Trait for a widget to enable or disable.
Failable
A trait for types that can fail with an associated error type.
Layoutable
Trait for a layoutable widget.
TextWidget
Common trait for widgets that have text.
ToolTip
Common trait for widgets that have a tooltip.
Visible
Trait for a widget to set visibility.

Type Aliases§

Angle
Angle of vector.
Color
Color type.
Margin
Logical margin.
Point
Logical point.
Rect
Logical rectangle.
RectBox
Logical rectangle box.
RelativePoint
Relative point.
RelativeSize
Relative size.
RelativeToLogical
Transform from the relative space to the logical space.
RelativeVector
Relative vector.
Rotation
Logical rotation.
Size
Logical size.
Transform
Logical transform.
Vector
Logical vector.