- Your Widget Set For OpenGL
Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

ufo::URepaintManager Class Reference

The repaint manager is a very simple controller which keeps track of the union of all dirty regions. More...

#include <urepaintmanager.hpp>

Inheritance diagram for ufo::URepaintManager:

ufo::UObject ufo::UCollectable List of all members.

Public Member Functions

virtual void addDirtyRegion (UWidget *widget, int x, int y, int w, int h)
virtual void addDirtyWidget (UWidget *widget)
virtual URectangle getDirtyRegion () const
virtual bool isDirty () const
virtual void clearDirtyRegions ()
virtual void clearDirtyRegion (UWidget *widget, int x, int y, int w, int h)

Detailed Description

The repaint manager is a very simple controller which keeps track of the union of all dirty regions.

Author:
Johannes Schmidt


Member Function Documentation

virtual void ufo::URepaintManager::addDirtyRegion UWidget widget,
int  x,
int  y,
int  w,
int  h
[virtual]
 

Adds the specified subrectangle of the given widget to be dirty.

virtual void ufo::URepaintManager::addDirtyWidget UWidget widget  )  [virtual]
 

Marks the entire widget to be dirty.

virtual void ufo::URepaintManager::clearDirtyRegion UWidget widget,
int  x,
int  y,
int  w,
int  h
[virtual]
 

Cleares any marked regions.

virtual void ufo::URepaintManager::clearDirtyRegions  )  [virtual]
 

Cleares any marked regions.

virtual URectangle ufo::URepaintManager::getDirtyRegion  )  const [virtual]
 

Returns the unioned dirty region for the whole context.

virtual bool ufo::URepaintManager::isDirty  )  const [virtual]
 

Returns true when there are dirty regions.


The documentation for this class was generated from the following file:
The libUFO Project - written by Johannes Schmidt