caches | This is a Widget and Texture cache that are used by Widget s.
|
event | This is the Event definitions for the Widget s and their associated actions.
|
primitives | This is a set of drawing primitives that Widget s can use to help offset some harder work
that would require a lot of code. This includes things like drawing a background, filling
a space, rendering text, and so on.
|
properties | Properties is the store that each Widget uses to define its behavior, using a HashMap to
store the properties. Each property is identified by a numeric (u32) key.
|
system_widgets | System-provided Widget library.
|
texture_store | This is a store used by Widget s for drawing against. Once the drawing is complete, the
Texture stored within is used for blitting to the screen.
|
widget | This is the Widget trait that all drawable Widget s use. Any special functionality should
be defined using interactions with properties. Widget s can decide whether or not to set
themselves in invalidated state after a property value changes, which indicates to the
top-level drawing loop whether or not a Widget needs to be redrawn.
|