The 2 following codes do not display the same, 
at then location : bounds->topLeft.x+13, bounds->topLeft.y+13, 15, 15 there
is a Black and White bitmap.

First Code
  CurrForeColor =
WinSetForeColor(UIColorGetTableEntryIndex(UIObjectForeground));
  WinSetForeColor(ClockColor);

  PrevDrawOp = WinSetDrawMode (winErase);
  RctSetRectangle (&rP, bounds->topLeft.x+13, bounds->topLeft.y+13, 15, 15);
  WinPaintRectangle (&rP, 0);
  WinSetDrawMode (PrevDrawOp);

  WinSetForeColor(CurrForeColor);

Second code  
  CurrForeColor =
WinSetForeColor(UIColorGetTableEntryIndex(UIObjectForeground));
  WinSetForeColor(ClockColor);

  RctSetRectangle (&rP, bounds->topLeft.x+30, bounds->topLeft.y+13, 15, 15);
  WinDrawRectangle(&rP, 0);
  WinCopyRectangle(NULL, NULL, &rP, bounds->topLeft.x+13,
bounds->topLeft.y+13, winErase);
  WinEraseRectangle(&rP, 0);

  WinSetForeColor(CurrForeColor);


Is it normal or I'm wrong ? I read something about a bug in the 4.0 for
WinPaintPixel corrected in the 4.1 is it the same in this case.



Vincent

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to