This is the caching object that stores a list of Widget
s that the Pushrod engine manages.
WidgetCache | This is the WidgetCache struct, which contains a list of Widget s that are managed by the Pushrod
Engine . Widget IDs are automatically generated by the WidgetCache , which automatically
assigns the Widget ID at the time it's added to the cache. Parent IDs must already exist,
otherwise, an error is thrown at the time the Widget is attempted to be added. Widget IDs
always start at 1.
|
WidgetContainer | This is a container that stores information about a Widget that will be drawn on the screen.
It stores the Widget object, the actual point of origin inside the Window (as a Vec<i32>
of X and Y points), the parent ID of this Widget , if it is being added as a child.
|