[][src]Crate pushrod_render

pushrod-render is a core rendering library used by Pushrod.

For reference, see the rust-pushrod project at this link.

Dependencies

Pushrod uses the following dependencies:

This example is not tested
[dependencies]
sdl2 = "^0.32"

To use the crate in your project, add the following dependencies:

This example is not tested
[dependencies]
rust-pushrod-render = "*"

This will pull in the latest version.

Core Components

pushrod::render is the core rendering components, containing the widget config, and drawing loop logic.

Modules

render

The rendering logic library.

Macros

default_widget_properties

This macro is used by Widget implementations, which auto-injects getter code for the Widget's properties. Since all Widget implementations share these functions, and must implement them locally, this macro serves as a quick way to implement the same reused code automatically.