Graphics::ScrollObject Class Reference
Describes a scrolling operation. More...
#include <Object.h>
Inheritance diagram for Graphics::ScrollObject:
Collaboration diagram for Graphics::ScrollObject:
Public Member Functions | |
| ScrollObject (const Rect &area, Point shift, bool wrapx, bool wrapy, Color fill) | |
| Renderer * | createRenderer (const Location &location) const override |
| Create a software renderer for this object. More... | |
| void | write (MetaWriter &meta) const override |
Public Member Functions inherited from Graphics::ObjectTemplate< Object::Kind::Scroll > | |
| Kind | kind () const override |
Public Member Functions inherited from Graphics::Object | |
| virtual Kind | kind () const =0 |
| bool | operator== (const Object &other) const |
| virtual String | getTypeStr () const |
Public Member Functions inherited from LinkedObjectTemplate< Object > | |
| Object * | getNext () const |
| bool | insertAfter (Object *object) |
| Iterator | begin () const |
| Iterator | end () const |
| Iterator | cbegin () const |
| Iterator | cend () const |
Public Member Functions inherited from LinkedObject | |
| virtual | ~LinkedObject () |
| virtual LinkedObject * | next () const |
| bool | insertAfter (LinkedObject *object) |
| bool | operator== (const LinkedObject &other) const |
| bool | operator!= (const LinkedObject &other) const |
Public Attributes | |
| Rect | area |
| Point | shift |
| bool | wrapx |
| bool | wrapy |
| Color | fill |
Additional Inherited Members | |
Public Types inherited from Graphics::Object | |
| enum | Kind { Kind::XX } |
| using | List = LinkedObjectListTemplate< Object > |
| using | OwnedList = OwnedLinkedObjectListTemplate< Object > |
Public Types inherited from LinkedObjectTemplate< Object > | |
| using | Iterator = IteratorTemplate< Object, Object *, Object & > |
| using | ConstIterator = IteratorTemplate< const Object, const Object *, const Object & > |
Detailed Description
Describes a scrolling operation.
Constructor & Destructor Documentation
◆ ScrollObject()
|
inline |
Member Function Documentation
◆ createRenderer()
Create a software renderer for this object.
- Parameters
-
location
- Return values
-
renderer Returned renderer object
Return nullptr if object cannot/should not be rendered
Implements Graphics::Object.
◆ write()
|
inlineoverridevirtual |
Implements Graphics::Object.
Member Data Documentation
◆ area
| Rect Graphics::ScrollObject::area |
◆ fill
| Color Graphics::ScrollObject::fill |
◆ shift
| Point Graphics::ScrollObject::shift |
◆ wrapx
| bool Graphics::ScrollObject::wrapx |
◆ wrapy
| bool Graphics::ScrollObject::wrapy |
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.8.17