AbstractWindow Class

class SafeRenderer::AbstractWindow

The AbstractWindow class provides an interface for constructing a window with a given size. More...

Header: #include <AbstractWindow>
Inherited By:


Public Functions

AbstractWindow(const SafeRenderer::QSafeSize &size)
virtual SafeRenderer::AbstractFrameBuffer *buffer() = 0
virtual void render(const SafeRenderer::Rect &dirtyArea) = 0
const SafeRenderer::QSafeSize size() const

Detailed Description

Member Function Documentation

AbstractWindow::AbstractWindow(const SafeRenderer::QSafeSize &size)

Constructs an abstract window with the given size. size is the size of the screen surface. This value is stored into the layout file data.

[pure virtual] SafeRenderer::AbstractFrameBuffer *AbstractWindow::buffer()

Returns the pointer to the AbstractFramebuffer object.

[pure virtual] void AbstractWindow::render(const SafeRenderer::Rect &dirtyArea)

Updates the screen in dirtyArea.

const SafeRenderer::QSafeSize AbstractWindow::size() const

Returns the size of the screen surface.

Available under certain Qt licenses.
Find out more.