GUI_gl__ get opengl-window; connect redraw- and resize-
event
Input:
o_par parentBox
fDraw callback-function redraw-, resize-event
opts options; (HorSiz,VertSiz)
HorSiz,VertSiz: size in characters; default is automatic size.
negative values: size in pixels.
'e' = expand widget; default is fixed size.
Examples: "" or "-500,-500" or "10e,e"
"10e,e" horiz. size 10 chars, hor. and vert. expandable
Prototypes:
int fDraw (void *parent, void **data);
GUI_DATA_I1 =*(int*)data[1]=window-width
GUI_DATA_I2 =*(int*)data[2]=window-height
GUI_DATA_I1 =*(int*)data[1]=keystate GUI_Modif_*
GUI_gl__ get opengl-window; connect redraw- and resize-
event
Input:
o_par parentBox
fDraw callback-function redraw-, resize-event
opts options; (HorSiz,VertSiz)
HorSiz,VertSiz: size in characters; default is automatic size.
negative values: size in pixels.
'e' = expand widget; default is fixed size.
Examples: "" or "-500,-500" or "10e,e"
"10e,e" horiz. size 10 chars, hor. and vert. expandable
Prototypes:
int fDraw (void *parent, void **data);
GUI_DATA_I1 =*(int*)data[1]=window-width
GUI_DATA_I2 =*(int*)data[2]=window-height
GUI_DATA_I1 =*(int*)data[1]=keystate GUI_Modif_*