libkdegames
KGameCanvasWidget Class Reference
#include <KGameCanvas>
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 | |
| virtual QPoint | canvasPosition () const |
| KGameCanvasWidget (QWidget *parent=NULL) | |
| int | mSecs () |
| void | setAnimationDelay (int d) |
| KGameCanvasWidget * | topLevelCanvas () |
| virtual | ~KGameCanvasWidget () |
Constructor & Destructor Documentation
| KGameCanvasWidget::KGameCanvasWidget | ( | QWidget * | parent = NULL |
) |
| KGameCanvasWidget::~KGameCanvasWidget | ( | ) | [virtual] |
Definition at line 111 of file kgamecanvas.cpp.
Member Function Documentation
| QPoint KGameCanvasWidget::canvasPosition | ( | ) | const [virtual] |
| 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.
| void KGameCanvasWidget::setAnimationDelay | ( | int | d | ) |
| KGameCanvasWidget * KGameCanvasWidget::topLevelCanvas | ( | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 4.1 API Reference