libkdegames
KGameCanvasWidget Class Reference
#include <kgamecanvas.h>
Inheritance diagram for KGameCanvasWidget:

Detailed Description
Container widget.A KGameCanvasWidget is a widget that can contain many KGameCanvasItem (images, rectangles, lines, etc). Portions of the widget are automatically redrawn to update the changes made to the items.
Definition at line 534 of file kgamecanvas.h.
Public Member Functions | |
| KGameCanvasWidget (QWidget *parent=NULL) | |
| virtual | ~KGameCanvasWidget () |
| void | setAnimationDelay (int d) |
| int | mSecs () |
| KGameCanvasWidget * | topLevelCanvas () |
| virtual QPoint | canvasPosition () const |
Friends | |
| class | KGameCanvasItem |
| class | AnimationNotifier |
Constructor & Destructor Documentation
| KGameCanvasWidget::KGameCanvasWidget | ( | QWidget * | parent = NULL |
) |
| KGameCanvasWidget::~KGameCanvasWidget | ( | ) | [virtual] |
Definition at line 111 of file kgamecanvas.cpp.
Member Function Documentation
| void KGameCanvasWidget::setAnimationDelay | ( | int | d | ) |
| int KGameCanvasWidget::mSecs | ( | ) |
Return the number of millisecons from the creation of the canvas (see also KGameCanvasItem::advance).
Definition at line 219 of file kgamecanvas.cpp.
| KGameCanvasWidget * KGameCanvasWidget::topLevelCanvas | ( | ) | [virtual] |
| QPoint KGameCanvasWidget::canvasPosition | ( | ) | const [virtual] |
Friends And Related Function Documentation
friend class KGameCanvasItem [friend] |
friend class AnimationNotifier [friend] |
Definition at line 539 of file kgamecanvas.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference