Crate conrod_example_shared[−][src]
This crate is used for sharing a few items between the conrod examples.
The module contains:
pub struct DemoApp
as a demonstration of some state we want to change.pub fn gui
as a demonstration of all widgets, some of which mutate ourDemoApp
.pub struct Ids
- a set of allwidget::Id
s used in thegui
fn.
By sharing these items between these examples, we can test and ensure that the different events and drawing backends behave in the same manner.
Structs
DemoApp | A demonstration of some application state we want to control with a conrod GUI. |
Ids |
Constants
WIN_H | |
WIN_W |
Functions
gui | Instantiate a GUI demonstrating every widget available in conrod. |
theme | A set of reasonable stylistic defaults that works for the |