The data object. More...
Public Attributes | |
| Rectangle< int > | bounds |
| The bounds relative to its parent component. More... | |
| std::vector< Data > | children |
| The list of child components. More... | |
| String | name |
| The name of the component. More... | |
The data object.
This will be created from the std::initializer_list tree that you've pasted from the clipboard.
| Rectangle<int> bounds |
The bounds relative to its parent component.
| std::vector<Data> children |
The list of child components.
This sets up a tree hierarchy that must be matched by your main Component's child component hierarchy.
| String name |
The name of the component.
This must be the same String that was passed into Component::setName().