libkdegames/libkdegamesprivate
#include <KGameCanvas>
Additional Inherited Members | |
Protected Attributes inherited from KGameCanvasAbstract | |
QList< KGameCanvasItem * > | m_animated_items |
QList< KGameCanvasItem * > | m_items |
Detailed Description
An item containing other items.
A KGameCanvasGroup is an KGameCanvasItem, but it is also a KGameCanvasAbstract, so you can add children items to it. Just an inner canvas, if you prefer.
- Deprecated:
- For new applications, use Qt's Graphics View framework or Qt Quick.
Definition at line 269 of file kgamecanvas.h.
Constructor & Destructor Documentation
KGameCanvasGroup::KGameCanvasGroup | ( | KGameCanvasAbstract * | canvas = NULL | ) |
Constructor.
Definition at line 520 of file kgamecanvas.cpp.
|
virtual |
Definition at line 527 of file kgamecanvas.cpp.
Member Function Documentation
|
virtual |
Animations step, updates the animation for the children.
Reimplemented from KGameCanvasItem.
Definition at line 577 of file kgamecanvas.cpp.
|
virtual |
- Returns
- Position of the abstract canvas relative to the toplevel canvas.
Implements KGameCanvasAbstract.
Definition at line 640 of file kgamecanvas.cpp.
|
virtual |
This paints all the children.
Implements KGameCanvasItem.
Definition at line 614 of file kgamecanvas.cpp.
|
virtual |
This returns the bouding rect of all children.
Implements KGameCanvasItem.
Definition at line 618 of file kgamecanvas.cpp.
|
virtual |
returns the toplevel canvas (or null if it is in an orphan tree)
Implements KGameCanvasAbstract.
Definition at line 635 of file kgamecanvas.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.