Hi,

Johannes Zellner <[EMAIL PROTECTED]> writes:

> after using SetColor() with arbitrary colors my DrawLine / FillTriangle
> operations still draw with black. How do I really set the color ?

SetColor is the correct way of doing it. You are obviously doing something
wrong here. The usual way to draw a red rectangle is:

  surface->SetDrawingFlags (surface, DSDRAW_NOFX);
  surface->SetColor (surface, 0xFF, 0x00, 0x00, 0xFF);
  surface->FillRectangle (surface, x, y, width, height);



Salut, Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to