Przemek

I see this misbehavior in painting in GTWVG. This is weired because in my
applns I have experiencing this problem but in a small reduced sample I
cannot replicate.

SetColor( 'N/W' )
CLS

Does not clear the screen. Also DispBox() does not work as intended.

Any other background color show up the right behavior.
SetColor( 'W/B' )
CLS

I think a small typo but I have not been figure out at what place in
hbgtcore.c.

To see this behavior in action, 
1) compile harbour/contrib/hbgtwvg/tests/demowvg.prg
2) from the menu point to <Traditional> and then click <Next Gets>
3) look at screen. CLS has not worked.
4) Change these lines in WvtNextGets()
   /*-------------------*/
   clr := SetColor( 'N/W,N/GR*,,,N/W*' )
   CLS
   /*--------------------*/
   To
   /*-------------------*/
   clr := SetColor( 'N/B,N/GR*,,,N/W*' )
   CLS
   /*--------------------*/
   OR
   /*-------------------*/
   clr := SetColor( 'N/W,N/GR*,,,N/W*' )
   DispBox( 0, 0, maxrow(), maxcol(), '         ', 'N/W' )
   /*--------------------*/

Hope it helps.

Regards
Pritpal Bedi, INDIA-USA


Regards
Pritpal Bedi, INDIA-USA
-- 
View this message in context: 
http://www.nabble.com/Screen-Painting---SetColor%28-%27N-W%27-%29---Bug-tf4968262.html#a14232149
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to