This object creates an object that has two subobjects drawn on top of each other.
More...
|
| basic_StackedObjectProvider ()=default |
| Empty constructor. More...
|
|
| basic_StackedObjectProvider (A_ &&bottom, A_ &&top, const Geometry::Point &offset={0, 0}) |
|
| basic_StackedObjectProvider (A_ &bottom, A_ &top, const Geometry::Point &offset={0, 0}) |
| Filling constructor. More...
|
|
| basic_StackedObjectProvider (A_ *bottom, A_ *top, const Geometry::Point &offset={0, 0}) |
| Filling constructor, nullptr is allowed but not recommended. More...
|
|
| basic_StackedObjectProvider (basic_StackedObjectProvider &&other) |
|
| basic_StackedObjectProvider (const AssumeOwnershipTag &, A_ &bottom, A_ &top, const Geometry::Point &offset={0, 0}) |
| Filling constructor. More...
|
|
| basic_StackedObjectProvider (const AssumeOwnershipTag &, A_ *bottom, A_ *top, const Geometry::Point &offset={0, 0}) |
| Filling constructor, nullptr is allowed but not recommended. More...
|
|
| ~basic_StackedObjectProvider () |
|
basic_StackedObject< A_ > & | CreateAnimation (bool create=true) const override |
|
basic_StackedObject< A_ > & | CreateAnimation (Gorgon::Animation::ControllerBase &timer) const override |
|
RectangularAnimation & | CreateBottom () const override |
| Creates a bottom animation without controller. More...
|
|
RectangularAnimation & | CreateTop () const override |
| Creates a top animation without controller. More...
|
|
A_ * | GetBottom () const |
| Returns the bottom component. Could return nullptr. More...
|
|
Geometry::Point | GetOffset () const override |
| Returns the offset of the top image. More...
|
|
Geometry::Size | GetSize () const override |
|
A_ * | GetTop () const |
| Returns the top component. Could return nullptr. More...
|
|
virtual auto | MoveOutProvider () -> decltype(*this) override |
|
basic_StackedObjectProvider & | operator= (basic_StackedObjectProvider &&other) |
|
void | OwnProviders () |
| Assumes the ownership of the providers. More...
|
|
void | Prepare () |
| Prepares the providers. More...
|
|
void | SetBottom (A_ *value) |
| Sets the bottom provider, ownership semantics will not be changed. More...
|
|
void | SetOffset (const Geometry::Point &value) override |
| Sets the offset of the top image. More...
|
|
void | SetProviders (A_ &top, A_ &bottom) |
| Sets the providers in this object. More...
|
|
void | SetTop (A_ *value) |
| Sets the top provider, ownership semantics will not be changed. More...
|
|
template<class A_>
class Gorgon::Graphics::basic_StackedObjectProvider< A_ >
This object creates an object that has two subobjects drawn on top of each other.
Top object can have an offset.