CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

iOffscreenCanvasCallback Struct Reference
[2D]

When you create an offscreen canvas (CreateOffscreenCanvas()) then you can use this callback to get informed when the texture has been modified (FinishDraw() called) or a palette entry is modified. More...

#include <graph2d.h>

Inheritance diagram for iOffscreenCanvasCallback:

iBase List of all members.

Public Methods

virtual void FinishDraw (iGraphics2D *canvas)=0
 FinishDraw has been called.

virtual void SetRGB (iGraphics2D *canvas, int idx, int r, int g, int b)=0
 Palette entry has been modified.


Detailed Description

When you create an offscreen canvas (CreateOffscreenCanvas()) then you can use this callback to get informed when the texture has been modified (FinishDraw() called) or a palette entry is modified.

Definition at line 144 of file graph2d.h.


Member Function Documentation

virtual void iOffscreenCanvasCallback::FinishDraw iGraphics2D   canvas [pure virtual]
 

FinishDraw has been called.

virtual void iOffscreenCanvasCallback::SetRGB iGraphics2D   canvas,
int    idx,
int    r,
int    g,
int    b
[pure virtual]
 

Palette entry has been modified.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18