Expand description
This is the caching object that stores a list of Widgets that the Pushrod engine manages.
Structs§
- Widget
Cache - This is the
WidgetCachestruct, which contains a list ofWidgets that are managed by the PushrodEngine.WidgetIDs are automatically generated by theWidgetCache, which automatically assigns theWidgetID at the time it’s added to the cache. Parent IDs must already exist, otherwise, an error is thrown at the time theWidgetis attempted to be added.WidgetIDs always start at 1. - Widget
Container - This is a container that stores information about a
Widgetthat will be drawn on the screen. It stores theWidgetobject, the actual point of origin inside theWindow(as aVec<i32>of X and Y points), the parent ID of thisWidget, if it is being added as a child.