How is glwindoworg supposed to work?
In the snippet below it just ignores repainting
3/4 of the control.

NB. =========================================================
require 'gl2'
coclass 'ptest'
coinsert 'jgl2'

F=: 0 : 0
pc f;
xywh 0 0 350 250;cc g isigraph rightmove bottommove;
pas 0 0;pcenter;
rem form end;
)

create=: 3 : 0
  wd F
  wd 'pshow;'
)

f_close=: 3 : 0
  wd'pclose'
  codestroy''
)

f_g_paint=: 3 : 0
  'W H'=. glqwh ''
  glclear''
  glwindoworg -:W,H  NB. also  - -:W,H
  gllines 10 10,10 100,100 100
)

''conew'ptest'



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to