crystalspace.jbind.interfaces.ivideo.graph2d
Interface iOffscreenCanvasCallback

All Superinterfaces:
iJPointer
All Known Implementing Classes:
csOffscreenCanvasCallback

public interface iOffscreenCanvasCallback
extends iJPointer

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.

Author:
Java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/devapi/structiOffscreenCanvasCallback.php

Method Summary
 void finishDraw(iGraphics2D canvas)
          FinishDraw has been called.
 void setRGB(iGraphics2D canvas, int idx, int r, int g, int b)
          Palette entry has been modified.
 

Method Detail

finishDraw

public void finishDraw(iGraphics2D canvas)
FinishDraw has been called.

Parameters:
canvas -

setRGB

public void setRGB(iGraphics2D canvas,
                   int idx,
                   int r,
                   int g,
                   int b)
Palette entry has been modified.

Parameters:
canvas -
idx -
r -
g -
b -