This repository has been archived by the owner on Aug 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Adrian L Lange edited this page Jul 3, 2018
·
17 revisions
This is the wiki for the LibContainer framework.
The framework is inteded to be distributed ONLY in an embedded fashion, and will complain when multiple instances of itself is present. See the embedding page for guidance.
The framework is comprised of the following parts:
- LibContainer - The core of the framework
- Parent - Parent object for bags/bank
- Bag - Bags associated with a Parent
- Slot - Slots associated with a Bag
- Category - Categories representing Slots
- Container - Containers containing Categories' Slots
In addition, there are a few utilities:
- Callback - Enabling callbacks in layouts
- Event - Easy event handling
- Item - Easy item data retrieval
The above parts and utilities are mixins, so there is a chain of dependencies between them.
This separation makes it easier to maintain, and allows significant manipulation power in layouts.
There's also a host of bundled Widgets, which can be displayed on Containers.
See example layout implementations for a quick tutorial to get started.