[][src]Module pushrod::render

render is the core rendering/event loop portion of Pushrod.

Modules

callbacks

This is the Callbacks mechanism for each Widget, providing a way to perform a function when an action is intercepted (ie. mouse enter, exit, move, etc.)

canvas_helper

This is the CanvasHelper trait that is used to help draw against a Canvas.

engine

This is the Engine that is used to dispatch events from the screen to a corresponding list of Widgets in a Window. This is the main event loop.

layout

This is a layout manager description module, describing rules for Layout managers to be used in the system, and having Widgets added to them.

layout_cache

This is a caching object that stores a container of Layout objects, managed by the Pushrod engine.

widget

This is the Widget and BaseWidget definitions for Widget objects to be defined by the pushrod project, and other crates that may define or create their own Widgets.

widget_cache

This is the caching object that stores a list of Widgets that the Pushrod engine manages.

widget_config

This is a configuration object that stores information about Widgets.

Constants

POINT_X

Quick reference in Points Vec for X position.

POINT_Y

Quick reference in Points Vec for Y position.

SIZE_HEIGHT

Quick reference in Size Vec for height.

SIZE_WIDTH

Quick reference in Size Vec for width.

Functions

make_points

Convenience method to create a Points type.

make_points_origin

Convenience method to create a Points type at origin coordinates (0, 0)

make_size

Convenience method to create a Size type.

Type Definitions

Points

This is a type that defines two points: X and Y coordinates.

Size

This is a type that defines two size: width and height.