![]() |
Gorgon Game Engine
|
This class is an instance of a component. More...
Public Member Functions | |
Component (const ComponentTemplate &temp) | |
const ComponentTemplate & | GetTemplate () const |
Returns the template, component should have a template at all times. More... | |
Public Attributes | |
bool | anchorotherside |
bool | anchtoparent |
Geometry::Size | innersize |
Geometry::Point | location |
int | parent |
Geometry::Rectangle | range |
bool | reversed |
Geometry::Size | size |
This class is an instance of a component.
It simply links the component to its template, stores calculated location, size, instances of graphics and possibly the text that will be rendered. Components are internal objects that are managed by ComponentStack.
Component | ( | const ComponentTemplate & | temp | ) |
const ComponentTemplate& GetTemplate | ( | ) | const |
Returns the template, component should have a template at all times.
bool anchorotherside |
bool anchtoparent |
Geometry::Size innersize |
Geometry::Point location |
int parent |
Geometry::Rectangle range |
bool reversed |
Geometry::Size size |